Hi,
in my QMainWindow-class I call showMaximized(), which works if I comment out following line:Qt Code:
To copy to clipboard, switch view to plain text mode
img is a Label in an QWidget-based class, which builds a page in a QStackedWidget, which is set to central widget in the mainclass. When the image from the resource is set, the windows reduced to the preferred size of the image-holding-widget.
What's wrong with setPixmap, that it destroys my showMaximized()?
Thanks,
Lykurg
Note: If the application appears it seems that it starts in full screen, but then immediately shirks.





Reply With Quote
Bookmarks