I got it, thanx. Is there a way to change the color of the text which will be drawn over the colored area. For example, I sometimes need white fonts, sometimes black.
I got it, thanx. Is there a way to change the color of the text which will be drawn over the colored area. For example, I sometimes need white fonts, sometimes black.
Last edited by Djony; 18th December 2006 at 13:37. Reason: updated contents
Is there really no way to change the colors of text which paint() method of my delegate's class draws over the colored area? I am using drawText() method of painter.
Ah, sorry, didn't notice your question
You can control the colour using QPainter::setPen().
Bookmarks