Commit Graph

23 Commits

Author SHA1 Message Date
Uwe Kindler
48382ccd82 Merged the two draging state enumerations into a single one and reused it in FloatingDockContainer 2018-12-20 16:25:30 +01: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
f69af82a49 Implemented context menu for dock widget tab to close or detach tab or to close all other tabs 2018-11-09 10:07:56 +01:00
Uwe Kindler
b3a272110a Some changes for dockwidget tab close button, some refactorings to make insertion of widgets into dock widget easier, added createDefaultToolBar function for creation of toolbar and removed layout flags from CDockWidget 2018-11-08 10:04:29 +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
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
188624440b Fixed proper selection and deselection of current tab in tabbar 2018-11-03 21:48:35 +01:00
Uwe Kindler
72ec61a043 Added access functions for the titlebar buttons 2018-11-03 20:51:02 +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
11e5f9c95a Properly implemented DockAreaTitle bar to encapsulate title bar functionality 2018-10-12 14:51:57 +02:00
Uwe Kindler
9bfb3fbea1 Created new DockAreaTitleBar class to encapsulate all title bar functionality 2018-10-12 13:37:37 +02:00
Uwe Kindler
9c95e34df5 Fixed some bugs in tabbar handling 2018-10-12 11:51:35 +02:00
Uwe Kindler
ceebda7431 Properly implemented tab removal in new DockAreaTabBar class 2018-10-12 10:41:19 +02:00
Uwe Kindler
75288af88c Properly implemented tab moving 2018-10-12 09:17:14 +02:00
Uwe Kindler
7c67d71f68 Fixed DockAreaTabBar.cpp to properly count the contained tabs (ignore stretch item) 2018-10-11 15:23:19 +02:00
Uwe Kindler
c3a5e3ef21 Fixed dropping of floating widgets with multiple dock widgets 2018-10-11 10:55:36 +02:00
Uwe Kindler
0e85431405 Changed stylesheet to highlight the active tab to improve debugging 2018-10-11 09:21:01 +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
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
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