Quote Originally Posted by yartov View Post
I have to adjust a Font size, when the user resized Widget where I draw text in a given rectangle.
Can somebody to give me a hint or point me to the right example?
You can use QPainter::setWindow() and QPainter::setViewport() to modify the "scale" of the painter itself. Then you can use the same font size regardless of the real widget size, because you'll be drawing in logical and not physical coordinates.