Try this (it's from an old thread on Qt Forum):by the way i've solved, i've found an old thread here in the forum.
A good solution is
bool MonitorUI::event(QEvent * e )
{
if (e->type()==QEvent::ShowMinimized )
{
hide();
return true;
}
else
return QMainWindow::event(e);
}
thanks Angelo
Bookmarks