Syarif Fakhri
a2e9c1aa9c
Add config flag for enabling the overlay dock area title
...
Changed the config name from DefaultDockContainerConfig->DefaultAutoHideConfig
2022-09-08 16:58:40 +08:00
Syarif Fakhri
0087a1b360
Add left right styling to the dock widget side tab
2022-09-08 11:30:56 +08:00
Syarif Fakhri
8bfb98ea20
Remove auto hide feature being set by default. Add config for the default auto hide feature.
2022-09-08 11:23:45 +08:00
Syarif Fakhri
fde133c25e
Fix a bug where overlay widgets from another container widget
...
would not be correctly transferred into the container widget that it's
dragged into.
2022-09-06 17:42:26 +08:00
Syarif Fakhri
6e35a9e7a7
- Add an example folder for auto hide functionality
...
Note: this does not include the py file, To be added in a different
commit
- Added a better API to programatically add the overlay areas in the
CDockManager
2022-09-06 15:35:18 +08:00
Syarif Fakhri
3e9dc7f4d6
Add initial functionality for Auto hide
...
- Add left and right side tab widgets
- Add overlay dock and overlay dock widget behavior
2022-09-06 13:30:26 +08:00
Ben Hetherington
3c4af9c6af
Add method to add dock widget to dock container ( #398 )
...
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.
2022-02-06 08:21:43 +01:00
Jean Porcherot
6b3027401d
Fix issue #380 and add example
2021-12-09 10:11:05 +01:00
anoy
21badd592e
add QFlag operators ( #376 )
2021-11-26 19:09:09 +01:00
Rodrigo Oliva
87b0596ebc
Add feature to close tabs with the middle mouse button. ( #360 )
...
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
2021-10-11 20:33:56 +02:00
Uwe Kindler
8d1465a81f
Added initial support for setting focus highlighting without uisng setFocus
2021-07-25 18:12:27 +02:00
Uwe Kindler
ffa0105d3e
Fixed emission perspectiveListChanged signal after loading of perspective list and added perspectiveListLoaded signal
2021-04-13 07:05:17 +02:00
Walter Bormans
e66ef604a7
Removes reliance on special Qt keywords. ( #295 )
...
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>
2021-01-15 09:08:27 +01:00
Christian Seiler
0e3c3bab45
DockManager: add the ability to programmatically update splitter sizes ( #266 )
...
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>
2020-10-23 20:59:50 +02:00
Uwe Kindler
c370875128
Properly implemented save and restore with central widget
2020-09-21 10:51:02 +02:00
Uwe Kindler
f645fe725a
Added dockWidgetAdded signal to CDockManager
2020-09-18 08:25:47 +02:00
Uwe Kindler
fdedd7d92a
Added focusedDockWidget() function to DockManager
2020-09-07 08:17:07 +02:00
Uwe Kindler
059a055483
Renamed FloatingContainerForceCustomTitleBar to
...
FloatingWidgetForceQWidgetTitleBar
2020-08-31 09:48:32 +02:00
helywin
533d174abc
Finished implementing maximize for linux.
...
Added FloatingContainerForc*TitleBar to switch between native and custom titlebar.
Co-authored-by: SleepProgger <SleepProgger@users.noreply.github.com>
2020-08-29 05:03:21 +02:00
Uwe Kindler
835a532e75
Corrected constness of some functions, changed signatur of setCentralWidget function
2020-08-24 10:22:12 +02:00
hulswit
14c29f695c
Central widget update
...
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.
2020-08-21 13:30:59 +02:00
hulswit
1a11e5ddcd
Central Widget concept added
...
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
2020-08-20 16:36:02 +02:00
Uwe Kindler
c78cc17730
Properly persist dock area HideSingleWidgetTitleBar flag (and all other dock area flags)
2020-08-18 10:48:35 +02:00
Nicolas Elie
75841415a3
Update Python bindings ( #231 )
...
* 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
2020-07-30 13:44:05 +02:00
Uwe Kindler
ffed6a9c5f
Merged pull request #201 but made it configurable via config flag
2020-06-14 10:39:07 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
312a8cf500
Enabled ClickFocus for CDockWidget to support focussing in case the content does not support it
...
Renamed FocusStyling to FocusHighlighting
2020-06-06 14:59:03 +02:00
Uwe Kindler
f5c4b26aab
Moved focus related functionality into CDockFocusController class to keep the dock manager code clean
2020-06-05 20:42:43 +02:00
Uwe Kindler
f90f0b0427
Properly implemented focusedDockWidgetChanged() signal
2020-06-05 12:14:26 +02:00
Uwe Kindler
a65b1bdcaf
Removed new dropped signals
2020-06-05 07:27:44 +02:00
Uwe Kindler
4041aa72cc
Implemented proper support for setting floating widget focused widget
2020-06-05 06:55:43 +02:00
Uwe Kindler
45390506dd
Continued implementation
2020-06-04 20:40:23 +02:00
Uwe Kindler
a3e979a8ad
Disabled setFocus in CDockWidget::setActiveTab
2020-06-03 19:49:57 +02:00
Uwe Kindler
adb72737e8
Merge branch 'version_fix' into focused_dockwidget
2020-06-03 17:53:05 +02:00
Uwe Kindler
8b6df4aaa5
Fixed saveState() and restoreState() version handling to work like the function from QMainWindow
2020-06-03 07:25:09 +02:00
Uwe Kindler
ae999f132e
Improved focus styling
2020-05-23 14:45:49 +02:00
Uwe Kindler
5652c8440e
Added new CDockManger config flag FocusStyling
2020-05-23 11:10:03 +02:00
Uwe Kindler
79cb889d83
Improved focus style handling
2020-05-17 08:51:58 +02:00
Uwe Kindler
c5333a2414
Merge branch 'master' into focused_dockwidget
2020-05-14 07:34:31 +02:00
Uwe Kindler
7c03b1b936
Fixed gcc compiler warning caused by supefluous extra semi-colon by all QT_FORWARD_DECLARE_CLASS statements
2020-05-14 07:27:48 +02:00
Patrick Stewart
04ca4ae674
Support for Qt built with the -qtnamespace configure option ( #170 )
2020-05-13 23:26:05 +02:00
Uwe Kindler
3a0c2a3113
Some refactorings in onFocusChanged() to improve code readibility
2020-05-13 22:51:44 +02:00
Uwe Kindler
4c75168152
Improved focus setting when closing a dock area widget
2020-05-13 13:18:05 +02:00
Uwe Kindler
056e1ef947
Improved highlighting focused dock widget
2020-05-13 11:17:43 +02:00
Uwe Kindler
067338ef23
Enable styling of focused dockwidget
2020-05-10 19:30:34 +02:00
Uwe Kindler
a4fbaf413b
Fixed source documentation of DockAreaDynamicTabsMenuButtonVisibility flag
2020-04-24 09:31:13 +02:00
Uwe Kindler
ddbdb83821
Added documentation for DockAreaHideDisabledButtons flag
2020-04-22 12:03:58 +02:00
Uwe Kindler
a668fe2f73
Added new config flag HideSingleCentralWidgetTitleBar to enble a central single dock widget in the main dock container (dock manager) without titlebar
...
Added a test case for the new flag to MainWindow.cpp
2020-04-12 01:05:20 +02:00
Uwe Kindler
542618fd4e
Removed unneeded includes from DockManager.h and fixed includes to use "" instead of <> to prvent conflicts with external libraries
2020-03-26 06:53:13 +01:00
Uwe Kindler
708add3ff5
Fixed two linter warnings in CDockManager
2020-03-12 08:01:57 +01:00