PDA

View Full Version : DockWidgetArea geometry or DockWidget positions.



harregui
2nd March 2011, 13:01
Hi all,
I'd like to know where my QDockWidgets are located inside the QMainWindow, and their relative position in the DockWidgetArea.

For that, I'm storing a list DockWidget geometries, which is updated every time a change occurs. And I think I'll have to calculate their relations according to that.

Is there an easier way to know the geometry/layout of each DockWidgetArea at any moment?

Thank you in advance!

harregui
4th March 2011, 10:48
Ooops!

Qt::DockWidgetArea QMainWindow::dockWidgetArea ( QDockWidget * dockwidget )