Uwe Kindler
ebdd950b4e
Removed supefluous onAutoHideToggleRequested() function
2022-10-25 09:52:57 +02: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
8ddabc4cc8
Fix docking behavior when there is a central widget
2022-09-13 16:02:14 +08:00
Syarif Fakhri
621e5e7789
fix tooltips for auto hide button and close button
2022-09-09 14:43:59 +08:00
Syarif Fakhri
c1df05b55d
Fix bug where undock button would be show incorrectly in floating dock
...
widgets when toggling overlay
Also centralized and simplified the logic for the title bar button
visibility
2022-09-08 16:08:20 +08:00
Syarif Fakhri
0087a1b360
Add left right styling to the dock widget side tab
2022-09-08 11:30:56 +08:00
Syarif Fakhri
052d3cecb9
Fix check state of the auto hide button
...
when dragging the container into a floating window
2022-09-06 17:59:56 +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
anoy
21badd592e
add QFlag operators ( #376 )
2021-11-26 19:09:09 +01:00
Uwe Kindler
511132ee4f
Fixxed issue #294 - Tab refresh problem with a QGLWidget
2021-06-17 20:32:45 +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
835a532e75
Corrected constness of some functions, changed signatur of setCentralWidget function
2020-08-24 10:22:12 +02:00
Uwe Kindler
d383ade03c
Merge branch 'Central-Widget' of https://github.com/hulswit/Qt-Advanced-Docking-System into hulswit-Central-Widget
2020-08-24 09:50:12 +02:00
shelomentsev
703a9b3e12
Update the state of close button on titlebar and tabbar when CDockWidget::DockWidgetClosable changed. ( #240 )
2020-08-21 08:09:13 +02:00
hulswit
1a11e5ddcd
Central Widget concept added
...
Adde option to set a dock widget as central widget. It influences resizing behavior of the splitters. The central widget will be stretched with the main window and remaing dock widgets and threir respective areas will be resized only vertically if docked left or right and horizontaly if docked top or bottom
2020-08-20 16:36:02 +02:00
Uwe Kindler
c78cc17730
Properly persist dock area HideSingleWidgetTitleBar flag (and all other dock area flags)
2020-08-18 10:48:35 +02:00
Some Guy
8443414ae3
Added setHideSingleWidgetTitleBar to DockWidgetArea
2020-07-21 08:20:17 +02:00
Uwe Kindler
7c03b1b936
Fixed gcc compiler warning caused by supefluous extra semi-colon by all QT_FORWARD_DECLARE_CLASS statements
2020-05-14 07:27:48 +02:00
Patrick Stewart
04ca4ae674
Support for Qt built with the -qtnamespace configure option ( #170 )
2020-05-13 23:26:05 +02:00
Uwe Kindler
0e88467f94
DockAreaWidget now properly considers minimumSizeHint() of contained DockWidgets
...
Added setMinimumSizeHintMode() test in demo MainWindow
2020-03-28 19:32:07 +01:00
Uwe Kindler
c4872c6b10
Added showcase for custom title bar widget to demo application
2020-02-07 14:29:02 +01:00
mvidelgauz
6c3f82547d
setAllowedAreas for individual DockAreaWidget ( #107 )
...
* setAllowedAreas for individual DockAreaWidget
* alligning tab policy with master
2020-02-02 15:56:31 +01:00
Uwe Kindler
a5e8011222
Implemented custom close handling
2020-01-06 11:42:36 +01:00
Uwe Kindler
e15af4101a
Added initial support for transparent undocking
2019-11-26 14:40:56 +01:00
Uwe Kindler
aee9fb1c95
Added dock manager function addDockWidgetFloating to add initial floating dock widgets
2019-11-25 15:28:15 +01:00
Uwe Kindler
c8d4487a95
Improved source code documentation, removed empty main.qrc to silence qmake warning
2019-08-26 07:58:56 +02:00
Yozka
6fc8964ffc
set tooltip for titlebar and menu #20
2019-01-23 22:01:30 +05:00
Uwe Kindler
e37e4fdf57
Added context menu for dock area title bar to enable closing of area and other areas via context menu and to enable detaching of dock area via context menu
2018-12-20 15:29:38 +01:00
Sergey Kartashev
8570139cd1
fix forward declarations (class/struct)
2018-12-17 14:41:43 +03:00
Uwe Kindler
80efed693e
Removed unused DockStateSerialization files, added support for opaque splitter resizing
2018-12-11 15:19:59 +01:00
Uwe Kindler
b9265fccec
Properly implemented setting enable state of dock area close button
2018-11-08 12:22:15 +01:00
Uwe Kindler
b3a272110a
Some changes for dockwidget tab close button, some refactorings to make insertion of widgets into dock widget easier, added createDefaultToolBar function for creation of toolbar and removed layout flags from CDockWidget
2018-11-08 10:04:29 +01:00
Uwe Kindler
6843703484
Fixed title bar button minimum size to enable stylesheet styling, fixed restore functionality
2018-11-07 13:50:43 +01:00
Uwe Kindler
c973482b2b
Properly implemented showing and hiding of TitleBarUndockButton
2018-11-05 09:07:18 +01:00
Uwe Kindler
72ec61a043
Added access functions for the titlebar buttons
2018-11-03 20:51:02 +01:00
Uwe Kindler
3f5697554a
Changed store and restore functioality to save the current dock widget name of an dock area instead of the current index because if some dock widgets are missing when loading the configuration, the dock index might be wrong
2018-11-01 08:52:14 +01:00
Uwe Kindler
5e6c82b68d
Started implementing VisibleDockAreaCount cache
2018-11-01 07:53:54 +01:00
Uwe Kindler
ada3d6b3b5
Added minimumSizeHint function to DockWidget to prevent jumping of the height of a dock area when switching between dock widgets, fixed use of findParent function in DockWidget - non current dock widgets do not have a parent so this function will fail
2018-10-15 08:29:30 +02:00
Uwe Kindler
8637c89a6b
Added proper support for closable feature, now the close button is disabled for floating widgets
2018-10-12 15:18:05 +02:00
Uwe Kindler
11e5f9c95a
Properly implemented DockAreaTitle bar to encapsulate title bar functionality
2018-10-12 14:51:57 +02:00
Uwe Kindler
75288af88c
Properly implemented tab moving
2018-10-12 09:17:14 +02:00
Uwe Kindler
272bbe275e
Started implementing DockAreaTabBar to improve code, encapsulation and performance
2018-10-10 15:15:59 +02:00
Uwe Kindler
b9b72df9d4
Fixed some bugs that caused problems when calling toggleView() with the same state, some refactorings to improve code
2018-09-26 09:57:36 +02:00
Uwe Kindler
6ec38b48ef
Fixed proper hiding of dock areas without any visible content when dragging out singkle widgets, prevente single dock widget from dragging if it is the last dock widget in a floating widget
2018-09-14 08:46:10 +02:00
Uwe Kindler
aa7b36dbd1
Removed debug output
2018-09-07 12:56:20 +02:00
Uwe Kindler
c9123c3640
Fixed setting of tab widget visibility and toggleViewAction() state when dragging dock areas with closed dock widgets
2018-09-07 12:38:11 +02:00
Uwe Kindler
67199a81f4
Fixed docking into empty main dock container, fixed tab handling to properly show the right dock widget tab when removing a dock widget, fixed tab menu to only show visible tabs, tab menu is now dynamically created just befor menu is shown
2018-09-07 11:10:14 +02:00
Uwe Kindler
72ee4a53df
Improved documentation, made a lot of member functions protected to make it clearer which functions the user is allowed to use, the CDockWidget constructor now sets the objectName() to the given title, so there is no need to call setObjectName() explicitely if the title is static and unique
2018-08-29 08:47:05 +02:00