Use for main app win next events
QEvent::WindowActivate - Window was activated.
QEvent::WindowDeactivate - Window was deactivated.