Hello everbody,
anyone please suggest me a way top set the color for the text in QMessageBox
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:
Qt Code:
"<P>EXAMPLE THE TEXT IN <FONT COLOR='#800000'>RED</FONT> AND <FONT COLOR='#000080'>BLUE</FONT></P>"),QMessageBox::Close);To copy to clipboard, switch view to plain text mode
Enjoy
Bookmarks