QLabel->setPixmap scalable
General and Desktop
2
Posts
2
Posters
1.6k
Views
1
Watching
-
The function scaled() should help you:
@
MyLabel->setPixmap(QPixmap(":/logo.jpg").scaled(...));
@The parameters of the function scaled() can be found here:
http://qt-project.org/doc/qt-4.8/qpixmap.html#scaled