qt - How to detect when a QDockWidget is moved out of a QMainWindow? -


there signal allows user know qdockwidget has been moved inside qmainwindow :

void docklocationchanged(qt::dockwidgetarea area) 

the problem signal not fired when qdockwidget moved out of qmainwindow (either dragging or double-clicking dockwidget's title bar).

is there way detect event, without reimplementing moveevent()?

there floating property purpose, , toplevelchanged signal.


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -

javascript - Why Selenium can't find an element that is graphically visible -