Make it fullscreen or the only application using the X server.
Make it fullscreen or the only application using the X server.
try this.
first actived current widget
then
overload the event function
Qt Code:
{ { { this->hide(); } } }To copy to clipboard, switch view to plain text mode
Last edited by wysota; 18th September 2010 at 07:36.
maybe:
void QWidget::leaveEvent(QEvent * event)
{
close();
}
Bookmarks