Hello every body...
That's my 2 rd thread on this forum.
I have a pretty newbie question, how to paint with QLinearGradient on QLabel?
I have the code, but I don't know how to paint on label_3...
gradient.setColorAt(0.0,Qt::white);
gradient.setColorAt(0.1,Qt::black);
gradient.setColorAt(1.0,Qt::green);
gradient.start();
QLinearGradient gradient(50,100,300,350);
gradient.setColorAt(0.0,Qt::white);
gradient.setColorAt(0.1,Qt::black);
gradient.setColorAt(1.0,Qt::green);
gradient.start();
To copy to clipboard, switch view to plain text mode
Should I set parent, or child or something like that ? ? ?
sorry for newbie questions.
Thanks.
Bookmarks