Hi,
I want to put some text on my UI, I am drawing the text in paint event of a widget using painter..
Here is the sample code, which shows how I am drawing the text..
QWidget::paintEvent(painter);
QPainter paint(this);
paint.drawText(QPoint(10,30),"Duplex");
but, the text color is looks like the default theme color, how to set the application font color to the text in paint event..
Thanks