This adds a `addDockWidgetToContainer()` method to `CDockManager`, which allows a dock widget to be registered with the dock manager, and added to a specific container, even if that container doesn't currently have any `DockAreaWidget`s.
This is pretty much just a clone of `addDockWidget()`, but with the ability to specify a container widget instead of a dock area.
This allows Qt Advanced Docking system to be compiled with the QT_NO_KEYWORDS definition.
This can help avoid conflicts with other dependancies for a project.
Co-authored-by: Walter Bormans <walter.bormans@paradoxcat.com>
Add the ability to programmatically update splitter sizes. The user must
specify the dock area that is contained in a splitter and a list of
sizes. The list of sizes will be passed to the splitter that immediately
contains the specified dock area. If the dock area is not part of a
splitter the method will have no effect.
Co-authored-by: Christian Seiler <c.seiler@luxflux.de>
Added FloatingContainerForc*TitleBar to switch between native and custom titlebar.
Co-authored-by: SleepProgger <SleepProgger@users.noreply.github.com>
Updated the setting of central widget with option to set where the possible old central widget will be placed. Fixed option of "unsetting" central widget by setting it to nullptr.
Adde option to set a dock widget as central widget. It influences resizing behavior of the splitters. The central widget will be stretched with the main window and remaing dock widgets and threir respective areas will be resized only vertically if docked left or right and horizontaly if docked top or bottom
* Update Python bindings to reflect changes in 8443414
* [Python] Fix no such signal error for signals with a reference to an object in ads namespace
* [Python] Update examples
This allows to subscribe to events of the newly created window.
A common use case is to show a message box if a dock container with many modified documents in it is closed. This allows for the user to decide whether he wants to save / discard all the changes or cancel the closing of the window.