now my label was in fullsize
label->showFullScreen();
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
{
if(event->button()==Qt::LeftButton || Qt::RightButton)
{
label->showMaximized();
label->activateWindow();
label->update();
}
}
void Widget::mousePressEvent(QMouseEvent *event)
{
if(event->button()==Qt::LeftButton || Qt::RightButton)
{
label->showMaximized();
label->activateWindow();
label->update();
}
}
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
Bookmarks