Uwe Kindler
ffa0105d3e
Fixed emission perspectiveListChanged signal after loading of perspective list and added perspectiveListLoaded signal
2021-04-13 07:05:17 +02:00
Walter Bormans
e66ef604a7
Removes reliance on special Qt keywords. ( #295 )
...
This allows Qt Advanced Docking system to be compiled with the QT_NO_KEYWORDS definition.
This can help avoid conflicts with other dependancies for a project.
Co-authored-by: Walter Bormans <walter.bormans@paradoxcat.com>
2021-01-15 09:08:27 +01:00
Christian Seiler
0e3c3bab45
DockManager: add the ability to programmatically update splitter sizes ( #266 )
...
Add the ability to programmatically update splitter sizes. The user must
specify the dock area that is contained in a splitter and a list of
sizes. The list of sizes will be passed to the splitter that immediately
contains the specified dock area. If the dock area is not part of a
splitter the method will have no effect.
Co-authored-by: Christian Seiler <c.seiler@luxflux.de>
2020-10-23 20:59:50 +02:00
Uwe Kindler
c370875128
Properly implemented save and restore with central widget
2020-09-21 10:51:02 +02:00
Uwe Kindler
f645fe725a
Added dockWidgetAdded signal to CDockManager
2020-09-18 08:25:47 +02:00
Uwe Kindler
fdedd7d92a
Added focusedDockWidget() function to DockManager
2020-09-07 08:17:07 +02:00
Uwe Kindler
059a055483
Renamed FloatingContainerForceCustomTitleBar to
...
FloatingWidgetForceQWidgetTitleBar
2020-08-31 09:48:32 +02:00
helywin
533d174abc
Finished implementing maximize for linux.
...
Added FloatingContainerForc*TitleBar to switch between native and custom titlebar.
Co-authored-by: SleepProgger <SleepProgger@users.noreply.github.com>
2020-08-29 05:03:21 +02:00
Uwe Kindler
835a532e75
Corrected constness of some functions, changed signatur of setCentralWidget function
2020-08-24 10:22:12 +02:00
hulswit
14c29f695c
Central widget update
...
Updated the setting of central widget with option to set where the possible old central widget will be placed. Fixed option of "unsetting" central widget by setting it to nullptr.
2020-08-21 13:30:59 +02:00
hulswit
1a11e5ddcd
Central Widget concept added
...
Adde option to set a dock widget as central widget. It influences resizing behavior of the splitters. The central widget will be stretched with the main window and remaing dock widgets and threir respective areas will be resized only vertically if docked left or right and horizontaly if docked top or bottom
2020-08-20 16:36:02 +02:00
Uwe Kindler
c78cc17730
Properly persist dock area HideSingleWidgetTitleBar flag (and all other dock area flags)
2020-08-18 10:48:35 +02:00
Nicolas Elie
75841415a3
Update Python bindings ( #231 )
...
* Update Python bindings to reflect changes in 8443414
* [Python] Fix no such signal error for signals with a reference to an object in ads namespace
* [Python] Update examples
2020-07-30 13:44:05 +02:00
Uwe Kindler
ffed6a9c5f
Merged pull request #201 but made it configurable via config flag
2020-06-14 10:39:07 +02:00
Uwe Kindler
e71884b23d
Replaced configFlags().testFlag() with testConfigFlag() to improve code readibility
2020-06-11 08:06:37 +02:00
Uwe Kindler
312a8cf500
Enabled ClickFocus for CDockWidget to support focussing in case the content does not support it
...
Renamed FocusStyling to FocusHighlighting
2020-06-06 14:59:03 +02:00
Uwe Kindler
f5c4b26aab
Moved focus related functionality into CDockFocusController class to keep the dock manager code clean
2020-06-05 20:42:43 +02:00
Uwe Kindler
f90f0b0427
Properly implemented focusedDockWidgetChanged() signal
2020-06-05 12:14:26 +02:00
Uwe Kindler
a65b1bdcaf
Removed new dropped signals
2020-06-05 07:27:44 +02:00
Uwe Kindler
4041aa72cc
Implemented proper support for setting floating widget focused widget
2020-06-05 06:55:43 +02:00
Uwe Kindler
45390506dd
Continued implementation
2020-06-04 20:40:23 +02:00
Uwe Kindler
a3e979a8ad
Disabled setFocus in CDockWidget::setActiveTab
2020-06-03 19:49:57 +02:00
Uwe Kindler
adb72737e8
Merge branch 'version_fix' into focused_dockwidget
2020-06-03 17:53:05 +02:00
Uwe Kindler
8b6df4aaa5
Fixed saveState() and restoreState() version handling to work like the function from QMainWindow
2020-06-03 07:25:09 +02:00
Uwe Kindler
ae999f132e
Improved focus styling
2020-05-23 14:45:49 +02:00
Uwe Kindler
5652c8440e
Added new CDockManger config flag FocusStyling
2020-05-23 11:10:03 +02:00
Uwe Kindler
79cb889d83
Improved focus style handling
2020-05-17 08:51:58 +02:00
Uwe Kindler
c5333a2414
Merge branch 'master' into focused_dockwidget
2020-05-14 07:34:31 +02:00
Uwe Kindler
7c03b1b936
Fixed gcc compiler warning caused by supefluous extra semi-colon by all QT_FORWARD_DECLARE_CLASS statements
2020-05-14 07:27:48 +02:00
Patrick Stewart
04ca4ae674
Support for Qt built with the -qtnamespace configure option ( #170 )
2020-05-13 23:26:05 +02:00
Uwe Kindler
3a0c2a3113
Some refactorings in onFocusChanged() to improve code readibility
2020-05-13 22:51:44 +02:00
Uwe Kindler
4c75168152
Improved focus setting when closing a dock area widget
2020-05-13 13:18:05 +02:00
Uwe Kindler
056e1ef947
Improved highlighting focused dock widget
2020-05-13 11:17:43 +02:00
Uwe Kindler
067338ef23
Enable styling of focused dockwidget
2020-05-10 19:30:34 +02:00
Uwe Kindler
a4fbaf413b
Fixed source documentation of DockAreaDynamicTabsMenuButtonVisibility flag
2020-04-24 09:31:13 +02:00
Uwe Kindler
ddbdb83821
Added documentation for DockAreaHideDisabledButtons flag
2020-04-22 12:03:58 +02:00
Uwe Kindler
a668fe2f73
Added new config flag HideSingleCentralWidgetTitleBar to enble a central single dock widget in the main dock container (dock manager) without titlebar
...
Added a test case for the new flag to MainWindow.cpp
2020-04-12 01:05:20 +02:00
Uwe Kindler
542618fd4e
Removed unneeded includes from DockManager.h and fixed includes to use "" instead of <> to prvent conflicts with external libraries
2020-03-26 06:53:13 +01:00
Uwe Kindler
708add3ff5
Fixed two linter warnings in CDockManager
2020-03-12 08:01:57 +01:00
Uwe Kindler
f3c5d51380
Improved documentation for setting dock manager flags
2020-02-26 13:25:17 +01:00
Sanakan8472
3428a4b8b4
Added CDockManager::floatingWidgetCreated event ( #121 )
...
This allows to subscribe to events of the newly created window.
A common use case is to show a message box if a dock container with many modified documents in it is closed. This allows for the user to decide whether he wants to save / discard all the changes or cancel the closing of the window.
2020-02-17 08:15:11 +01:00
Uwe Kindler
f387c6aebc
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-02-13 13:51:11 +01:00
Uwe Kindler
ff1439c719
Added CDockComponentsFactory for creation of components for the docking framework
2020-02-11 08:32:49 +01:00
mvidelgauz
7ba20f37b7
Icon of floating window ( #116 )
...
* FloatingContainerHasWidgetTitle and FloatingContainerHasWidgetIcon config flags
2020-02-10 20:07:36 +01:00
Uwe Kindler
8a16230213
Merge branch 'master' of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
2020-02-07 22:54:02 +01:00
Rodrigo Oliva
2770837adc
Added missing overrides. ( #113 )
2020-02-07 14:41:35 +01:00
Uwe Kindler
b61f50982a
Moved title bar dragging code from DockAreaTabBar into DockAreaTitleBar
2020-02-07 12:16:26 +01:00
mvidelgauz
474dd13855
Disable tabs menu button when only single tab exists in a Dock area ( #111 )
2020-02-06 15:21:19 +01:00
Uwe Kindler
505f14a601
Improved code for generation of default configuration flags
2020-02-05 08:16:07 +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