Hello! So the hide event can be spontaneous or not. I need this information on X11.
Hello! So the hide event can be spontaneous or not. I need this information on X11.
The event being spontaneous or not has nothing to do with focus. You can call QWidget::hasFocus() or connect to the QApplication::focusChanged() signal to determine the focus.
Bookmarks