Hello everbody,
anyone please suggest me a way top set the color for the text in QMessageBox
Printable View
Hello everbody,
anyone please suggest me a way top set the color for the text in QMessageBox
Have you tried setting the text using an HTML fragment containing the font element?
Hi vinkakarun.
You can try this:
Code:
"<P>EXAMPLE THE TEXT IN <FONT COLOR='#800000'>RED</FONT> AND <FONT COLOR='#000080'>BLUE</FONT></P>"),QMessageBox::Close);
Enjoy :)