Ok,
I don't have read all, but why do you want to do all the nasty work with the size thing by your own? Let Qt do the dirty work for you!
Since - I have said this this day already in an other post - QPixmap is a QPaintDevice use it! What I mean is:
- store the given pixmap (gpm)
- paint the gpm with transformations on a new pixmap (npm) you create
- set this pixmap (npm) to the label
By doing so, you don't have to take care about all the layout stuff...
Lykurg
Bookmarks