* Update to newest version of ADS
* Fix memory leak in DockContainerWidget
Base repository was merged until commit
59b4dfb89c0c9c0e6035fe580088432312ed2d09
Change-Id: I357b21888fe6f0ec2160c8688d84cb7ecdcad079
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Fix minimumSizeHint handling
* Set DockWidget to not force scroll area
* Set background color on dock widgets
* Add setting to activate/deactivate minimumSizeHint handling
* Fix missing ADS changes from last merge
* Fix ADS comments
Task-number: QDS-10925
Change-Id: I7e8e0d2e7c3f9ee6636a2dc0796f6bd1fff3b2ee
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Add transient scroll bar to connections editor
Change-Id: Id4afd661da2fcdeacd2a4a0de0e0b9999c14dec2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
* Add transient scrollbars to all QML based views
* Remove version from QtQuick imports
* Fix missing AssetsLibraryBackend reference in AssetsDelegate
Task-number: QDS-9549
Change-Id: I7ab2e52106efae07caa37763b5b0592cfbf57c2e
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Delete implicit ScrollArea when content widget is deleted in
hideDockWidget()
Base repository commit
2178b52621ed16f9846d6f80ecb59706b9d31921
Change-Id: I2e593f3be77fc8ad988e7882707619803ef70cfc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add drag and drop to auto hide
Base repository was merged until commit
65600a4dcd072fd2773b661823816db6392c34eb
Change-Id: I09dd6613869368d3cf0c701055a6972db915561d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Update to newest version of ADS
* Remove native window and title bar support on linux
Base repository was merged until commit
8d4507e9d83434be976ff8c7bc9f59733937a08d
Task-number: QDS-10242
Change-Id: If74b6b50421be3b759c61b0f76f4a330991f71fa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Task-number: QTBUG-67283
Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
The toggleView() was used as a signal handler for
m_toggleViewAction and as a public method. In the latter
case checking the sender doesn't make any sense.
Add a lambda as a direct signal handler for m_toggleViewAction
and perform a custom modification of the open arg before
calling toggleView().
Simplify setToggleViewActionChecked() implementation.
Change-Id: If3799110b3f1dcf6fe0c653ebcfd23f9716cb2f3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
* Activate new ADS feature focus highlight
* Remove resources.qrc and related *.svg files
* Clean up new and existing source
Base repository was merged until commit
3de877fe5635ff51a6d1205ca98aad85d204427f
Merged changes from base repository include the following:
* Fix wrong current index when removing a widget from DockAreaLayout
* Fix invisible TabWidget for DockWidgets that are not part of a
restored state
* Enable ClickFocus for DockWidget to support focussing in case the
content does not support it
* Move focus related functionality into DockFocusController class
* Add new DockManger config flag FocusStyling
* Add support for focus styling of FloatingWidgetTitleBar
* Improve focus handling when dropping a DockWidget
* Improve highlighting focused DockWidget
* Improve setting of DockWidgetTab focus
* Add styling of focused DockWidget
* Fix docking of floating widgets for macOS
* Fix setting of DockingStateReader file version - use internal file
version instead of user file version
* Fix saveState() and restoreState() version handling to work like the
function from QMainWindow
* Fix escape key handling in native window event function if event
WM_EXITSIZEMOVE occurs
* Implement windows drag handling with native WM_ nonclient area
messages
* Fix showing DockArea when inserting a DockWidget in a hidden DockArea
* Fix setting DockAreaTabBar index to prevent showing of tab 0 when
inserting a DockWidget into an area with no current index tab
* Fix wrong insertion order of DockWidget when dropping a floating
widget to the left or top container drop area
* Fix tab changes position when redocking it to the same position
* Add nullptr check to fix potential nullptr access when closing a
FloatingDockContainer
* Fix single DockArea cannot be split
* Fix visibility issue when adding dock widget after all other dock
widgets have ben closed
* Fix FloatingDragPreview flashing of hidden overlay when dragging the
last visible DockWidget in non opaque docking mode
* Fix FloatingDragPreview preventing dock widget from floating when
dragging over another dock widget
* Fix DockWidget::setWidget function to test for QAbstractScrollArea
instead of QScrollArea. Now setWidget properly supports ItemViews like
QTreeView or QTableView
* Fix wrong display of center drop area when dragging over invisible
dock area title bar
* Fix bug that drop overlay sometimes was not visible when moving the
drag preview over a floating window
* Fix dropping of FloatingDragPreview into center of dock container with
only one single visible dock area. If this happens the dropped dock
widget needs to get tabified
* Fix crash when trying to make a DockWidget floating in non-opaque mode
if the DockWidget is not floatable
* Fix DockWidgetTab to provide the right size when starting floating
* Add DockWidget functions setAsCurrentTab, raise, isCurrentTab,
isTabbed
* Add new config flag HideSingleCentralWidgetTitleBar to enable a
central single dock widget in the main dock container (dock manager)
without titlebar
* Fix DockContainerWidget::hasTopLevelDockWidget() and
DockContainerWidget::topLevelDockArea() to work properly also for the
main non floating dock container
* Fix ElidingLabel to properly support Qt::ElideNone
* Add setElideMode function to DockWidgetTab
* Add setFullScreen(), setNormal() and isFullScreen() function to
DockWidget
* Fix takeWidget() function and fixed setWidget() function to handle
case when there is already a content widget
Task-number: QDS-2180
Change-Id: Ie30648ba329016c91fd19e9b4e12e31e47614b18
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
998fe9fa11939eb28dd021ca11d5302c4fe2a005
28dc374fc25fcf5a4100c7ad929cb8da690530ed
0e88467f94194d5bea209f6ddc364358ab92899e
d0f4ce324890197683869eafda0f3938ae619b8d
c541f2c69b519eceb76ffc54589175c9fd0da8a6
37d305e50d2c0829f031b71a61e290361eea9f07
- Fix/workaround for escape key issue with remaining overlays
- Clean up if statements according to style guide
Task-number: QDS-1883
Change-Id: I44ddaed67458a75aca91bdd74cd2b5890bd23c38
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
- Integrate the newest commits from the base repository
dec170ed24679fd49f9fb54af91f61146838f852
34cb2ae91790fc65ca5c0f7b81bb928de22a32e5
- Cleanup a few if statements
- Cleanup a comment
Change-Id: I158bff610f701e7a30680cfb8383f64475199bbe
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This library is a fork of the following repository
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
Development started from the following commit
1de42a9766134eecd2611c2b4e209d3e0ede74d2
Incorporate all commits until
3ffbbfb6d01ff211d8349027221a19b1419296b5
- Rename variables and files to follow the Qt style guide
- General code cleanup (remove goto, fix typos, add overrides, remove
explicit slots specifier, replace string-based with functor-based
connections, replace dynamic_cast with qobject_cast)
- Replace most preprocessor instructions Q_OS_LINUX/Q_OS_MACOS with
Utils::HostOsInfo
- Remove all QT_VERSION preprocessor instructions below 5.11
- Change loading and storage of workspaces. Store workspaces in
separate file instead of a list in the Settings.ini
- Add workspace dialog, model and view for managing workspaces
- Rename XML tags and use enum/bool instead of ascii art/numbers as
attribute values. Use base64 instead of hex for storing geometry info
- Remove internal style sheets
- Add more build systems (qmake, qbs)
- Adapt copyright header
- Remove unix specific build rules
- Replace ADS_PRINT with QLoggingCategory
- Replace Java-style with STL-style iterators
Change-Id: Icf8c2fbaccec9680df83c6e2100e3446a090a437
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>