Reputation:
How would you find the current Qt.DockWidgetArea
of a QDockWidget
? I would like to be able to hide QDockWidget
's depending on their position respect the QMainWindow.centralWidget()
Upvotes: 2
Views: 1099
Reputation: 4510
Calling .dockWidgetArea(<QDockWidget>)
from your QMainWindow
should give you what you need.
(docs)
Upvotes: 4