In QWindow
there is a signal windowStateChanged(Qt::WindowState)
.
I'm looking for similar signal in QMainWindow
. Is it available?
I need it to notify toolbar about fullscreen change, as I have a checkable toolbar button which changes window to fullscreen when user clicks it. However when user changes to fullscreen bypassing the button, it shows invalid state.