KDockManager Class Reference
#include <kdockwidget.h>
Inheritance diagram for KDockManager:

Detailed Description
The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set).More or less a helper class for the KDockWidget class set but of interest for some functionality that can be called within a KDockMainWindow or a KDockWidget .
An important feature is the ability to read or save the current state of all things concerning to dockwidgets to KConfig .
The dockmanager is also often used when a certain dockwidget or a child of such dockwidget must be found.
- Author:
- Max Judin (documentation: Falk Brettschneider).
Definition at line 909 of file kdockwidget.h.
Constructor & Destructor Documentation
|
Constructs a dockmanager. Some initialization happen:
Definition at line 1617 of file kdockwidget.cpp. |
|
Destructs a dockmanager.
Definition at line 1672 of file kdockwidget.cpp. |
Member Function Documentation
|
Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are parent of a dockwidget tab group.
Definition at line 1688 of file kdockwidget.cpp. |
|
Signals changes of the docking state of a dockwidget. Usually the dock-toolbar will be updated then. |
|
Definition at line 1020 of file kdockwidget.h. |
|
It's more or less a method that catches several events which are interesting for the dockmanager. Mainly mouse events during the drag process of a dockwidgets are of interest here.
Reimplemented from QObject. Definition at line 1703 of file kdockwidget.cpp. |
|
This method finds out what a widgets' dockwidget is. That means the dockmanager has a look at all dockwidgets it knows and tells you when one of those dockwidgets covers the given widget.
Definition at line 2955 of file kdockwidget.cpp. |
|
Definition at line 2878 of file kdockwidget.cpp. |
|
Works like makeDockVisible() but can be called for widgets that covered by a dockwidget.
Definition at line 1015 of file kdockwidget.h. |
|
Reads the current dock window layout from a DOM tree below the given element.
Definition at line 2311 of file kdockwidget.cpp. |
|
Like writeConfig but reads the whole stuff in. In order to restore a window configuration from a config file, it looks up widgets by name (QObject::name) in the childDock variable of KDockManager. This list in turn contains all KDockWidgets (according to the KDockWidget constructor). So in principle, in order to restore a window layout, one must first construct all widgets, put each of them in a KDockWidget and then call readConfig(). And for all that to work, each widget must have a unique name.
Definition at line 2671 of file kdockwidget.cpp. |
|
Signals a dockwidget is replaced with another one.
|
|
Signals a dockwidget without parent (toplevel) is shown.
|
|
Definition at line 1667 of file kdockwidget.cpp. |
|
Definition at line 3028 of file kdockwidget.cpp. |
|
Operate the splitter with a higher resolution. Off by default. Call this method before you create any dock widgets! If high resolution is used all splitter position parameters are percent*100 instead of percent.
Definition at line 2915 of file kdockwidget.cpp. |
|
Try to preserve the widget's size. Works like KeepSize resize mode of QSplitter. Off by default. Call this method before you create any dock widgets! Definition at line 2905 of file kdockwidget.cpp. |
|
Enables opaque resizing. Opaque resizing defaults to KGlobalSettings::opaqueResize(). Call this method before you create any dock widgets! Definition at line 2895 of file kdockwidget.cpp. |
|
Returns true if the splitter uses the high resolution, false otherwise.
Definition at line 2920 of file kdockwidget.cpp. |
|
Returns true if the KeepSize is enabled, false otherwise.
Definition at line 2910 of file kdockwidget.cpp. |
|
Returns true if opaque resizing is enabled, false otherwise.
Definition at line 2900 of file kdockwidget.cpp. |
|
Saves the current dock window layout into a DOM tree below the given element.
Definition at line 2199 of file kdockwidget.cpp. |
|
Saves the current state of the dockmanager and of all controlled widgets. State means here to save the geometry, visibility, parents, internal object names, orientation, separator positions, dockwidget-group information, tab widget states (if it is a tab group) and last but not least some necessary things for recovering the dockmainwindow state.
Definition at line 2529 of file kdockwidget.cpp. |
The documentation for this class was generated from the following files: