Syarif Fakhri
e4565034fb
Merge branch 'master' into auto_hide_feature
2022-09-07 10:12:57 +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
fde133c25e
Fix a bug where overlay widgets from another container widget
...
would not be correctly transferred into the container widget that it's
dragged into.
2022-09-06 17:42:26 +08:00
Syarif Fakhri
6e35a9e7a7
- Add an example folder for auto hide functionality
...
Note: this does not include the py file, To be added in a different
commit
- Added a better API to programatically add the overlay areas in the
CDockManager
2022-09-06 15:35:18 +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
bjb-work
df74686287
call CDockWidget::closeDockWidgetInternal when close attempt and CustomCloseHandling ( #438 )
...
Co-authored-by: bjb-work <N/A>
2022-07-15 14:47:20 +02: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
a614e3cc3d
Fixed CDockAreaWidget::nextOpenDockWidget() function to properly return a DockWidget with tab if this is possible
...
Added new emptydockarea example
2021-01-11 11:07:03 +01:00
Uwe Kindler
c8fe4c46dd
Fixed DockAreaWidget minimumSizeHint
2020-12-23 16:16:13 +01:00
Nicolas Elie
646211cc4c
Merge branch 'master' into forceclose
2020-08-31 16:38:16 +02:00
Uwe Kindler
5443e5f998
Merge branch 'centralwidget'
2020-08-24 13:44:19 +02:00
Uwe Kindler
543d226ba3
Fixed memory leak
2020-08-24 13:32:50 +02:00
Uwe Kindler
03b1848b43
Reverted changed
2020-08-24 13:25:20 +02:00
Uwe Kindler
05ab8d2067
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-08-24 13:23:40 +02:00
Uwe Kindler
c28a27c81c
Reverted changes that cause application crash
2020-08-24 13:22:34 +02: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
Yurii Miroshnyk
a565239c4a
Fixes pack. Parenting, memory leaks, floating widgets deleting.
...
* DockWidget always has DockAreaWidget as parent. It's not necessary to make it nullptr. This fixes many bugs related to restoring inactive tabbed DockWidgets.
* Fixed memory leaks related to QBoxLayout::takeAt().
* Fixed algorithm of deleting remaining floating widgets after restore.
2020-08-21 19:24:55 +03: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
691c9683ce
Merge branch 'master' into Central-Widget
2020-08-20 16:37:05 +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
shelomentsev
a4d281dbb6
Floating window fixes. ( #239 )
...
* Don't show a CFloatingDockContainer if all its CDockWidget were hidden before its first shown.
* Destroy empty CFloatingDockContainer when removing CDockWidget via removeDockWidget function.
2020-08-20 12:58:15 +02:00
shelomentsev
8361f90dce
Delete widgets without parents in CDockAreaLayout. ( #241 )
2020-08-20 12:56:37 +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
Uwe Kindler
11aec65967
Properly persist the AllowedAreas state of CDockAreaWidget
2020-08-17 23:50:37 +02:00
Nicolas ELIE
40636d1e05
Add flag to DockWidget to force dw to be closed with the area that contains it
2020-08-04 11:50:32 +02:00
Some Guy
8443414ae3
Added setHideSingleWidgetTitleBar to DockWidgetArea
2020-07-21 08:20:17 +02:00
Uwe Kindler
9974256d71
Fixed double emission of focusedDockWidgetChanged() signal
2020-07-07 14:38:03 +02:00
Uwe Kindler
8e621f1f20
Properly reparent TabWidget to DockWidget if TabWidget is removed from TabBar
2020-06-30 16:34:59 +02:00
Uwe Kindler
d811915a0c
Reset DockArea pointer of DockWidget when removing DockWidget from DockArea
2020-06-29 22:11:37 +02:00
Uwe Kindler
e36655a7ab
Fixed wrong current index when removing a widget from CDockAreaLayout
2020-06-14 16:12:56 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
ba94ef3493
Merge branch 'master' into focused_dockwidget
2020-05-19 20:51:19 +02:00
Uwe Kindler
36bcbded54
Fixed showing of dock area when inserting a dock widget into a hidden dock area
...
fixed setting of DockAreaTabBar index to prevent showing of tab 0 when inserting a dock widget into an area with no current index tab
2020-05-19 20:26:57 +02:00
Uwe Kindler
e760d3e967
Improved focus handling when dropping a dock widget
2020-05-14 09:06:04 +02:00
Uwe Kindler
a668fe2f73
Added new config flag HideSingleCentralWidgetTitleBar to enble a central single dock widget in the main dock container (dock manager) without titlebar
...
Added a test case for the new flag to MainWindow.cpp
2020-04-12 01:05:20 +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
661d0c4356
Removed dead code in comment of DockAreaWidget
2020-03-25 14:38:10 +01:00
Uwe Kindler
2c15d5dacd
Fixed regression caused by setDockArea() function removed from DockWidgetTab
2020-02-14 22:56:48 +01:00
Uwe Kindler
f236de3277
Replaced all dynamic_casts with qobject_casts
2020-02-13 18:56:04 +01:00
Uwe Kindler
93394577d0
Merge branch 'master' into custom_titlebar
2020-02-13 13:53:56 +01:00
Uwe Kindler
5b60e39ed3
Removed unneeded functions
2020-02-13 13:04:08 +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
c4872c6b10
Added showcase for custom title bar widget to demo application
2020-02-07 14:29:02 +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
mvidelgauz
6c3f82547d
setAllowedAreas for individual DockAreaWidget ( #107 )
...
* setAllowedAreas for individual DockAreaWidget
* alligning tab policy with master
2020-02-02 15:56:31 +01:00
Rodrigo Oliva
dd06d84206
Add option to always show all tabs ( #102 )
...
* Add option to always show tabs.
* Disable "Detach" context menu option in tab if there is only one tab in the floating container.
2020-01-31 14:27:01 +01:00
Uwe Kindler
29ebc83b35
Some changes for debugging visibility changed stuff
2020-01-15 07:49:22 +01:00