Coloring the QString
-
@QString text("<FONT COLOR=red>%1</FONT>");
text.arg(strMat);
QDomNode text_node
text_node.setNodeValue(text);@I have the above code . what i want is text color shall be red and that text value shall be decided during the run time .
-
My requirement is to coloring the QString then setting that color text in QDomNode .
that is the thing i want to do in the above code .
But i am not able to know why its not working .