Hi I would draw text over my QWidget.
So I though to use
The problem is that I would draw big text and such routine doesn't provide such functionality.
I also would choose the color of the text.
How can I do?
Best Regards
Printable View
How about using QPainter::setFont before the drawText :confused:
can also use transformation functions like QPainter::scale().
In your paintEvent(QPaintEvent* event) fct, you could use:
Code:
font.setPointSize ( 18 ); //font.setWeight(QFont::DemiBold); painter.setFont(font); painter.drawText(....);