now my label was in fullsize
Qt Code:
  1. label->showFullScreen();
To copy to clipboard, switch view to plain text mode 

while at runtime when am click mouse either left or right button the label should maximized,my code below
Qt Code:
  1. void Widget::mousePressEvent(QMouseEvent *event)
  2. {
  3. if(event->button()==Qt::LeftButton || Qt::RightButton)
  4. {
  5. label->showMaximized();
  6. label->activateWindow();
  7. label->update();
  8.  
  9. }
  10. }
To copy to clipboard, switch view to plain text mode 
this mousepressevent code not working..what am doing wrong?? please give me suggestion for this
Thanks in advance