would this make sense? I get a recursion here(resizeEvent body)
QSize oldSize
= event
->oldSize
();
QSize newSize
= event
->size
();
if(oldSize!=newSize)
{
resize(oldSize.width(),newSize.height());
event->accept();
}
event->ignore();
QSize oldSize = event->oldSize();
QSize newSize = event->size();
if(oldSize!=newSize)
{
resize(oldSize.width(),newSize.height());
event->accept();
}
event->ignore();
To copy to clipboard, switch view to plain text mode
I am also looking for a signal to detect maximization. Is there any signal connected with this action? Should I overide the "showMaximixed()" slot in my mainwindow?
How to detect the maximize action?
THANK YOU
Bookmarks