KDDockWidgets API Documentation
1.5
|
Namespaces | |
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 | RubberBandQuick |
Typedefs | |
typedef KDDockWidgets::DockWidgetBase *(* | DockWidgetFactoryFunc) (const QString &name) |
typedef KDDockWidgets::DockWidget | DockWidgetType |
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. More... | |
typedef QWidget | WidgetType |
Functions | |
static FrameOptions | actualOptions (FrameOptions options) |
static QString | iconName (DropIndicatorOverlayInterface::DropLocation loc, bool active) |
QString | locationStr (Location loc) |
Qt5Qt6Compat::qhashtype | qHash (SideBarLocation loc, Qt5Qt6Compat::qhashtype seed) |
void | registerQmlTypes () |
typedef KDDockWidgets::DockWidgetBase*(* KDDockWidgets::DockWidgetFactoryFunc) (const QString &name) |
Definition at line 51 of file QWidgetAdapter.h.
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 80 of file KDDockWidgets.h.
Definition at line 239 of file KDDockWidgets.h.
|
strong |
Definition at line 69 of file KDDockWidgets.h.
|
strong |
Enumerator | |
---|---|
Classic | The default. |
Segmented | Segmented indicators. |
None | Don't show any drop indicators while dragging. |
Definition at line 191 of file KDDockWidgets.h.
Enumerator | |
---|---|
FrameOption_None | |
FrameOption_AlwaysShowsTabs | |
FrameOption_IsCentralFrame | |
FrameOption_IsOverlayed | |
FrameOption_NonDockable |
Definition at line 258 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. |
Definition at line 87 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 54 of file KDDockWidgets.h.
Definition at line 182 of file KDDockWidgets.h.
|
strong |
Each main window supports 4 sidebars.
Enumerator | |
---|---|
None | |
North | |
East | |
West | |
South |
Definition at line 210 of file KDDockWidgets.h.
Enumerator | |
---|---|
SuggestedGeometryHint_None | |
SuggestedGeometryHint_PreserveCenter | |
SuggestedGeometryHint_GeometryIsFromDocked |
Definition at line 200 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 220 of file KDDockWidgets.h.
|
static |
Definition at line 46 of file Frame.cpp.
References KDDockWidgets::Config::Flag_AlwaysShowTabs, FrameOption_AlwaysShowsTabs, and KDDockWidgets::Config::self().
|
static |
Definition at line 20 of file ClassicIndicatorsWindow.cpp.
Referenced by KDDockWidgets::DefaultWidgetFactory::iconForButtonType().
Definition at line 270 of file KDDockWidgets.h.
|
inline |
Definition at line 233 of file KDDockWidgets.h.
void KDDockWidgets::registerQmlTypes | ( | ) |
Definition at line 26 of file QmlTypes.cpp.