Uwe Kindler
094fa37135
Implemented supprt for customdock area title bar buttons
2020-02-06 00:31:57 +01:00
Uwe Kindler
6a8b26f415
Added function internal::setButtonIcon to unify code for setting DockAreaTitleBar and DockWidgetTab icons
2020-02-05 08:57:57 +01:00
Uwe Kindler
acb423872a
Helper function internal::setToolTip() to remove as many #ifndef QT_NO_TOOLTIP tests as possible to cleanup the code
2020-02-05 08:33:40 +01:00
mvidelgauz
b8ed70fa33
Added DockAreaHideDisabledButtons configuration flag ( #110 )
...
* CInvisibleButton generalized to CTitleBarButton to serve more purposes
* Disabled buttons are hidden if CDockManager::DockAreaHideDisabledButtons set to true
2020-02-05 08:04:27 +01:00
mvidelgauz
1d68e27558
Added DockAreaHasTabsMenuButton and DockAreaHasUndockButton to CDockManager config ( #108 )
...
* Added DockAreaHasUndockButton and DockAreaHasTabsMenuButton configuration flag
2020-02-02 16:22:05 +01:00
Uwe Kindler
9fe8f291fb
Fixed CDockManager::DockAreaHasCloseButton == false issue
2020-02-02 11:16:38 +01:00
Uwe Kindler
2af4b1f75c
Blocked display of context menu when dragging floating widget
2019-12-16 13:56:20 +01:00
Uwe Kindler
3ff154aff1
Added global static icon provider to enable registration of custom icons
2019-10-18 08:31:26 +02:00
Uwe Kindler
b776fc24a6
Fixed sizeHints and sizePolicies to properly support different font sizes i.e. set via QApplication::setFont
2019-09-13 10:25:33 +02:00
Uwe Kindler
2c7764ecf7
Properly implemented flag DockAreaHasCloseButton
2019-09-12 21:24:48 +02:00
Uwe Kindler
bed99eacc2
DockManager configFlags functions are now static because the configuration flags are global, added support for QToolButton as tab close button
2019-09-12 21:15:35 +02:00
Uwe Kindler
c8d4487a95
Improved source code documentation, removed empty main.qrc to silence qmake warning
2019-08-26 07:58:56 +02:00
Jak Erdy - SBI
10fbb6f302
Make debug messages conditional.
...
You can swich it on/off via defining ADS_DEBUG_PRINT
By default massages wouldn't be printed.
2019-07-21 14:53:24 +07:00
Uwe Kindler
b1309da89a
Some changes to fix build for windows
2019-07-12 10:37:14 +02:00
Uwe Kindler
35c1b04c58
Merge branch 'refs/heads/master' into linux_experimental
2019-07-11 15:50:24 +02:00
Uwe Kindler
0de1a9ccae
Properly implemented support for DockWidgetFloatable feature - now detaching a DockWidget or a DockAre that is not floatable is not possible (support for DockWidgetMovable feature is not implemented yet)
2019-07-11 15:12:39 +02:00
Uwe Kindler
e98fd5bcb3
Improved icons for all button, adjusted size of dock marker
2019-05-14 15:32:50 +02:00
Uwe Kindler
a6ed4354a9
Implemented workaround for blurry icons in latest Qt versions
2019-05-10 11:33:26 +02:00
Yozka
6fc8964ffc
set tooltip for titlebar and menu #20
2019-01-23 22:01:30 +05:00
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
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
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
854f542164
Added global config flags to support different dock manager behaviour
2018-11-08 12:57:25 +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
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
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
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
1dfabb3bef
Fixed handling of dock area removal in floating dock container, added close-button.svg icon to enable display of disabled close button
2018-10-31 00:50:18 +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
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