Commit Graph

48 Commits

Author SHA1 Message Date
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
b9265fccec Properly implemented setting enable state of dock area close button 2018-11-08 12:22:15 +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
a4838a41ac Added ElidingLabel to support text eliding for dock area tabs, removed debug output 2018-11-05 12:00:56 +01:00
Uwe Kindler
c973482b2b Properly implemented showing and hiding of TitleBarUndockButton 2018-11-05 09:07:18 +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
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
5e6c82b68d Started implementing VisibleDockAreaCount cache 2018-11-01 07:53:54 +01:00
Uwe Kindler
6617cf6f19 Implemented proper updating of floating widget title 2018-10-30 23:45:59 +01: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
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
c3a5e3ef21 Fixed dropping of floating widgets with multiple dock widgets 2018-10-11 10:55:36 +02:00
Uwe Kindler
b3b6d20d96 Added dockWidgets() function to DockContainerWidget.h because invisible dock widgets are no children of a dock area and therefore FindChildrenRecursively() does not work 2018-10-11 08:54:32 +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
fcb1846bf5 Fixed resizing of dropped widget to the size of the dock overlay, small improve to improve performance when dropping into a container with many widgets 2018-09-14 15:02:47 +02:00
Uwe Kindler
9f1b2c122a Fixed showing and hiding of dock widget title bar. If a dock widget is the one and only visible widget in a FloatingDockContainer, then this widget does not have a tile bar because the window already has a window frame that provides the same functionality 2018-09-14 13:21:29 +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
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
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
9676eeb1bf Fixed removeDockArea function, fixed bug when docking into empty container, fix several small bugs, improved code documentation 2017-09-06 15:45:22 +02:00
Uwe Kindler
b9257bbe93 Some small fixes to ignore title bar docking if we are over a container drop indicator - this caused come confusion during docking 2017-09-01 16:14:43 +02:00
Uwe Kindler
52c23dafd5 Changed license to LGPL v2.1 2017-06-09 22:04:02 +02:00
Uwe Kindler
844c853768 Fixed a bug with shoing and hiding empty splitters, added some pictures to main page 2017-03-29 15:45:36 +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
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
9adc524a42 Fixed creation of superfluous splitter when docking into container 2017-03-28 08:48:44 +02:00
Uwe Kindler
c5ea5c80b1 Fixed display of drop overlay 2017-03-27 13:18:16 +02:00
Uwe Kindler
1b1c636107 Improved serialization support 2017-03-27 10:41:27 +02:00
Uwe Kindler
2277ba3630 Added initial support for serialization 2017-03-24 16:17:55 +01:00
Uwe Kindler
5dcd15e2b9 Implemented RootSplitter 2017-03-24 12:54:43 +01: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
239bd4781b Added signals for dock area added and removed 2017-03-13 15:34:40 +01:00
Uwe Kindler
97571e4be8 Refactoring of project structure 2017-03-12 21:41:50 +01:00