How to GET a QDockWidget position ?



  • All is in title !

    in a GUI Application, I want to get a QDockWidget current area in order to restore its state when running again my application.
    I can SET QDockWidget area with something like
    @self.addDockWidget(Qt.DockWidgetArea(8), self.MyDockWidget)@
    but i cannot find a way to GET its area (no method @MyDockWidget.dockWidgetArea()@)
    Thanks for your answer.



  • [solved]
    I answer to myself :

    the method dockWidgetArea() is in QMainWindow class :

    @QMainWindow::dockWidgetArea ( QDockWidget * dockwidget )@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.