Alessandro de Jesus
e2c960238d
Fixed Undock Button getting hidden after undocking and docking again a floating widget that contains only one single visble dock area ( #816 )
2026-03-08 08:11:09 +01:00
André Vautour
f9ad1d7801
Use Native Windows ( #797 )
...
* Avoid changing to a top-level window when moving a native window.
* Support using native windows for the dock/area widgets.
2026-01-15 21:39:51 +01:00
Uwe Kindler
9bdefd6055
Fixed issue #597 - Crashes when the floating widget moves to the dock manager and then tries to drag it back
2024-01-16 14:03:53 +01:00
Uwe Kindler
44ff9e9956
Fixed some compiler warnings on Ubuntu 22.04
2023-12-08 07:58:36 +01:00
tmartsum
f848df74c3
Improve safety in code ( #588 )
...
Delete areas later so that that they can be accessed by
(inherited) dock widgets in dtor. Add some QPointer to
prevent crashes.
Hence allow users to do more while dock widgets etc
are being destroyed.
2023-12-08 06:47:02 +01:00
Uwe Kindler
68f1084bf0
Added parentSplitter() fucntion to DockArea and removed dead code from DockContainerWidget
2023-11-27 21:48:14 +01:00
gafusss
40beef964b
Fix memory leak in CDockContainerWidget::restoreState ( #576 )
...
delete old root splitter layout item
2023-11-04 06:49:01 +01:00
luzpaz
0d10c6e2d9
Fix various typos ( #547 )
...
Typos found via `codespell -q 3 -L te,ridiculus,varius`
2023-08-08 19:46:12 +02:00
Uwe Kindler
65ae86a46d
Removed debug output
2023-07-13 07:25:09 +02:00
Uwe Kindler
7140e5e32a
Properly handle dragging of dock widget into DockWidgetTabBar and AutoHideSideBar
2023-07-12 14:22:05 +02:00
Uwe Kindler
f5cfe9e05a
Fixed tab insertion when dragging side tab
2023-07-12 14:01:39 +02:00
Uwe Kindler
be727c5890
Added initial support for inserting dropped dock widgets at a certain sidebar position
2023-07-12 10:42:24 +02:00
Uwe Kindler
f4fc0dab29
Added support for dropping dock widget to a certain tab postion of a dock area
2023-07-12 09:39:20 +02:00
Uwe Kindler
364ee33f9c
Removed some std::cout debug output
2023-07-11 10:27:08 +02:00
Uwe Kindler
0a6c58fd66
Properly implemented drag and drop of auto hide tabs
2023-07-10 09:34:11 +02:00
Uwe Kindler
4bdc04e9d8
Implemented Pin To functionality for Auto Hide Tabs
2023-07-07 13:35:55 +02:00
Uwe Kindler
e2929ade14
Fixed DockContainerWidget.cpp contentRect() function to work properly even if no dock widget is visible in container
2023-06-28 15:59:26 +02:00
Uwe Kindler
b801f0655d
Improved dragging of widgets into AutoHideArea
2023-06-28 14:01:08 +02:00
Uwe Kindler
f6ccaba6aa
Added dropIntoAutoHideSideBar() function
2023-06-28 10:19:59 +02:00
Uwe Kindler
b9479dbd3d
Started implementing autohide drag functionality
2023-06-27 10:12:51 +02:00
Uwe Kindler
e060d99d96
Merged master
2022-11-18 21:50:38 +01:00
Uwe Kindler
8d30fc9c3c
Fix various clazy warnings
2022-11-18 21:36:31 +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
3fded82f26
Merge branch 'master' into auto_hide_feature
2022-11-15 11:22:14 +01:00
Uwe Kindler
e4a71982d9
Added support for inserting a dock widget with a given tab index and added test case
2022-11-14 19:54:12 +01:00
Uwe Kindler
296c7edbd0
Added support for tab index when inserting dockwidgets into area
2022-11-14 14:49:58 +01:00
Uwe Kindler
87f5b6127b
Fixed restoreSideBar() function to prevent multiple side tabs for the same dock widget
2022-11-11 16:33:12 +01:00
Uwe Kindler
208c804db1
User rootSplitter() function instead of searching for child widget
2022-11-08 20:37:48 +01:00
Uwe Kindler
64bd9021d9
Fixed bug in dropIntoSection() caused by the addition of AutoHideSideBars to dock container
2022-11-08 16:32:35 +01:00
Uwe Kindler
5a9f23a9ad
Fixed emission of top level event in DockContainerWidget
2022-11-07 16:28:27 +01:00
Uwe Kindler
95b627e83e
Prevent accidental hiding collapsing of an auto hide widget by a mouse click shortly after a mouse over collapse event
2022-11-07 10:15:14 +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
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
716207f600
Removed superfluous deleteAutoHideWidgets() function from CDockContainerWidget
2022-11-02 14:41:41 +01:00
Uwe Kindler
159579fb48
Fixed some auto hide specific bugs
2022-11-02 14:29:23 +01:00
Uwe Kindler
7c1d04f7be
Move calculateSideTabBarArea() function from DockContainerWidget into DockAreaWidget because it is only required there and it depends on dock area position
2022-11-02 08:16:56 +01:00
Uwe Kindler
540961b8dd
Renamed toggleAutoHide to setAutoHide and added toggleAutoHide function
2022-11-01 21:31:27 +01:00
Uwe Kindler
fda5887d50
Removed AutoHideInsertOrder enum - new side tabs are always appended.
2022-11-01 20:42:52 +01:00
Uwe Kindler
94b80423d7
Made naming of auto hide config flags explicit
2022-11-01 14:36:09 +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
Syarif Fakhri
a012426f9b
cleanup - remove unused code, fix comments, add const
2022-10-28 14:26:55 +08:00
Uwe Kindler
c80174e7e5
Removed superfluous code and simplified some things
2022-10-27 15:59:08 +02:00