Syarif Fakhri
a48108e449
- Add draggable auto hide tab functionality
...
- Change auto hide tab open from mouse press to mouse release
2023-02-18 23:17:19 +08:00
Uwe Kindler
302ee59d67
Fixed dockContainer() function of AutoHideDockContainer.cpp
...
Returning the dock container of the internal dock area is wrong, if the dock widget is removed from
the AutoHideDockContainer, then the DockArea container function already returns the new dock container
of the DockArea and not the dock container of the AutoHideDockContainer.cpp
2022-12-09 08:50:12 +01:00
Uwe Kindler
60d915a99f
Changed SideTab check in AutoHideDockContainer::eventFilter to improve performance a little bit
2022-11-23 08:43:45 +01:00
Uwe Kindler
47e4a6065a
Fixed some issues in AutoHideDockContainer eventFilter function
2022-11-22 21:36:43 +01:00
Uwe Kindler
a2a328e3c7
Ensure that auto hide widget will be closed if user starts dragging floating widget or docked widget
2022-11-22 11:11:49 +01:00
Uwe Kindler
aee68c167a
Fixed hiding of AutoHideContainer when clicking outside context menu
2022-11-22 09:01:16 +01:00
Uwe Kindler
0b5840309f
Added support for runtime switching of CAutoHideDockContainer sidebar location
2022-11-15 15:08:52 +01:00
Uwe Kindler
260a2ddb24
Fixed restoreSideBar function and dropping floating widget with auto hide widgets
2022-11-15 14:21:24 +01:00
Uwe Kindler
07d0bdc8ed
Improved CAutoHideDockContainer::eventFilter function to collapse the auto hide widget if someone clicks into another window
2022-11-15 10:46:15 +01:00
Uwe Kindler
5caa5db273
Added some comment
2022-11-15 09:50:39 +01:00
Uwe Kindler
f554df9e7a
Fixed FloatingDockContainer.cpp to properly post the dragging start event
2022-11-15 09:28:23 +01:00
Uwe
7f58877a47
Added FloatingWidgetDragStartEvent to hide AutoHideContainer if user drags floating widget
2022-11-15 08:44:07 +01:00
Uwe Kindler
b50e2017e6
Removed superfluous includes and fixed use of deprecates globalPositionOf() function
2022-11-14 22:16:03 +01:00
Uwe Kindler
407c70a8c5
Fixed insertion of resize handle in AutoHideDockContainer.cpp
2022-11-11 16:43:31 +01:00
Uwe Kindler
d010fe7a95
Fixed bug in AutoHidedockContainer that causes warnings and resizing issues
...
The bug caused ""setGeometry: Unable to set geometry XxY+Width+Height on QWidgetWindow/'WidgetClassWindow" warnings for OpenGL and QAxWidgets and causes resizing issues for AutoHideDockContainers that contained theses widgets
2022-11-11 15:29:12 +01:00
Uwe Kindler
8e7b7f536e
Fixed CAutoHideDockContainer::addDockWidget to prevent OldDockArea->removeDockWidget(DockWidget) call when restoring state
2022-11-09 11:15:42 +01:00
Uwe Kindler
5a9f23a9ad
Fixed emission of top level event in DockContainerWidget
2022-11-07 16:28:27 +01:00
Uwe Kindler
44a5873415
Fixed emission of missing top level event when redocking a auto hide widget
2022-11-07 08:11:00 +01:00
Uwe Kindler
35f212a788
Fixed Qt6 build
2022-11-04 10:45:09 +01:00
Uwe Kindler
279a9d7df9
Fixed delayed hiding of CAutoHideDockContainer on mouse leave when resizing
2022-11-04 09:41:00 +01:00
Uwe Kindler
c0247fc02a
Added option ShowAutoHideOnMouseOver that enables showing of auto hide widgets by hovering over auto hide tab
2022-11-04 08:51:17 +01:00
Uwe Kindler
5e59a6dc3a
Removed debug output
2022-11-03 16:49:20 +01:00
Uwe Kindler
04ea1c68a7
Added option to auto hide a DockWidget or a DockArea to a specific sidebar location
2022-11-03 15:28:01 +01:00
Uwe Kindler
159579fb48
Fixed some auto hide specific bugs
2022-11-02 14:29:23 +01:00
Uwe Kindler
7d79ea2770
Fixed crash by access to invalid dock parent container in CAutoHideDockContainer::updateSize() function
2022-11-02 07:46:02 +01:00
Uwe Kindler
983afc4d1e
Fixed wrong size calculation in CAutoHideDockContainer updateSize() function
2022-11-02 07:29:45 +01:00
Uwe Kindler
28745fa2f8
Some small improvements and execute auto hide code only if config is enabled
2022-11-01 17:17:58 +01:00
Uwe Kindler
bfad80c540
Some code cleanup
2022-11-01 13:41:36 +01:00
Uwe Kindler
075ef6187f
Refactoring: renamed CDockWidgetSideTab to CAutoHideTab and CSideTabBar top CAutoHideSideBar
2022-11-01 13:34:08 +01:00
Uwe Kindler
782af9a1fc
Renamed SideTabBar and DockWidgetSideTab into AutoHideSideBar and AutoHideTab for consistent naming
2022-11-01 12:06:59 +01:00
Uwe Kindler
fba9c7ce5d
Create auto hide sidebars only if config flag is set
2022-11-01 11:22:15 +01:00
Uwe Kindler
44790307d8
Properly implemented restore functionality for auto hide container
2022-11-01 11:02:01 +01:00
Uwe Kindler
d1d801cf16
Moved dock area restore code into CDockAreaWidget
2022-10-30 19:44:33 +01:00
Uwe Kindler
8d670577a9
Moved creation of SideTabWidget into AutoHideDockContainer.cpp
2022-10-28 16:28:23 +02:00
Uwe Kindler
ae5a75bc3f
Removed DockWidget->sideTabWidget()->setProperty("focused", Focused), DockWidget->sideTabWidget()->updateStyle() because it is not required
2022-10-28 13:19:38 +02:00
Uwe Kindler
38ee87f762
Merge branch 'duerr-ndt-auto_hide_feature' into auto_hide_feature_refactor
2022-10-28 11:17:13 +02:00
Uwe Kindler
f6b77f5c3c
Implemented showing and hiding of side bar when it does not contain any visible tab
2022-10-28 11:11:35 +02:00
Syarif Fakhri
ee2ef8ac69
Use resize margin - disallow users from resizing to the size of the parent container
2022-10-28 14:24:44 +08:00
Syarif Fakhri
c2bd56e2e9
add set size to allow the user to set a size for the pinned widget manually
2022-10-28 14:20:30 +08:00
Syarif Fakhri
85da93c2fe
fix crash when adding auto hide dock container without a previous dock area
2022-10-28 14:19:12 +08:00
Uwe Kindler
c80174e7e5
Removed superfluous code and simplified some things
2022-10-27 15:59:08 +02:00
Uwe Kindler
3f256f7249
Some small renamings
2022-10-27 13:39:00 +02:00
Uwe Kindler
85d7b3047c
Changed AutoHide save and restore code
2022-10-27 13:25:40 +02:00
Uwe Kindler
2d67e9e1e5
Some small changes
2022-10-27 11:53:15 +02:00
Uwe Kindler
f20c3bc63a
Fixed wrong position of AutoHideDockContainer when uncollapsing
2022-10-27 10:52:05 +02:00
Uwe Kindler
c94155fb06
Moved SideBarLocation enum out of CDockWidgetSideTab into global ads namespace
2022-10-27 10:22:28 +02:00
Uwe Kindler
ea8e442153
Updated default.css to support the new auto hide functionality
2022-10-26 15:36:17 +02:00
Uwe Kindler
f5ac29c19e
Implemented support for Opaque / Non Opaque auto hide container resizing
2022-10-26 15:06:23 +02:00
Uwe Kindler
5199fa45d1
Implemented save and restore function in AutoHideDockContainer
2022-10-26 11:17:05 +02:00
Uwe Kindler
b2399bb279
Removed superfluous code from AutoHideDockContainer.cpp
2022-10-26 10:57:50 +02:00