yxmaomao
20th June 2008, 07:54
I am using Qt4.3 on Windows XP
my question as below:
QLinearGradient linearGrad(startPoint,endPoint);
linearGrad.setColorAt(0,QColor(12,23,24));
linearGrad.setColorAt(1,QColor(122,233,224));
Now if I want to get the QColor of one specified position which is between startPoint and endPoint.
what should I do?
Thanks in advance!
my question as below:
QLinearGradient linearGrad(startPoint,endPoint);
linearGrad.setColorAt(0,QColor(12,23,24));
linearGrad.setColorAt(1,QColor(122,233,224));
Now if I want to get the QColor of one specified position which is between startPoint and endPoint.
what should I do?
Thanks in advance!