Uwe Kindler
c94155fb06
Moved SideBarLocation enum out of CDockWidgetSideTab into global ads namespace
2022-10-27 10:22:28 +02:00
Syarif Fakhri
fafa52a1ba
fix bug where "right click -> detach group" would of an overlay dock would not remove the dockwidget side tab
2022-10-25 18:03:41 +08:00
Syarif Fakhri
8974b1a299
Merge branch 'auto_hide_feature_original_f' into auto_hide_feature
2022-10-19 17:11:45 +08:00
Uwe Kindler
63fed89f26
Removed individual config flags for each sidebar with the global AutoHideFeatureEnabled flag
2022-10-18 17:00:42 +02:00
Syarif Fakhri
d83ec7c66f
Add config to make auto hide button optionally checkable for styling purposes
2022-10-18 17:21:10 +08:00
Syarif Fakhri
118e79e7ec
Remove config flag
2022-10-18 10:33:35 +08:00
Uwe Kindler
ffe6eccb05
Improved logic for finding the auto hide side location
2022-10-17 14:22:12 +02:00
Syarif Fakhri
84ca7b18a0
fix side tab not hiding when double clicking dock title bar
2022-10-13 14:37:39 +08:00
Syarif Fakhri
8610a64b51
Rename overlayDockContainer -> AutoHideDockContainer
2022-10-13 14:26:54 +08: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
Syarif Fakhri
2bb1589ca2
Add missing check for bottom sidebar config
2022-09-19 16:02:32 +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
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
621e5e7789
fix tooltips for auto hide button and close button
2022-09-09 14:43:59 +08:00
Syarif Fakhri
dc05ec3acf
Add nullptr check when restoring state with overlayed widgets
2022-09-09 13:33:42 +08:00
Syarif Fakhri
af549d8ca9
Add title label to the overlayed dock area
2022-09-08 14:43:18 +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
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
Uwe Kindler
8d1465a81f
Added initial support for setting focus highlighting without uisng setFocus
2021-07-25 18:12:27 +02:00
Walter Bormans
13853573ea
Additional Qt keyword conversion. ( #299 )
...
This comit is an addtion to pull request #295 . Not all Qt keywords were included.
Co-authored-by: Walter Bormans <walter.bormans@paradoxcat.com>
2021-01-22 06:18:34 +01:00
Uwe Kindler
aa25e1fd56
Improved emission of focusedDockWidgetChanged signal to ensure, that the application can restore the focus of the focused application dock widget content
2020-07-13 08:41:30 +02:00
Uwe Kindler
80eb628ea3
Fixed naming of the dock area titlebar actions to be consistent
2020-06-30 09:59:42 +02:00
Uwe Kindler
58744408f0
Switched dock area close button icon to ads specific svg icon
2020-06-14 16:25:18 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
312a8cf500
Enabled ClickFocus for CDockWidget to support focussing in case the content does not support it
...
Renamed FocusStyling to FocusHighlighting
2020-06-06 14:59:03 +02:00
Jan Krassnigg
115e67edc4
Moved private classes into dedicated header
2020-05-13 16:40:43 +02:00
Jan Krassnigg
a9965bf6dc
Moved CTitleBarButton and CSpacerWidget declaration into DockAreaTitleBar.h
...
This gets rid of the need to MOC DockAreaTitleBar.h and DockAreaTitleBar.cpp and it means that DockAreaTitleBar.cpp does not need to #include "DockAreaTitleBar.moc" anymore, which is a file that is generated by the build system and therefore may be named differently when using a custom build system.
2020-05-13 08:04:50 +02:00
Uwe Kindler
aa7976dac6
Fixed issue #164 - Single DockArea cannot be split
2020-05-11 09:03:28 +02:00
Uwe Kindler
d4a18003d9
Properly implemented handling of DockWidget flag DockWidgetIsMovable for NonOpaque undocking - creating the drag preview is allowed even if the DockWidget is not floatable
2020-02-16 14:37:14 +01:00
Uwe Kindler
2c15d5dacd
Fixed regression caused by setDockArea() function removed from DockWidgetTab
2020-02-14 22:56:48 +01:00
Uwe Kindler
ff1439c719
Added CDockComponentsFactory for creation of components for the docking framework
2020-02-11 08:32:49 +01:00
Uwe Kindler
8113bf63ba
Added spacer widget to handle mouse events properly in CDockAreaTitleBar, added missing updateGeometry calls to CDockAreaTabBar
2020-02-07 22:49:10 +01:00
Uwe Kindler
c4872c6b10
Added showcase for custom title bar widget to demo application
2020-02-07 14:29:02 +01:00
Uwe Kindler
efb9b879dd
Added functions to insert custom dock area title bar widgets
2020-02-07 13:42:11 +01:00
Uwe Kindler
d10d59a8e2
Porperly moved title bar context menu code from DockAreaTabBar into DockAreaTitleBar
2020-02-07 12:23:26 +01:00
Uwe Kindler
b61f50982a
Moved title bar dragging code from DockAreaTabBar into DockAreaTitleBar
2020-02-07 12:16:26 +01:00
Uwe Kindler
ae72f5e47d
Changed sizeHints(), sizePolicy() and used updateGeometry() to properly size the tabBar
2020-02-07 11:49:45 +01:00
mvidelgauz
474dd13855
Disable tabs menu button when only single tab exists in a Dock area ( #111 )
2020-02-06 15:21:19 +01:00
Uwe Kindler
b727274cd9
Implemented support for custom DockWidget actions for display in DockArea title bar
2020-02-06 09:15:13 +01:00
Uwe Kindler
094fa37135
Implemented supprt for customdock area title bar buttons
2020-02-06 00:31:57 +01:00
Uwe Kindler
6a8b26f415
Added function internal::setButtonIcon to unify code for setting DockAreaTitleBar and DockWidgetTab icons
2020-02-05 08:57:57 +01:00
Uwe Kindler
acb423872a
Helper function internal::setToolTip() to remove as many #ifndef QT_NO_TOOLTIP tests as possible to cleanup the code
2020-02-05 08:33:40 +01:00
mvidelgauz
b8ed70fa33
Added DockAreaHideDisabledButtons configuration flag ( #110 )
...
* CInvisibleButton generalized to CTitleBarButton to serve more purposes
* Disabled buttons are hidden if CDockManager::DockAreaHideDisabledButtons set to true
2020-02-05 08:04:27 +01:00
mvidelgauz
1d68e27558
Added DockAreaHasTabsMenuButton and DockAreaHasUndockButton to CDockManager config ( #108 )
...
* Added DockAreaHasUndockButton and DockAreaHasTabsMenuButton configuration flag
2020-02-02 16:22:05 +01:00
Uwe Kindler
9fe8f291fb
Fixed CDockManager::DockAreaHasCloseButton == false issue
2020-02-02 11:16:38 +01:00
Uwe Kindler
2af4b1f75c
Blocked display of context menu when dragging floating widget
2019-12-16 13:56:20 +01:00
Uwe Kindler
3ff154aff1
Added global static icon provider to enable registration of custom icons
2019-10-18 08:31:26 +02:00
Uwe Kindler
b776fc24a6
Fixed sizeHints and sizePolicies to properly support different font sizes i.e. set via QApplication::setFont
2019-09-13 10:25:33 +02:00