Limiting Docking to specific locations/areas #790
Unanswered
david-k-gibbs-4499
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This might just be a PySide6 binding thing, but can somebody tell me if it is possible to limit docking of CDockWidgets to specific ports, i.e., AutoHide- and DockWidgetAreas?
I am fully aware that the logic currently implemented is the other way round, namely limiting the ports on the "parent" widget (i.e., the widget that is being docked to), but imagine the following:
I want to create a GUI using the Dock-in-dock concept, where specific widgets are only supposed to be located at a specific position when docked, but also floatable by the user. The user can float the widget, but when it is docked, it should only be possible at one position, e.g., the LeftAutoHideArea. Now when I want this to also happen with a different widget, and only the LeftAutoHideArea can be docked to, I cannot put it at the RightAutoHideArea.
I am sure this could be circumvented by using normal widgets (meaning not CDock...), but I really like the AutoHideWidgets.
Beta Was this translation helpful? Give feedback.
All reactions