Syarif Fakhri
b567f6c5d2
Add documentation
2022-09-19 16:34:21 +08:00
Syarif Fakhri
c850e36025
Update css for qt-5
2022-09-19 16:33:45 +08:00
Syarif Fakhri
2bb1589ca2
Add missing check for bottom sidebar config
2022-09-19 16:02:32 +08:00
Syarif Fakhri
40dccdb5ae
Remove testing code
2022-09-19 14:30:18 +08:00
Syarif Fakhri
3d4d677494
Bump XML version
2022-09-19 14:30:07 +08:00
Syarif Fakhri
6e143de09d
Fix side tab widgets being the wrong size when being added to a layout
2022-09-19 14:19:31 +08:00
Syarif Fakhri
ea0eac0e38
Fix autohide example
2022-09-19 11:01:49 +08:00
Syarif Fakhri
f69b1e1ef8
Fix active X widgets not being rendered correctly
2022-09-19 10:49:07 +08:00
Syarif Fakhri
87324846cd
Fix side tab widget resizing strangely on first add
2022-09-15 16:02:55 +08:00
Syarif Fakhri
060313c11f
clear dock widget focus on repin
2022-09-15 13:04:49 +08:00
Syarif Fakhri
59108ed245
Add right bottom and left bottom
2022-09-15 12:51:59 +08:00
Syarif Fakhri
68a3bcde08
Add assert
2022-09-15 12:15:33 +08:00
Syarif Fakhri
68e5aec912
add rais
2022-09-15 11:51:56 +08:00
Syarif Fakhri
6998c0e585
double -> float
2022-09-15 09:43:15 +08:00
Syarif Fakhri
4d3328e468
Fix side tab widget ordering
...
Now is fixed based on the side tab widget
2022-09-14 17:39:57 +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
Nick D'Ademo
5df2467592
add orientation prop to SideTabBar.
2022-09-14 14:25:11 +08:00
Nick D'Ademo
48163d2679
add paintEvent override for styling purposes.
2022-09-14 14:17:28 +08:00
Syarif Fakhri
f3305b95d2
Remove old crash fix
2022-09-14 13:10:06 +08:00
Syarif Fakhri
8e5e974669
Remove event filter from dock area as well
2022-09-14 12:39:18 +08:00
Syarif Fakhri
773f186a7f
Fix crash when restoring state but better
...
- Rather than having to check for nullptr, just make sure the slot isn't
called
2022-09-14 12:34:13 +08:00
Syarif Fakhri
6b85b2b505
Revert "Fix crash when restoring state"
...
This reverts commit ee97b03e53
.
2022-09-14 12:32:32 +08:00
Syarif Fakhri
ee97b03e53
Fix crash when restoring state
...
- when restoring state, the old dock widgets would remove themselves
from their old dock areas and add themselves to the new dock areas. The
old dock areas that are empty would then delete themselves.
- That is a problem when the old overlay dock container would still try to
access the old dock areas, not knowing their deleted, causing a crash.
2022-09-14 12:16:36 +08:00
Syarif Fakhri
0e5329fd3e
add comment
2022-09-13 17:27:13 +08:00
Syarif Fakhri
ac311d6d45
Fix moving content to parent on toggle view
2022-09-13 17:26:46 +08:00
Syarif Fakhri
f0f3caeb32
tweak spacing
2022-09-13 16:51:15 +08:00
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