//Label for image
QLabel * oLabelImageCenter = new QLabel;
oLabelImageCenter->setBackgroundRole(QPalette::Base);
oLabelImageCenter->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
oLabelImageCenter->setScaledContents(true);
oLabelImageCenter->setFixedSize(200, 160);
thanks, just what I needed
ReplyDelete