KDDockWidgets API Documentation 2.0
|
#include <ViewFactory_c.h>
Public Member Functions | |
ViewFactory_wrapper () | |
~ViewFactory_wrapper () | |
virtual KDDockWidgets::Core::ClassicIndicatorWindowViewInterface * | createClassicIndicatorWindow (KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
Creates the window that will show the actual drop indicators. They need a higher z-order, so this is actually a separate window, not parented to the main window. | |
virtual KDDockWidgets::Core::ClassicIndicatorWindowViewInterface * | createClassicIndicatorWindow_nocallback (KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
virtual KDDockWidgets::Core::View * | createDockWidget (const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options={}, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions={}, Qt::WindowFlags windowFlags={}) const |
virtual KDDockWidgets::Core::View * | createDockWidget_nocallback (const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options={}, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions={}, Qt::WindowFlags windowFlags={}) const |
virtual KDDockWidgets::Core::View * | createDropArea (KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) const |
Called by the framework to create a DropArea view. | |
virtual KDDockWidgets::Core::View * | createDropArea_nocallback (KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) const |
virtual KDDockWidgets::Core::View * | createFloatingWindow (KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent=nullptr, Qt::WindowFlags windowFlags={}) const |
Called by the framework to create a FloatingWindow view Override to provide your own FloatingWindow sub-class. | |
virtual KDDockWidgets::Core::View * | createFloatingWindow_nocallback (KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent=nullptr, Qt::WindowFlags windowFlags={}) const |
virtual KDDockWidgets::Core::View * | createGroup (KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
Called by the framework to create a Frame view Override to provide your own Frame sub-class. A group is the widget that holds the titlebar and tab-widget which holds the DockWidgets. | |
virtual KDDockWidgets::Core::View * | createGroup_nocallback (KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
virtual KDDockWidgets::Core::View * | createRubberBand (KDDockWidgets::Core::View *parent) const |
Called by the framework to create a RubberBand view to show as drop zone. | |
virtual KDDockWidgets::Core::View * | createRubberBand_nocallback (KDDockWidgets::Core::View *parent) const |
virtual KDDockWidgets::Core::View * | createSeparator (KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
Called by the framework to create a Separator view Override to provide your own Separator sub-class. The Separator allows the user to resize nested dock widgets. | |
virtual KDDockWidgets::Core::View * | createSeparator_nocallback (KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
virtual KDDockWidgets::Core::View * | createSideBar (KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent) const |
Called by the framework to create a SideBar view. | |
virtual KDDockWidgets::Core::View * | createSideBar_nocallback (KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent) const |
virtual KDDockWidgets::Core::View * | createStack (KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent) const |
Called by the framework to create a Stack view Override to provide your own Stack sub-class. | |
virtual KDDockWidgets::Core::View * | createStack_nocallback (KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent) const |
virtual KDDockWidgets::Core::View * | createTabBar (KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent=nullptr) const |
Called by the framework to create a TabBar view Override to provide your own TabBar sub-class. | |
virtual KDDockWidgets::Core::View * | createTabBar_nocallback (KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent=nullptr) const |
virtual KDDockWidgets::Core::View * | createTitleBar (KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent) const |
Called by the framework to create a TitleBar view Override to provide your own TitleBar sub-class. Just forward the controller and parent arguments to the TitleBar view ctor. | |
virtual KDDockWidgets::Core::View * | createTitleBar_nocallback (KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent) const |
Public Member Functions inherited from KDDockWidgets::Core::ViewFactory | |
ViewFactory ()=default | |
virtual | ~ViewFactory () |
Destructor. Don't delete ViewFactory directly, it's owned by the framework. | |
virtual KDDockWidgets::Core::Action * | createAction (Core::DockWidget *, const char *debugName) const =0 |
Creates a QAction if QtWidgets, or an equivalent fallback if QtQuick/Flutter Not needed to be overridden by users. | |
virtual View * | createDockWidget (const QString &uniqueName, DockWidgetOptions options={}, LayoutSaverOptions layoutSaverOptions={}, Qt::WindowFlags windowFlags={}) const =0 |
Creates a dock widget. This is only used by MainWindow's persistent widget feature. In all other cases users will instantiate DockWidget directly. | |
virtual View * | createMDILayout (Core::MDILayout *, View *parent) const =0 |
Called by the framework to create a MDI Layout view. | |
virtual View * | createSegmentedDropIndicatorOverlayView (Core::SegmentedDropIndicatorOverlay *controller, View *parent) const =0 |
Creates the view that will parent the segmented drop indicators. | |
virtual Icon | iconForButtonType (TitleBarButtonType type, double dpr) const =0 |
Returns the icon to be used with the specified type . | |
Public Attributes | |
Callback_createClassicIndicatorWindow | m_createClassicIndicatorWindowCallback = nullptr |
Callback_createDockWidget | m_createDockWidgetCallback = nullptr |
Callback_createDropArea | m_createDropAreaCallback = nullptr |
Callback_createFloatingWindow | m_createFloatingWindowCallback = nullptr |
Callback_createGroup | m_createGroupCallback = nullptr |
Callback_createRubberBand | m_createRubberBandCallback = nullptr |
Callback_createSeparator | m_createSeparatorCallback = nullptr |
Callback_createSideBar | m_createSideBarCallback = nullptr |
Callback_createStack | m_createStackCallback = nullptr |
Callback_createTabBar | m_createTabBarCallback = nullptr |
Callback_createTitleBar | m_createTitleBarCallback = nullptr |
Additional Inherited Members | |
Static Public Attributes inherited from KDDockWidgets::Core::ViewFactory | |
static DropIndicatorType | s_dropIndicatorType = DropIndicatorType::Classic |
@ The drop indicator type | |
Definition at line 30 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::ClassicIndicatorWindowViewInterface *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createClassicIndicatorWindow) (void *, KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 57 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createDockWidget) (void *, const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions, Qt::WindowFlags windowFlags) |
Definition at line 59 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createDropArea) (void *, KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 61 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createFloatingWindow) (void *, KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent, Qt::WindowFlags windowFlags) |
Definition at line 63 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createGroup) (void *, KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 65 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createRubberBand) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 67 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createSeparator) (void *, KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 69 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createSideBar) (void *, KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 71 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createStack) (void *, KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent) |
Definition at line 73 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createTabBar) (void *, KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent) |
Definition at line 75 of file KDDWBindingsCore/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createTitleBar) (void *, KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent) |
Definition at line 77 of file KDDWBindingsCore/ViewFactory_c.h.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::~ViewFactory_wrapper | ( | ) |
Definition at line 202 of file KDDWBindingsCore/ViewFactory_c.cpp.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::ViewFactory_wrapper | ( | ) |
Definition at line 33 of file KDDWBindingsCore/ViewFactory_c.cpp.
|
virtual |
Creates the window that will show the actual drop indicators. They need a higher z-order, so this is actually a separate window, not parented to the main window.
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 37 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createClassicIndicatorWindowCallback.
|
virtual |
Definition at line 47 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createClassicIndicatorWindow_ClassicDropIndicatorOverlay_View().
|
virtual |
Definition at line 52 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createDockWidgetCallback.
|
virtual |
Definition at line 62 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags().
|
virtual |
Called by the framework to create a DropArea view.
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 67 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createDropAreaCallback.
|
virtual |
Definition at line 77 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createDropArea_DropArea_View().
|
virtual |
Called by the framework to create a FloatingWindow view Override to provide your own FloatingWindow sub-class.
parent | Just forward to FloatingWindow's constructor. |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 82 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createFloatingWindowCallback.
|
virtual |
Definition at line 92 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createFloatingWindow_FloatingWindow_MainWindow_WindowFlags().
|
virtual |
Called by the framework to create a Frame view Override to provide your own Frame sub-class. A group is the widget that holds the titlebar and tab-widget which holds the DockWidgets.
parent | just forward to Frame's constructor |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 97 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createGroupCallback.
|
virtual |
Definition at line 107 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createGroup_Group_View().
|
virtual |
Called by the framework to create a RubberBand view to show as drop zone.
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 112 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createRubberBandCallback.
|
virtual |
Definition at line 122 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createRubberBand_View().
|
virtual |
Called by the framework to create a Separator view Override to provide your own Separator sub-class. The Separator allows the user to resize nested dock widgets.
parent | Just forward to Separator's constructor. |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 127 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createSeparatorCallback.
|
virtual |
Definition at line 137 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createSeparator_Separator_View().
|
virtual |
Called by the framework to create a SideBar view.
loc | The side-bar location without the main window. Just forward into your SideBar sub-class ctor. |
parent | The MainWindow. Just forward into your SideBar sub-class ctor. |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 142 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createSideBarCallback.
|
virtual |
Definition at line 152 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createSideBar_SideBar_View().
|
virtual |
Called by the framework to create a Stack view Override to provide your own Stack sub-class.
parent | Just forward to Stack's constructor. |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 157 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createStackCallback.
|
virtual |
Definition at line 167 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createStack_Stack_View().
|
virtual |
Called by the framework to create a TabBar view Override to provide your own TabBar sub-class.
parent | Just forward to TabBar's's constructor. |
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 172 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createTabBarCallback.
|
virtual |
Definition at line 182 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createTabBar_TabBar_View().
|
virtual |
Called by the framework to create a TitleBar view Override to provide your own TitleBar sub-class. Just forward the controller
and parent
arguments to the TitleBar view ctor.
Implements KDDockWidgets::Core::ViewFactory.
Definition at line 187 of file KDDWBindingsCore/ViewFactory_c.cpp.
References m_createTitleBarCallback.
|
virtual |
Definition at line 197 of file KDDWBindingsCore/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__Core__ViewFactory__createTitleBar_TitleBar_View().
Callback_createClassicIndicatorWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createClassicIndicatorWindowCallback = nullptr |
Definition at line 58 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createClassicIndicatorWindow().
Callback_createDockWidget KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createDockWidgetCallback = nullptr |
Definition at line 60 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createDockWidget().
Callback_createDropArea KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createDropAreaCallback = nullptr |
Definition at line 62 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createDropArea().
Callback_createFloatingWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createFloatingWindowCallback = nullptr |
Definition at line 64 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createFloatingWindow().
Callback_createGroup KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createGroupCallback = nullptr |
Definition at line 66 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createGroup().
Callback_createRubberBand KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createRubberBandCallback = nullptr |
Definition at line 68 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createRubberBand().
Callback_createSeparator KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createSeparatorCallback = nullptr |
Definition at line 70 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createSeparator().
Callback_createSideBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createSideBarCallback = nullptr |
Definition at line 72 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createSideBar().
Callback_createStack KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createStackCallback = nullptr |
Definition at line 74 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createStack().
Callback_createTabBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createTabBarCallback = nullptr |
Definition at line 76 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createTabBar().
Callback_createTitleBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::m_createTitleBarCallback = nullptr |
Definition at line 78 of file KDDWBindingsCore/ViewFactory_c.h.
Referenced by createTitleBar().