Reputation:
How can I notify a Qt Window when its visibility status has changed?
Example Use Case:
I want to invoke a function when Window A changes from (hide) to (show).
Upvotes: 0
Views: 266
Reputation: 43662
Connect to the
void visibilityChanged(QWindow::Visibility visibility)
signal as stated in the documentation to be notified of a QWindow visibility status change.
Upvotes: 2