Debian Codegraph @

doc/ads_qt_marketplace_description.md

raw symbols SCIP
1 # Advanced Docking System for Qt
2
3 Qt Advanced Docking System lets you create customizable layouts using a full
4 featured window docking system similar to what is found in many popular
5 integrated development environments (IDEs) such as Visual Studio.
6
7 [![Video Advanced Docking](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/advanced-docking_video.png)](https://www.youtube.com/watch?v=7pdNfafg3Qc)
8
9 Everything is implemented with standard Qt functionality without any
10 platform specific code. Basic usage of QWidgets and QLayouts and using basic
11 styles as much as possible.
12
13 ## Features
14
15 ### Docking everywhere - with or without a central widget
16
17 The Advanced Docking System works with or without a central widget.
18 You can dock on every border of the main window or you can dock into each dock area - so you are
19 free to dock almost everywhere.
20
21 ![Dropping widgets](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/preview-dragndrop.png)
22
23 ![Dropping widgets](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/preview-dragndrop_dark.png)
24
25 ### Docking inside floating windows
26
27 There is no difference between the main window and a floating window. Docking
28 into floating windows is supported.
29
30 ![Docking inside floating windows](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/floating-widget-dragndrop.png)
31
32 ![Docking inside floating windows](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/floating-widget-dragndrop_dark.png)
33
34 ### Grouped dragging
35
36 When dragging the titlebar of a dock, all the tabs that are tabbed with it are
37 going to be dragged. So you can move complete groups of tabbed widgets into
38 a floating widget or from one dock area to another one.
39
40 ![Grouped dragging](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/grouped-dragging.gif)
41
42 ![Grouped dragging](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/grouped-dragging_dark.png)
43
44 ### Perspectives for fast switching of the complete main window layout
45
46 A perspective defines the set and layout of dock windows in the main
47 window. You can save the current layout of the dockmanager into a named
48 perspective to make your own custom perspective. Later you can simply
49 select a perspective from the perspective list to quickly switch the complete
50 main window layout.
51
52 ![Perspective](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/perspectives.gif)
53
54 ![Perspective](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/perspectives_dark.png)
55
56 ### Opaque and non-opaque splitter resizing
57
58 The advanced docking system uses standard QSplitters as resize separators and thus supports opaque and non-opaque resizing functionality of QSplitter. In some rare cases, for very complex widgets or on slow machines resizing via separator on the fly may cause flicking and glaring of rendered content inside a widget. The global dock manager flag `OpaqueSplitterResize` configures the resizing behaviour of the splitters. If this flag is set, then widgets are resized dynamically (opaquely) while interactively moving the splitters.
59
60 ![Opaque resizing](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/opaque_resizing.gif)
61
62 If this flag is cleared, the widget resizing is deferred until the mouse button is released - this is some kind of lazy resizing separator.
63
64 ![Non-opaque resizing](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/non_opaque_resizing.gif)
65
66 ### Opaque and non-opaque undocking
67
68 By default, opaque undocking is active. That means, as soon as you drag a dock widget or a dock area with a number of dock widgets it will be undocked and moved into a floating widget and then the floating widget will be dragged around. That means undocking will take place immediately. You can compare this with opaque splitter resizing. If the flag `OpaqueUndocking` is cleared, then non-opaque undocking is active. In this mode, undocking is more like a standard drag and drop operation. That means, the dragged dock widget or dock area is not undocked immediately. Instead, a drag preview widget is created and dragged around to indicate the future position of the dock widget or dock area. The actual dock operation is only executed when the mouse button is released. That makes it possible, to cancel an active drag operation with the escape key.
69
70 The drag preview widget can be configured by a number of global dock manager flags:
71
72 - `DragPreviewIsDynamic`: if this flag is enabled, the preview will be adjusted dynamically to the drop area
73 - `DragPreviewShowsContentPixmap`: the created drag preview window shows a static copy of the content of the dock widget / dock are that is dragged
74 - `DragPreviewHasWindowFrame`: this flag configures if the drag preview is frameless like a QRubberBand or looks like a real window
75
76 The best way to test non-opaque undocking is to set the standard flags: `CDockManager::setConfigFlags(CDockManager::DefaultNonOpaqueConfig)`.
77
78 ### Tab-menu for easy handling of many tabbed dock widgets
79
80 Tabs are a good way to quickly switch between dockwidgets in a dockarea. However, if the number of dockwidgets in a dockarea is too large, this may affect the usability of the tab bar. To keep track in this situation, you can use the tab menu. The menu allows you to quickly select the dockwidget you want to activate from a drop down menu.
81
82 ![Tab menu](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/tab_menu.gif)
83
84 ### Many different ways to detach dock widgets
85
86 You can detach dock widgets and also dock areas in the following ways:
87
88 - by dragging the dock widget tab or the dock area title bar
89 - by double clicking the tab or title bar
90 - by using the detach menu entry from the tab and title bar drop down menu
91
92 ### Supports deletion of dynamically created dock widgets
93
94 Normally clicking the close button of a dock widget will just hide the widget and the user can show it again using the toggleView() action of the dock widget. This is meant for user interfaces with a static amount of widgets. But the advanced docking system also supports dynamic dock widgets that will get deleted on close. If you set the dock widget flag `DockWidgetDeleteOnClose` for a certain dock widget, then it will be deleted as soon as you close this dock widget. This enables the implementation of user interfaces with dynamically created editors, like in word processing applications or source code development tools.
95
96 ### Python PyQt5 Bindings
97
98 ![Python Logo](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/python_logo.png)
99
100 The Advanced Docking System comes with a complete Python integration based on
101 PyQt5 bindings. The package is available via [conda-forge](https://github.com/conda-forge/pyqtads-feedstock).