I have a Widget on which i draw some text and some objects.
now when i click zoom. i am increasing the scale factor of the widget to certain value.
My requirement is that when i zoom the text should be of the same size while the objects should be scaled to the corresponding zoom factor.
But the text also gets scaled.
how do i restrict the size of the text drawn to be of the same size for different scale factors while increasing the size of other objects drawn on the widget to corresponding scale factors?
I Use paintEvent to Draw all these objects.