Hi . my code is
Qt Code:
  1. back.load(":/images/back.png");
  2. label = new QLabel(this);
  3. label->setGeometry(0,0,142,192);
  4.  
  5. label->setPixmap(back);
  6. setStyleSheet("background-color:red"); // so far so good
  7. // but i want to change size pixmap after load (for example onclick event)
  8. label->pixmap()->scaled(QSize(100, 297));
  9. label->repaint();
  10. // noting change size with or another
To copy to clipboard, switch view to plain text mode 

I wantto change pixmap width after loading in label , because I use two pixmap for one label. I want to the pixmap of label inside to change , Whichever it can. I mean , what's inside pixmap that moment
in other words, I want to change size which pixmap is present in the label, without knowing what pixmap is...