I'm looking for a way to setWindowOpacity only when a dock widget is undocked and unset when it's docked. Is there an event or emit that gets called when a user docks or undocks a QDockWidget?
Thanks.
I'm looking for a way to setWindowOpacity only when a dock widget is undocked and unset when it's docked. Is there an event or emit that gets called when a user docks or undocks a QDockWidget?
Thanks.
QDockWidget emits this signal:Originally Posted by bitChanger
Qt Code:
void topLevelChanged ( bool topLevel )To copy to clipboard, switch view to plain text mode
when it is floated/docked. Check the docs on QDockWindow for more details.
bitChanger (11th April 2006)
That did it!
Thank you so much!
Bookmarks