2011-05-01 2 views

답변

8
// Call this function whenever you want to change the label's pixmap 
void SetPixmapLabel(QLabel * myLabel, const QPixmap & pixmap) 
{ 
    myLabel->setPixmap(pixmap); 
    myLabel->setFixedSize(pixmap.size()); 
} 
관련 문제