I use the QLabel::setPixmap to present a picture.
My question is :
how to stretch (zoom in or zoom out) the picture automatically (or simply) to accommodate the size of QLabel ?
thanks!
I use the QLabel::setPixmap to present a picture.
My question is :
how to stretch (zoom in or zoom out) the picture automatically (or simply) to accommodate the size of QLabel ?
thanks!
QLabel::setScaledContents(bool scaled);
really a quick answer, thanks!.
I'll try it.
Bookmarks