Uwe Kindler
60e0201060
Added new auto hide config flag CDockManager::AutoHideButtonTogglesArea
2022-10-17 18:16:20 +02:00
Uwe Kindler
14312442db
Replaced tab bar areas LeftTop, LeftBottom, RightTop, RightBottom with Left and Right to reduce complexity
2022-10-17 11:34:59 +02:00
Uwe Kindler
bb630ca605
Changed toggleAutoHideArea)= logic - only the current dock widget is pinned and not all dock widgets of this area
2022-10-17 09:59:40 +02: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
Uwe Kindler
8fc333806a
Pulled latest changes from duer autohide branch
2022-10-12 10:58:47 +02:00
Syarif Fakhri
8ac8d63b96
Ensure that the closed state is consistent
2022-09-20 14:47:28 +08: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
f3305b95d2
Remove old crash fix
2022-09-14 13:10:06 +08:00
Syarif Fakhri
19192541f9
Fix central dock widget being pinnable
...
- Add config for dock widget being pinnable
2022-09-13 16:19:11 +08:00
Syarif Fakhri
8ddabc4cc8
Fix docking behavior when there is a central widget
2022-09-13 16:02:14 +08:00
Syarif Fakhri
621e5e7789
fix tooltips for auto hide button and close button
2022-09-09 14:43:59 +08:00
Syarif Fakhri
22402e79f5
Added support for delete on close to overlayed widgets
2022-09-09 13:57:43 +08:00
Syarif Fakhri
84c6afa428
Reworked toggle view
...
Previous:
- It would just hide the overlay dock widget and leave the side tabs
still visible
- Close button, toggle view action would simply collapse the dock widget
intsead of completely hiding it
Current:
- Now toggle view and collapse functionality are separated.
- Toggle view will now hide the side tab bars completely
- Close button and toggle view action will completely hide it
- Collapse view will simply hide the overlay dock container without
hiding the side tabs
- Handled logic for floating widgets and toggling view
2022-09-09 12:18:41 +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
c1df05b55d
Fix bug where undock button would be show incorrectly in floating dock
...
widgets when toggling overlay
Also centralized and simplified the logic for the title bar button
visibility
2022-09-08 16:08:20 +08:00
Syarif Fakhri
af549d8ca9
Add title label to the overlayed dock area
2022-09-08 14:43:18 +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
302fcd1435
Fix bug where dragging an overlayed widget would cause it to be empty
...
Fix bug where pin and unpin doesn't work
2022-09-07 15:50:53 +08:00
Syarif Fakhri
1d9902b690
Make tabs menu hidden when overlayed
2022-09-07 13:31:44 +08:00
Syarif Fakhri
e4565034fb
Merge branch 'master' into auto_hide_feature
2022-09-07 10:12:57 +08:00
Syarif Fakhri
052d3cecb9
Fix check state of the auto hide button
...
when dragging the container into a floating window
2022-09-06 17:59:56 +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
bfab7e495a
Move logic for enabling auto hide into the public toggle method
2022-09-06 13:49:11 +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
bjb-work
df74686287
call CDockWidget::closeDockWidgetInternal when close attempt and CustomCloseHandling ( #438 )
...
Co-authored-by: bjb-work <N/A>
2022-07-15 14:47:20 +02:00
Uwe Kindler
511132ee4f
Fixxed issue #294 - Tab refresh problem with a QGLWidget
2021-06-17 20:32:45 +02:00
Walter Bormans
13853573ea
Additional Qt keyword conversion. ( #299 )
...
This comit is an addtion to pull request #295 . Not all Qt keywords were included.
Co-authored-by: Walter Bormans <walter.bormans@paradoxcat.com>
2021-01-22 06:18:34 +01:00
Uwe Kindler
a614e3cc3d
Fixed CDockAreaWidget::nextOpenDockWidget() function to properly return a DockWidget with tab if this is possible
...
Added new emptydockarea example
2021-01-11 11:07:03 +01:00
Uwe Kindler
c8fe4c46dd
Fixed DockAreaWidget minimumSizeHint
2020-12-23 16:16:13 +01:00
Nicolas Elie
646211cc4c
Merge branch 'master' into forceclose
2020-08-31 16:38:16 +02:00
Uwe Kindler
5443e5f998
Merge branch 'centralwidget'
2020-08-24 13:44:19 +02:00
Uwe Kindler
543d226ba3
Fixed memory leak
2020-08-24 13:32:50 +02:00
Uwe Kindler
03b1848b43
Reverted changed
2020-08-24 13:25:20 +02:00
Uwe Kindler
05ab8d2067
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-08-24 13:23:40 +02:00
Uwe Kindler
c28a27c81c
Reverted changes that cause application crash
2020-08-24 13:22:34 +02:00
Uwe Kindler
835a532e75
Corrected constness of some functions, changed signatur of setCentralWidget function
2020-08-24 10:22:12 +02:00
Uwe Kindler
d383ade03c
Merge branch 'Central-Widget' of https://github.com/hulswit/Qt-Advanced-Docking-System into hulswit-Central-Widget
2020-08-24 09:50:12 +02:00
Yurii Miroshnyk
a565239c4a
Fixes pack. Parenting, memory leaks, floating widgets deleting.
...
* DockWidget always has DockAreaWidget as parent. It's not necessary to make it nullptr. This fixes many bugs related to restoring inactive tabbed DockWidgets.
* Fixed memory leaks related to QBoxLayout::takeAt().
* Fixed algorithm of deleting remaining floating widgets after restore.
2020-08-21 19:24:55 +03:00
shelomentsev
703a9b3e12
Update the state of close button on titlebar and tabbar when CDockWidget::DockWidgetClosable changed. ( #240 )
2020-08-21 08:09:13 +02:00
hulswit
691c9683ce
Merge branch 'master' into Central-Widget
2020-08-20 16:37:05 +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
shelomentsev
a4d281dbb6
Floating window fixes. ( #239 )
...
* Don't show a CFloatingDockContainer if all its CDockWidget were hidden before its first shown.
* Destroy empty CFloatingDockContainer when removing CDockWidget via removeDockWidget function.
2020-08-20 12:58:15 +02:00
shelomentsev
8361f90dce
Delete widgets without parents in CDockAreaLayout. ( #241 )
2020-08-20 12:56:37 +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
Uwe Kindler
11aec65967
Properly persist the AllowedAreas state of CDockAreaWidget
2020-08-17 23:50:37 +02:00
Nicolas ELIE
40636d1e05
Add flag to DockWidget to force dw to be closed with the area that contains it
2020-08-04 11:50:32 +02:00
Some Guy
8443414ae3
Added setHideSingleWidgetTitleBar to DockWidgetArea
2020-07-21 08:20:17 +02:00
Uwe Kindler
9974256d71
Fixed double emission of focusedDockWidgetChanged() signal
2020-07-07 14:38:03 +02:00