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
Uwe Kindler
03bd4a4505
Added visibilityChanged code
2020-01-14 15:58:45 +01:00
Uwe Kindler
a5e8011222
Implemented custom close handling
2020-01-06 11:42:36 +01:00
Uwe Kindler
0305d8a221
Experimental implementation of close request
2020-01-03 18:13:34 +01:00
Uwe Kindler
5e230d8874
Closing a dock area with only one single dock widget that has the DockWidgetDeleteOnCloseFeature will delete the dock widget and the area now
2019-12-11 16:06:07 +01:00
Uwe Kindler
05f8ce15a2
Added support for dock widget feature DockWidgetDeleteOnClose, added toolbar action for creation of dynamic editors to demo appication, added new material design icons to improve demo gui
2019-12-10 14:44:44 +01:00
Uwe Kindler
b353c210ee
Added dockAreaCreated signal that is emitted whenever a new dock area is created - this allows an application to set custom icons and tooltips for the title bar buttons
2019-11-22 21:53:17 +01:00
Yozka
ae96bbc0a0
include file path change
2019-10-06 23:47:36 +02:00
Uwe Kindler
c8d4487a95
Improved source code documentation, removed empty main.qrc to silence qmake warning
2019-08-26 07:58:56 +02:00
Jak Erdy - SBI
10fbb6f302
Make debug messages conditional.
...
You can swich it on/off via defining ADS_DEBUG_PRINT
By default massages wouldn't be printed.
2019-07-21 14:53:24 +07:00
Uwe Kindler
0de1a9ccae
Properly implemented support for DockWidgetFloatable feature - now detaching a DockWidget or a DockAre that is not floatable is not possible (support for DockWidgetMovable feature is not implemented yet)
2019-07-11 15:12:39 +02:00
Tibo Clausen
641946bff5
Add CDockManager::removeDockWidget()
2019-05-15 13:47:58 +01:00