Commit Graph

23 Commits

Author SHA1 Message Date
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
Uwe Kindler
3f40c997e5 Improved and fixed handling of CDockWidget::DockWidgetMovable - moving the tab in the tabbar is always allowed, only moving the complete dock widget can be blocked by clearing this flag 2018-08-24 14:04:21 +02:00
Opostol
4188d69356
Dock area currentChanging signal introduced(part1)
currentChanging signal helps to save previous layout state before tab will be changed
2018-08-10 14:46:57 +03:00
Uwe Kindler
f823b67a4a Added support for export of shared library functions to support MSVC builds 2018-07-17 15:11:49 +02:00
Daniel Collin
75ad302d21 Compile and warning fixes for macOS
Number of warnings like this has been fixed

DockWidget.h:62:9: warning: class 'DockContainerWidgetPrivate' was previously declared as a struct [-Wmismatched-tags]

Also in ads_globals.cpp Clang didn’t like how that code setup so I changed it to what I think is the correct way. This would be good to get verified.
2018-05-06 12:45:46 +02:00
Uwe Kindler
dae852d9f9 Implemented XML serialization and loading of docking state 2017-12-29 18:18:16 +01:00
Uwe Kindler
52c23dafd5 Changed license to LGPL v2.1 2017-06-09 22:04:02 +02:00
Uwe Kindler
990d3235c5 Removed external dependencies for build, fixed build system, updated preview images to reflect the current state of the library 2017-03-29 12:18:49 +02:00
Uwe Kindler
a652deba71 Started inserting RootSplitter 2017-03-24 10:18:25 +01:00
Uwe Kindler
1cd1e7d6ec Started implementing serialization and deserialization 2017-03-23 15:57:15 +01:00
Uwe Kindler
16bd1a3bd2 Implemented proper hiding and showing of dock widgets 2017-03-23 10:23:53 +01:00
Uwe Kindler
b6ee26adc2 Improved hide / show functionality of dock widgets 2017-03-22 16:08:44 +01:00
Uwe Kindler
97571e4be8 Refactoring of project structure 2017-03-12 21:41:50 +01:00