Skip to content

Commit 646211c

Browse files
authored
Merge branch 'master' into forceclose
2 parents 40636d1 + 423bab9 commit 646211c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2154
-263
lines changed

.github/workflows/linux-builds.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
run: |
1717
sudo apt-get update --fix-missing
1818
sudo apt-get install qt5-default
19+
sudo apt-get install libqt5x11extras5-dev
1920
- name: qmake
2021
run: qmake
2122
- name: make

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,4 @@ MigrationBackup/
382382
FodyWeavers.xsd
383383
/ build
384384
/Settings.ini
385+
.vscode/settings.json

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ matrix:
99
os: linux
1010
dist: trusty
1111
group: stable
12+
before_install:
13+
- sudo apt-get install libqt5x11extras5-dev
1214
addons:
1315
apt:
1416
sources:
@@ -18,6 +20,7 @@ matrix:
1820
packages:
1921
- qt55base
2022
- qt55tools
23+
- qt55x11extras
2124
- gcc-9
2225
- g++-9
2326
script:
@@ -35,6 +38,8 @@ matrix:
3538
services:
3639
- xvfb
3740
compiler: gcc
41+
before_install:
42+
- sudo apt-get install libqt5x11extras5-dev
3843
addons:
3944
apt:
4045
sources:
@@ -44,6 +49,7 @@ matrix:
4449
packages:
4550
- qt514base
4651
- qt514tools
52+
- qt514x11extras
4753
- gcc-9
4854
- g++-9
4955
- libc6-i386
@@ -66,6 +72,8 @@ matrix:
6672
- xvfb
6773
compiler: gcc
6874
addons:
75+
before_install:
76+
- sudo apt-get install libqt5x11extras5-dev
6977
apt:
7078
sources:
7179
- ubuntu-toolchain-r-test
@@ -74,6 +82,7 @@ matrix:
7482
packages:
7583
- qt514base
7684
- qt514tools
85+
- qt514x11extras
7786
- gcc-9
7887
- g++-9
7988
- libc6-i386
@@ -95,6 +104,8 @@ matrix:
95104
services:
96105
- xvfb
97106
compiler: gcc
107+
before_install:
108+
- sudo apt-get install libqt5x11extras5-dev
98109
addons:
99110
apt:
100111
sources:
@@ -104,6 +115,7 @@ matrix:
104115
packages:
105116
- qt514base
106117
- qt514tools
118+
- qt514x11extras
107119
- gcc-9
108120
- g++-9
109121
- libc6-i386
@@ -131,6 +143,8 @@ matrix:
131143
services:
132144
- xvfb
133145
compiler: gcc
146+
before_install:
147+
- sudo apt-get install libqt5x11extras5-dev
134148
addons:
135149
apt:
136150
sources:
@@ -140,6 +154,7 @@ matrix:
140154
packages:
141155
- qt514base
142156
- qt514tools
157+
- qt514x11extras
143158
- gcc-9
144159
- g++-9
145160
- libc6-i386

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Advanced Docking System for Qt
22

