Luca Beldi
e113790bbe
Various fixes after code review
...
Minimum required Qt lowered to 5.5.0
Added CI for Qt 5.5.1 build
Increased C++ standard to C++14
Fixed use of spaces instead of tabs
Removed duplicate constructors
2019-01-25 16:28:36 +00:00
Luca Beldi
b7a5918974
Fixed project files
...
Fixed compilation on compilers that do not support C++14
Only 2 minor places required C++14, no need to impose it
2019-01-16 17:52:53 +00: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
Uwe Kindler
80efed693e
Removed unused DockStateSerialization files, added support for opaque splitter resizing
2018-12-11 15:19:59 +01:00
Uwe Kindler
653f475e72
Removed wrong visibility initialisation of titlebar close button, added hideEmptyParentSplitters() function to properly hide tree of empty parent splitters if DockArea or DockWidget is removed,
2018-12-03 12:52:57 +01:00
Uwe Kindler
87e3777e37
Fixed hiding and showing of close button for tab group, added support for removing perspectives
2018-12-02 12:09:31 +01:00
Uwe Kindler
854f542164
Added global config flags to support different dock manager behaviour
2018-11-08 12:57:25 +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
74b9d35c7b
Fixed start drag distance to be based on QApplication::startDragDistance, fixed dragging of dock widget title bar to support dragging in x and y direction
2018-11-05 09:58:46 +01:00
Uwe Kindler
72ec61a043
Added access functions for the titlebar buttons
2018-11-03 20:51:02 +01:00
Uwe Kindler
bc6ffcc02c
Fixed update of floating widget window title, make disabled close button look nicer, fixed restoring of floating dock container, change save and restore functionality of dock area to save the current dock widget name instead of the current index to ensure that the right dock widget is active in an area if the number of dock widgets changes for some reasons (i.e. in plugin based applications)
2018-11-02 09:19:53 +01:00
Uwe Kindler
a9246f7ce4
Switched to ToolButton instead of PushButtons for Close- and TabsMenu button in dock area title bar
2018-11-01 09:07:10 +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
6617cf6f19
Implemented proper updating of floating widget title
2018-10-30 23:45:59 +01:00
Uwe Kindler
927be9a7d9
Improved detection of dock widget dragging - uses a distance now (half the height of dock area title bar)
2018-10-15 15:09:59 +02: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
9fec2bd515
Fixed chrash on restore state when accessing FloatingWidget that has been marked for deletion (deleteLater())
2018-10-11 13:30:12 +02:00
Uwe Kindler
fc04aa2411
Added some debug output
2018-10-11 13:07:27 +02:00
Uwe Kindler
272bbe275e
Started implementing DockAreaTabBar to improve code, encapsulation and performance
2018-10-10 15:15:59 +02:00
Uwe Kindler
496aec211e
Added new signals restoringState(), stateRestored(), openingPerspective(), perspectiveOpened(), improved restore state function to protect against multiple calls and to prevent show() events for all CDockWidgets and content if the widgets are removed from internal stack layout
2018-09-27 16:21:14 +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
b93e723a83
Fixed problem in FloatingDockContainer.cpp that caused problem when dragging a maximized window, added support for sorted insertion of toggleView actions into vieMenu
2018-09-13 22:19:13 +02:00
Uwe Kindler
aa7b36dbd1
Removed debug output
2018-09-07 12:56:20 +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
0b963d1540
Added support for stylesheet styling of overlay cross icons, fixed problem when dragging a floating widget that was maximized, removed som std::cout debug output
2018-08-28 13:25:44 +02:00
Uwe Kindler
6b93ae9c39
Some refactoring to improve code clarity, renamed DockWidgetTitleBar into DockWidgetTab because in the GUI it is a tab, created new class CDockAreaTabBar for the tabbar of a dock area
2018-08-24 13:41:58 +02:00
Opostol
b470dd5f99
DockManager stateChanged signal introduced(part2)
2018-08-10 15:12:38 +03:00
Uwe Kindler
8a401ebd68
Fixed a bug in restore functionality that caused application crash, added initial support for perspectives
2018-02-13 12:00:58 +01:00
Uwe Kindler
805e97946e
Fixed some issues with restoreState function
2018-02-13 07:28:38 +01:00
Uwe Kindler
dae852d9f9
Implemented XML serialization and loading of docking state
2017-12-29 18:18:16 +01:00
Uwe Kindler
8a014a6c2d
Fixed typo
2017-09-11 10:16:31 +02: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
fd76e9e62b
Improved code documentation
2017-03-29 11:09:05 +02:00
Uwe Kindler
a3ff1ae8ee
Fixed restore procedure and deletion of floating widgts
2017-03-28 22:38:47 +02:00
Uwe Kindler
17dff82d12
Moved stylesheet from demo into main library
2017-03-28 13:05:18 +02:00
Uwe Kindler
9af86c4136
Replaced std:cout based debug output with qDebug()
2017-03-28 12:01:27 +02:00
Uwe Kindler
aa8a52b845
Fixed bug with FloatingWidget deletion, fixed handling of unassigned DockWidgets after restoreState() call
2017-03-28 10:57:03 +02:00
Uwe Kindler
1b1c636107
Improved serialization support
2017-03-27 10:41:27 +02:00
Uwe Kindler
1cd1e7d6ec
Started implementing serialization and deserialization
2017-03-23 15:57:15 +01:00
Uwe Kindler
97571e4be8
Refactoring of project structure
2017-03-12 21:41:50 +01:00