Syarif Fakhri
d394930d74
Change splitter proportion from int to double
...
- Allows for fine grain control (can now set 0.75 or 0.6)
- Makes more sense
2022-09-13 16:29:39 +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
42498b2021
Fixed some more spacing in DockWidgetSideTab
2022-09-13 14:57:24 +08:00
Syarif Fakhri
daa52e109e
Add missing update style to dock widget side tab
2022-09-13 14:21:01 +08:00
Syarif Fakhri
263c73188a
Add bottom side icon config
2022-09-13 14:16:12 +08:00
Syarif Fakhri
9a69955124
Simplify logic when restoring state
2022-09-13 13:10:29 +08:00
Syarif Fakhri
b950b8a209
Fix overlayed containers able to drag into the center
...
of the central widget
2022-09-13 12:45:26 +08:00
Syarif Fakhri
dfc2714d3b
Fix invalid state on restore
...
- Overlayed dock areas should not be added to the d->DockArea list
- As they are not treated like normal dock areas
2022-09-13 12:44:48 +08:00
Syarif Fakhri
4841d9b896
Set splitter sizes based on proportion settable in the dock widget
2022-09-13 11:20:46 +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
883d5b5198
fix crash when sometimes restoring state
2022-09-09 15:38:31 +08:00
Syarif Fakhri
3ef1ac97c2
Fix splitter size being saved incorrectly if the overlay widget is never opened
2022-09-09 15:24:33 +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
54b9a8dc50
Merge branch 'auto_hide_feature' of github.com:duerr-ndt/Qt-Advanced-Docking-System into auto_hide_feature
2022-09-09 13:37:14 +08:00
Syarif Fakhri
dc05ec3acf
Add nullptr check when restoring state with overlayed widgets
2022-09-09 13:33:42 +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
Nick D'Ademo
1097d65959
fix elision for vertical eliding label.
2022-09-09 09:34:45 +08:00
Syarif Fakhri
6ae14fada3
add comment regarding empty widget in overlay dock container
2022-09-08 17:42:24 +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
60c22000a8
Add hover styling
2022-09-08 16:49:32 +08:00
Syarif Fakhri
3ec395fe79
update default stylesheet
2022-09-08 16:41:00 +08:00
Syarif Fakhri
fac81265bf
Whitespace changes only
2022-09-08 16:30:07 +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
9bfd77a206
Remove None and Bottom from the SideTabBarArea enum
2022-09-08 14:13:45 +08:00
Syarif Fakhri
37edf47c4b
Fix the side tab widget not updating style when its restored from XML
2022-09-08 14:04:18 +08:00
Syarif Fakhri
be4e5a88a6
Change the styling - Now the dock widget side tab has a gray left/right
...
edge border when not selected
2022-09-08 14:01:52 +08:00
Syarif Fakhri
a279e71535
Fix side tab bar area name being saved wrong in the XML
2022-09-08 13:10:46 +08:00
Syarif Fakhri
5ddb02cc8e
fix the border styling of the dock widget side tab when not focused
2022-09-08 11:45:30 +08:00
Syarif Fakhri
ecccba4536
Add overlay splitter object name
2022-09-08 11:31:54 +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
de4a59d45a
Re added back in CentralWidgetExample after mistakenly removing it
2022-09-08 11:18:38 +08:00
Uwe Kindler
068797dbb0
Fixed build issues of original pull request
2022-09-07 10:56:17 +02: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
9735f41b1a
Fix toggle view through the actions menu not working correctly
2022-09-07 12:13:46 +08:00
Syarif Fakhri
4a77580b07
swap position of auto hide button and detach group button
2022-09-07 11:54:32 +08:00
Syarif Fakhri
1a903e74f2
add pin icon
2022-09-07 11:54:03 +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
Syarif Fakhri
da8f17cce2
Fix perspective for central widget demo
2022-09-05 17:04:41 +08:00
Uwe Kindler
3cd6d766f8
Added some documentation for Linux modal dialog fix
2022-09-05 09:06:29 +02:00