Hi there,
the small imageViewer i write has two big problems: i can't find out the size of the label, so i cant resize it. And i don't know wo to find out what the new size is when the application gets resized.
A normal QLabel::size() doesn't report what i need. ATM, i have a 2000px*1500px image loaded in an QLabel, and setto avoid that the label automaticaly adjusts its size so display the whole image. I have to places, where i use QLabels to display images, one is the overview page, where i have 5 QLabels in a QStackedLayout, and one in the imageViewer itself. Both are added to a Layout.Qt Code:
To copy to clipboard, switch view to plain text mode
Any hints?
C167![]()
Bookmarks