Syarif Fakhri
8974b1a299
Merge branch 'auto_hide_feature_original_f' into auto_hide_feature
2022-10-19 17:11:45 +08:00
Uwe Kindler
63fed89f26
Removed individual config flags for each sidebar with the global AutoHideFeatureEnabled flag
2022-10-18 17:00:42 +02:00
Syarif Fakhri
d83ec7c66f
Add config to make auto hide button optionally checkable for styling purposes
2022-10-18 17:21:10 +08:00
Syarif Fakhri
118e79e7ec
Remove config flag
2022-10-18 10:33:35 +08:00
Uwe Kindler
60e0201060
Added new auto hide config flag CDockManager::AutoHideButtonTogglesArea
2022-10-17 18:16:20 +02:00
Syarif Fakhri
754a41d118
Formatting and cleanup
...
- Update user-guide.md
- Remove incorrect configuration from dock manager.h
- Fix spacing
2022-10-14 21:41:39 +08:00
Syarif Fakhri
f9b62234b0
Add top area
2022-10-14 21:13:32 +08:00
Syarif Fakhri
8610a64b51
Rename overlayDockContainer -> AutoHideDockContainer
2022-10-13 14:26:54 +08:00
Uwe Kindler
62d3d73651
Made Auto Hide Feature independent from Focus Feature and renamed OverlayDockContainer to AutoHideDockContainer
2022-10-12 11:17:54 +02:00
Syarif Fakhri
06bcf2cd48
Add insert order for overlayed widget to the side tab bar
...
- Set the default insert order to append
2022-09-14 15:52:34 +08:00
Syarif Fakhri
263c73188a
Add bottom side icon config
2022-09-13 14:16:12 +08:00
Syarif Fakhri
214c415fa2
Add Bottom side bar
2022-09-13 10:42:58 +08:00
Syarif Fakhri
489f72aa0c
Add side tab widget icons
...
- Add config to prioritize icon only if it has one
2022-09-12 15:55:45 +08:00
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