|  | KDDockWidgets API Documentation 1.7
    | 
| Namespaces | |
| namespace | Private | 
| Classes | |
| class | Config | 
| Singleton to allow to choose certain behaviours of the framework.  More... | |
| class | DefaultWidgetFactory | 
| The FrameworkWidgetFactory that's used if none is specified.  More... | |
| class | DockWidget | 
| Represents a dock widget.  More... | |
| class | DockWidgetBase | 
| The DockWidget base-class. DockWidget and DockWidgetBase are only split in two so we can share some code with the QtQuick implementation, which also derives from DockWidgetBase.  More... | |
| class | DockWidgetQuick | 
| Represents a dock widget.  More... | |
| class | FocusScope | 
| Allows to implement a similar functionality to QtQuick's FocusScope item, in QtWidgets.  More... | |
| class | FrameworkWidgetFactory | 
| A factory class for allowing the user to customize some internal widgets. This is optional, and if not provided, a default one will be used, DefaultWidgetFactory.  More... | |
| struct | InitialOption | 
| Struct describing the preferred dock widget size and visibility when adding it to a layout.  More... | |
| class | LayoutGuestWidget | 
| LayoutGuestWidget is the type that Item will host.  More... | |
| class | LayoutSaver | 
| LayoutSaver allows to save or restore layouts.  More... | |
| class | MainWindow | 
| The QMainwindow sub-class that the application should use to be able to dock KDDockWidget::DockWidget instances.  More... | |
| class | MainWindowBase | 
| The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some code with the QtQuick implementation, which also derives from MainWindowBase.  More... | |
| class | MainWindowMDI | 
| MainWindow sub-class which uses MDI as a layout.  More... | |
| class | MDIArea | 
| MDIArea allows to host dock widget in MDI mode. This is an alternative to using a full blown MainWindowMDI. The use case is when you already have a MainWindow (doing normal docking) and you want to add an area where you want to use MDI dock widgets. Instead of docking a MainWindowMDI, you'd just use an MDIArea, and avoid having nested main windows.  More... | |
| class | RubberBandQuick | 
| Typedefs | |
| typedef KDDockWidgets::DockWidgetBase *(* | DockWidgetFactoryFunc) (const QString &name) | 
| typedef KDDockWidgets::DockWidget | DockWidgetType | 
| typedef bool(* | DropIndicatorAllowedFunc) (DropLocation location, const QVector< DockWidgetBase * > &source, const QVector< DockWidgetBase * > &target, DropArea *dropArea) | 
| Function to allow more granularity to disallow where widgets are dropped. | |
| typedef Layouting::Widget_qwidget | LayoutGuestWidgetBase | 
| typedef KDDockWidgets::MainWindowBase *(* | MainWindowFactoryFunc) (const QString &name) | 
| typedef KDDockWidgets::MainWindow | MainWindowType | 
| typedef KDDockWidgets::MainWindow | MDIMainWindowBase | 
| typedef QMainWindow | QMainWindowOrQuick | 
| typedef QWidget | QWidgetOrQuick | 
| typedef bool(* | TabbingAllowedFunc) (const QVector< DockWidgetBase * > &source, const QVector< DockWidgetBase * > &target) | 
| Function to allow the user more granularity to disallow dock widgets to tab together. | |
| typedef QWidget | WidgetType | 
| Functions | |
| static FrameOptions | actualOptions (FrameOptions options) | 
| static QString | iconName (DropLocation loc, bool active) | 
| QString | locationStr (Location loc) | 
| Qt5Qt6Compat::qhashtype | qHash (SideBarLocation loc, Qt5Qt6Compat::qhashtype seed) | 
| void | registerQmlTypes () | 
| static TabWidgetOptions | tabWidgetOptions (FrameOptions options) | 
| typedef KDDockWidgets::DockWidgetBase *(* KDDockWidgets::DockWidgetFactoryFunc) (const QString &name) | 
Definition at line 51 of file QWidgetAdapter.h.
| typedef bool(* KDDockWidgets::DropIndicatorAllowedFunc) (DropLocation location, const QVector< DockWidgetBase * > &source, const QVector< DockWidgetBase * > &target, DropArea *dropArea) | 
Function to allow more granularity to disallow where widgets are dropped.
By default, widgets can be dropped to the outer and inner left/right/top/bottom and center. The client app can however provide a lambda via setDropIndicatorAllowedFunc to block (by returning false) any specific locations they desire.
| location | The drop indicator location to allow or disallow | 
| source | The dock widgets being dragged | 
| target | The dock widgets within an existing docked tab group | 
| dropArea | The target drop area. Can belong to a MainWindow or a FloatingWindow. | 
Definition at line 48 of file QWidgetAdapter.h.
| typedef KDDockWidgets::MainWindowBase *(* KDDockWidgets::MainWindowFactoryFunc) (const QString &name) | 
Definition at line 49 of file QWidgetAdapter.h.
Definition at line 50 of file QWidgetAdapter.h.
Definition at line 47 of file QWidgetAdapter.h.
| typedef QWidget KDDockWidgets::QWidgetOrQuick | 
Definition at line 46 of file QWidgetAdapter.h.
| typedef bool(* KDDockWidgets::TabbingAllowedFunc) (const QVector< DockWidgetBase * > &source, const QVector< DockWidgetBase * > &target) | 
Function to allow the user more granularity to disallow dock widgets to tab together.
| source | The dock widgets being dragged | 
| target | The dock widgets within an existing docked tab group | 
| typedef QWidget KDDockWidgets::WidgetType | 
Definition at line 52 of file QWidgetAdapter.h.
Only here for source-compat with v1.2. Do not use. Use InitialVisibilityOption instead.
| Enumerator | |
|---|---|
| AddingOption_None | |
| AddingOption_StartHidden | |
Definition at line 77 of file KDDockWidgets.h.
Definition at line 255 of file KDDockWidgets.h.
| 
 | strong | 
