Uwe Kindler
6c27115de8
Ignore MouseButtonPress events of SideTabWidget in event filter
2022-10-12 11:32:55 +02: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
53e8010732
Merge branch 'auto_hide_feature' of github.com:duerr-ndt/Qt-Advanced-Docking-System into auto_hide_feature
2022-09-22 10:41:27 +08:00
Syarif Fakhri
880a7f13b5
add config flag in ads demo
2022-09-22 10:40:11 +08:00
syarif fakhri
7f6fa0c96c
Fix linux styling
2022-09-22 09:53:14 +08:00
Syarif Fakhri
8ac8d63b96
Ensure that the closed state is consistent
2022-09-20 14:47:28 +08:00
Syarif Fakhri
0e6971e2ae
Remove [[fallthrough]]
2022-09-20 09:41:02 +08:00
Syarif Fakhri
32f9b4664b
Fix weird behavior when widget is overlayed
2022-09-19 18:11:47 +08:00
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