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
shelomentsev
0eca1b0433
Memory leak ( #242 )
...
* Delete widgets without parents in CDockAreaLayout.
* Fixed the place where dock widgets witout parents are destroyed.
2020-08-21 08:08:33 +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
c44d0c87e3
Fixed broken SimpleExample application
2020-08-19 13:38:53 +02:00
Uwe Kindler
c6cf9487ba
Added maximize button svg icon
2020-08-18 20: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
Uwe Kindler
81a0234b05
Added HiveWE editor to showcase applications
2020-08-18 08:01:45 +02:00
Uwe Kindler
f72a8568c5
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-08-17 23:51:14 +02:00
Uwe Kindler
11aec65967
Properly persist the AllowedAreas state of CDockAreaWidget
2020-08-17 23:50:37 +02:00
Nicolas Elie
75841415a3
Update Python bindings ( #231 )
...
* Update Python bindings to reflect changes in 8443414
* [Python] Fix no such signal error for signals with a reference to an object in ads namespace
* [Python] Update examples
2020-07-30 13:44:05 +02:00
Uwe Kindler
edc799bc54
Added D-Tect X software to showcase
2020-07-29 08:09:00 +02:00
githubuser0xFFFF
1d0b20337f
Update README.md
2020-07-23 18:06:57 +02:00
Uwe Kindler
4a6d2d3514
Changed demos to delete the dock manager when the main window is closes to ensure that all floating widgets als "closed" (destroyed)
2020-07-22 11:28:41 +02:00
Some Guy
8443414ae3
Added setHideSingleWidgetTitleBar to DockWidgetArea
2020-07-21 08:20:17 +02:00
Uwe Kindler
81c99745d4
Fixed a bug when dragging a FloatingDragPreview from another floating widget over an empty MainWindow
2020-07-13 09:08:39 +02:00
Uwe Kindler
d6831caea4
Some refatoring in DockFocusController to improve code
2020-07-13 08:43:51 +02: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
0459aff34f
Cleanup of debug messages in DockFocusController
2020-07-10 22:08:28 +02:00
Uwe Kindler
aeb0a27401
Improved code documentation
2020-07-08 08:10:27 +02:00
Uwe Kindler
50e3ef3dd8
Fixed stealing of focus by tab close button
2020-07-08 08:08:50 +02:00
Uwe Kindler
9974256d71
Fixed double emission of focusedDockWidgetChanged() signal
2020-07-07 14:38:03 +02:00
Uwe Kindler
8cf4134125
Some changes to ensure emission of focusedDockWidgetChanged signal
2020-07-06 08:22:48 +02:00
Uwe Kindler
ef5b22c616
Merge branch 'master' into focus_changed_fix
2020-07-06 07:35:08 +02:00
Uwe Kindler
42161c807a
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-07-05 22:29:38 +02:00
Uwe Kindler
acfc96f57c
Properly update DockAreaTabBar geometry if tab text changed
2020-07-05 22:29:13 +02:00
Uwe Kindler
e6e83d5775
Added test for CDockWidget::setWindowTitle function
2020-07-05 21:48:48 +02:00
Nicolas Elie
5b2bc2297b
Update Python bindings and demo to reflect recent changes ( #218 )
...
* Generate Python stubs file for linters
* Sort members of ads namespace in generated __init__.py
* Fix pyi generatation in setup.py if building inplace
* Update sip files and demo
2020-07-04 17:07:48 +02:00
Uwe Kindler
2de3e7e3be
Deferred focusedDockWidgetChanged signal until dock widget becomes visible
2020-07-03 23:24:20 +02:00
Uwe Kindler
0d242297ff
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-07-03 22:22:52 +02:00
Uwe Kindler
e2080b5cfc
Restored default dock manager config flag settings
2020-07-03 22:22:00 +02:00
Uwe Kindler
679fa81f6d
Added new CDockWidget feature flag focusable
2020-07-03 14:55:33 +02:00
Nicolas Elie
6d0f14e1a5
Generate Python stubs file for linters ( #214 )
...
* Generate Python stubs file for linters
* Sort members of ads namespace in generated __init__.py
2020-07-02 07:47:18 +02:00
Uwe Kindler
281127c2c3
Merge remote-tracking branch 'remotes/origin/issue212'
2020-07-01 07:48:36 +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
0948f73bf8
Properly reset DockManager pointer when removing DockWidget from DockManager
2020-06-30 11:45:23 +02:00
Uwe Kindler
4bc1a18db2
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-06-30 10:00:03 +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
d811915a0c
Reset DockArea pointer of DockWidget when removing DockWidget from DockArea
2020-06-29 22:11:37 +02:00
Hannes Schulze
0225563b46
Fix Undefined Behavior in LastAddedAreaCache ( #211 )
2020-06-28 21:07:17 +02:00
Uwe Kindler
da20405a6a
Fixed a compiler warning
2020-06-26 11:34:17 +02:00
Uwe Kindler
ace6d69695
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-06-26 11:19:58 +02:00
Uwe Kindler
7baf0f90e8
Converted dock content creation functions to member functions to allow ui access
2020-06-26 11:19:37 +02:00
Uwe Kindler
2ad92ce958
Removed superfluous code to fix issue #209
2020-06-26 11:18:46 +02:00
Nick D'Ademo
50c4a8ed48
Update CMakeLists.txt ( #204 )
...
Pass header files to add_library() so they appear in the 'qtadvanceddocking' Visual Studio project.
Add path to header files in PUBLIC include build interface so the 'qtadvanceddocking' target can be built in-source in a CMake project.
2020-06-19 20:01:48 +02:00
githubuser0xFFFF
59d6a64098
Update README.md
2020-06-18 09:31:14 +02:00
Uwe Kindler
3de877fe56
Updated linux stylesheet
...
Default linux style uses now the provided SVG buttons for the floating widget title bar close button
2020-06-18 09:21:46 +02:00
Uwe Kindler
e2cebd9dcf
Updated stylesheet to provide uniform look of icons for all platforms
...
added detach-button icon
2020-06-18 08:29:41 +02:00
Uwe Kindler
58744408f0
Switched dock area close button icon to ads specific svg icon
2020-06-14 16:25:18 +02:00