Definition at line 67 of file KDDockWidgets.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| Classic | The default. | 
| Segmented | Segmented indicators. | 
| None | Don't show any drop indicators while dragging. | 
Definition at line 192 of file KDDockWidgets.h.
Enum describing the different drop indicator types.
Definition at line 230 of file KDDockWidgets.h.
| 
 | strong | 
Definition at line 293 of file KDDockWidgets.h.
| Enumerator | |
|---|---|
| FrameOption_None | |
| FrameOption_AlwaysShowsTabs | |
| FrameOption_IsCentralFrame | |
| FrameOption_IsOverlayed | |
| FrameOption_NonDockable | |
Definition at line 274 of file KDDockWidgets.h.
| 
 | strong | 
| Enumerator | |
|---|---|
| StartVisible | The dock widget is made visible when docked. | 
| StartHidden | Don't show the dock widget when adding it. | 
| PreserveCurrentTab | When adding as tabbed, don't change the current index. | 
Definition at line 83 of file KDDockWidgets.h.
| Enumerator | |
|---|---|
| Location_None | |
| Location_OnLeft | |
| Location_OnTop | 
 | 
| Location_OnRight | 
 | 
| Location_OnBottom | 
 
 | 
Definition at line 44 of file KDDockWidgets.h.
| Enumerator | |
|---|---|
| MainWindowOption_None | |
| MainWindowOption_HasCentralFrame | 
 | 
| MainWindowOption_MDI | 
 | 
| MainWindowOption_HasCentralWidget | 
 | 
Definition at line 53 of file KDDockWidgets.h.
Definition at line 183 of file KDDockWidgets.h.
| 
 | strong | 
Each main window supports 4 sidebars.
| Enumerator | |
|---|---|
| None | |
| North | |
| East | |
| West | |
| South | |
Definition at line 209 of file KDDockWidgets.h.
| Enumerator | |
|---|---|
| SuggestedGeometryHint_None | |
| SuggestedGeometryHint_PreserveCenter | |
| SuggestedGeometryHint_GeometryIsFromDocked | |
Definition at line 200 of file KDDockWidgets.h.
| Enumerator | |
|---|---|
| TabWidgetOption_None | |
| TabWidgetOption_DocumentMode | |
Definition at line 285 of file KDDockWidgets.h.
| 
 | strong | 
describes a type of button you can have in the title bar
| Enumerator | |
|---|---|
| Close | |
| Float | |
| Minimize | |
| Maximize | |
| Normal | |
| AutoHide | |
| UnautoHide | |
Definition at line 218 of file KDDockWidgets.h.
| 
 | static | 
Definition at line 47 of file Frame.cpp.
References KDDockWidgets::Config::Flag_AlwaysShowTabs, FrameOption_AlwaysShowsTabs, and KDDockWidgets::Config::self().
| 
 | static | 
Definition at line 20 of file ClassicIndicatorsWindow.cpp.
References DropLocation_Bottom, DropLocation_Center, DropLocation_Horizontal, DropLocation_Inner, DropLocation_Left, DropLocation_None, DropLocation_Outter, DropLocation_OutterBottom, DropLocation_OutterLeft, DropLocation_OutterRight, DropLocation_OutterTop, DropLocation_Right, DropLocation_Top, and DropLocation_Vertical.
Referenced by KDDockWidgets::DefaultWidgetFactory::iconForButtonType().
Definition at line 309 of file KDDockWidgets.h.
References Location_None, Location_OnBottom, Location_OnLeft, Location_OnRight, and Location_OnTop.
| 
 | inline | 
Definition at line 249 of file KDDockWidgets.h.
| void KDDockWidgets::registerQmlTypes | ( | ) | 
Definition at line 26 of file QmlTypes.cpp.
| 
 | static | 
Definition at line 55 of file Frame.cpp.
References FrameOption_NonDockable, TabWidgetOption_DocumentMode, and TabWidgetOption_None.
 © 2019-2023 Klarälvdalens Datakonsult AB (KDAB)
      © 2019-2023 Klarälvdalens Datakonsult AB (KDAB)
       KDDockWidgets
      KDDockWidgets