[Qt-interest] Undocking QDockWidgets

Austin Smith biggins2 at gmail.com
Thu May 14 23:26:44 CEST 2009


QDockWidget has a signal DockAreaChanged, but that appears to only emit a
signal when the widget is docked into a new location, not when you undock it
and let it float.  Is there any way to emit a signal when a user undocks a
QDockWidget so that it's floating undocked?

My only other idea is to do an ugly test every time a mouse release event
occurs and query isFloating() and go from there.  Is there any cleaner way
to do it?

Thanks,
Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090514/f8294ada/attachment.html 


More information about the Qt-interest-old mailing list