Qt 6.11 is out! See what's new in the release
blog
Setting default color for brush
General and Desktop
17
Posts
2
Posters
6.8k
Views
1
Watching
-
use the 2 QPainter methods i've posted.
and as i said, the code you've posted isn't clear to me, so i can't help you with the information you have posted so far.
-
hmm...okay...so like I have to choose the white color. How to use the setpen method?
what's the exact code for that...
(sorry for asking the exact thing...usually i would have worked it out, but i have to show this in half an hour...so, i think u can understand the desperation) :P -
@
painter; //your QPainter instancepainter->setPen( QColor(Qt::white) );
painter->setBrush( QColor(Qt::white) );
@good luck!
-
post the complete code please of the affected class/file.
-
good to hear.