3-
[![Build Status](https://travis-ci.org/githubuser0xFFFF/Qt-Advanced-Docking-System.svg?branch=master)](https://travis-ci.org/githubuser0xFFFF/Qt-Advanced-Docking-System)
3+
[![Build status](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/workflows/linux-builds/badge.svg)](https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/actions?query=workflow%3Alinux-builds)
44
[![Build status](https://ci.appveyor.com/api/projects/status/qcfb3cy932jw9mpy/branch/master?svg=true)](https://ci.appveyor.com/project/githubuser0xFFFF/qt-advanced-docking-system/branch/master)
55
[![License: LGPL v2.1](https://img.shields.io/badge/License-LGPL%20v2.1-blue.svg)](gnu-lgpl-v2.1.md)
66

@@ -59,6 +59,7 @@ know it from Visual Studio.
5959
- [QmixElements](#qmixelements)
6060
- [ezEditor](#ezeditor)
6161
- [D-Tect X](#d-tect-x)
62+
- [HiveWE](#hivewe)
6263

6364
### Docking everywhere - no central widget
6465

@@ -312,36 +313,48 @@ If this project help you reduce time to develop or if you just like it, you can
312313
From version 4.12 on, Qt Creator uses the Advanced Docking Framework for its
313314
Qt Quick Designer. This improves the usability when using multiple screens.
314315
315-
![Qt Creator](doc/qtcreator.png)
316+
![Qt Creator](doc/showcase_qtcreator.png)
316317
317318
### [Qt Design Studio](https://www.qt.io/ui-design-tools)
318319
319320
Taken from the [Qt Blog](https://www.qt.io/blog/qt-design-studio-1.5-beta-released):
320321
321322
> The most obvious change in [Qt Design Studio 1.5](https://www.qt.io/blog/qt-design-studio-1.5-beta-released) is the integration of dock widgets using the Qt Advanced Docking System. This allows the user to fully customize the workspace and also to undock any view into its own top level window. This especially improves the usability when using multiple screens.
322323
323-
![Qt Design Studio](doc/qt_design_studio.png)
324+
![Qt Design Studio](doc/showcase_qt_design_studio.png)
324325
325326
### [QmixElements](https://www.cetoni.com/products/qmixelements/)
326327
327328
The QmixElements software from [CETONI](https://www.cetoni.com) is a comprehensive,
328329
plugin-based and modular laboratory automation software for controlling CETONI devices using a joint graphical user interface. The software features a powerful script system to automate processes. This [blog post](https://www.cetoni.com/blog/qmixelements-advanced-docking-system/) gives a nice overview about the use of the Qt
329330
Advanced Docking System in the QmixElements sofware.
330331
331-
![QmixElements](doc/qmix_elements.png)
332+
![QmixElements](doc/showcase_qmix_elements.png)
332333
333334
### [ezEditor](https://github.com/ezEngine/ezEngine)
334335
335336
The ezEditor is a full blown graphical editor used for editing scenes and
336337
importing and authoring assets for the [ezEngine](https://github.com/ezEngine/ezEngine) -
337338
an open source C++ game engine in active development.
338339
339-
![ezEditor](doc/ezEngine_editor.png)
340+
![ezEditor](doc/showcase_ezEngine_editor.png)
340341
341342
### [D-Tect X](https://www.duerr-ndt.com/products/ndt-software/d-tect-xray-inspection-software.html)
342343
343344
D-Tect X is a X-ray inspection software for industrial radiography. It is a state-of-the-art 64-bit application which supports GPU (Graphics Processing Unit) acceleration and takes full advantage of computers with multiple CPU cores. A large set of tools assist the user in image analysis and evaluation. Thanks to the Qt Advanced Docking System the flexible and intuitive user interface can be completely customized to each user’s preference.
344345
345346
[learn more...](https://www.duerr-ndt.com/products/ndt-software/d-tect-xray-inspection-software.html)
346347
347-
![D-TectX](doc/d-tect-x.jpg)
348+
![D-TectX](doc/showcase_d-tect-x.jpg)
349+
350+
### [HiveWE](https://github.com/stijnherfst/HiveWE)
351+
352+
HiveWE is a Warcraft III world editor. It focusses on speed and ease of use,
353+
especially for large maps where the regular World Editor is often too slow and clunky.
354+
It has a JASS editor with syntax hightlighting, tabs, code completion and more.
355+
The JASS editor uses the Qt Advanced Docking System for the management and layout
356+
of the open editor windows.
357+
358+
[learn more...](https://github.com/stijnherfst/HiveWE)
359+
360+
![HiveWE](doc/showcase_hivewe.png)

adsConfig.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ include(CMakeFindDependencyMacro)
22
find_dependency(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED)
33
find_dependency(Qt5Gui ${REQUIRED_QT_VERSION} REQUIRED)
44
find_dependency(Qt5Widgets ${REQUIRED_QT_VERSION} REQUIRED)
5+
find_dependency(Qt5X11Extras ${REQUIRED_QT_VERSION} REQUIRED)
56
include("${CMAKE_CURRENT_LIST_DIR}/adsTargets.cmake")

demo/MainWindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ void MainWindowPrivate::createContent()
400400
ads::CDockComponentsFactory::setFactory(new CCustomComponentsFactory());
401401
auto TopDockArea = DockManager->addDockWidget(ads::TopDockWidgetArea, FileSystemWidget);
402402
// Uncomment the next line if you would like to test the
403-
// setHideSingleWidgetTitleBar() functionality
404-
// TopDockArea->setHideSingleWidgetTitleBar(true);
403+
// HideSingleWidgetTitleBar functionality
404+
// TopDockArea->setDockAreaFlag(ads::CDockAreaWidget::HideSingleWidgetTitleBar, true);
405405
ads::CDockComponentsFactory::resetDefaultFactory();
406406

407407
// We create a calendar widget and clear all flags to prevent the dock area

demo/demo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ def create_content(self):
202202
# Test custom factory - we inject a help button into the title bar
203203
QtAds.CDockComponentsFactory.setFactory(CCustomComponentsFactory())
204204
top_dock_area = self.dock_manager.addDockWidget(QtAds.TopDockWidgetArea, file_system_widget)
205+
# Uncomment the next line if you would like to test the
206+
# setHideSingleWidgetTitleBar() functionality
207+
# top_dock_area.setHideSingleWidgetTitleBar(True)
205208
QtAds.CDockComponentsFactory.resetDefaultFactory()
206209

207210
# We create a calendar widget and clear all flags to prevent the dock area
@@ -310,6 +313,7 @@ def create_actions(self):
310313

311314
def closeEvent(self, event: QCloseEvent):
312315
self.save_state()
316+
self.dock_manager.deleteLater()
313317
super().closeEvent(event)
314318

315319
def on_actionSaveState_triggered(self, state: bool):
File renamed without changes.
File renamed without changes.

doc/showcase_hivewe.png

208 KB
Loading

0 commit comments

Comments
 (0)