KDDockWidgets API Documentation 2.1
|
#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=0) 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::flutter::IndicatorWindow * | createClassicIndicatorWindow_flutter (KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=0) const |
virtual KDDockWidgets::flutter::IndicatorWindow * | createClassicIndicatorWindow_flutter_nocallback (KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=0) const |
virtual KDDockWidgets::Core::ClassicIndicatorWindowViewInterface * | createClassicIndicatorWindow_nocallback (KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=0) const |
virtual KDDockWidgets::Core::View * | createDockWidget (const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > arg__2={}, QFlags< KDDockWidgets::LayoutSaverOption > arg__3={}, Qt::WindowFlags arg__4={}) const |
virtual KDDockWidgets::Core::View * | createDockWidget_nocallback (const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > arg__2={}, QFlags< KDDockWidgets::LayoutSaverOption > arg__3={}, Qt::WindowFlags arg__4={}) 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 *arg__1, 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 *arg__1, 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 *arg__1, 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 *arg__1, 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 *arg__1, 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 *arg__1, KDDockWidgets::Core::View *parent) const |
Public Member Functions inherited from KDDockWidgets::flutter::ViewFactory | |
ViewFactory ()=default | |
~ViewFactory () override | |
Destructor. Don't delete ViewFactory directly, it's owned by the framework. | |
KDDockWidgets::Core::Action * | createAction (Core::DockWidget *, const char *debugName) const override |
Creates a QAction if QtWidgets, or an equivalent fallback if QtQuick/Flutter Not needed to be overridden by users. | |
Core::View * | createDockWidget (const QString &uniqueName, DockWidgetOptions={}, LayoutSaverOptions={}, Qt::WindowFlags={}) const override |
Creates a dock widget. This is only used by MainWindow's persistent widget feature. In all other cases users will instantiate DockWidget directly. | |
Core::View * | createMDILayout (Core::MDILayout *, Core::View *parent) const override |
Called by the framework to create a MDI Layout view. | |
Core::View * | createSegmentedDropIndicatorOverlayView (Core::SegmentedDropIndicatorOverlay *controller, Core::View *parent) const override |
Creates the view that will parent the segmented drop indicators. | |
Icon | iconForButtonType (TitleBarButtonType type, double dpr) const override |
Returns the icon to be used with the specified type . | |
Public Member Functions inherited from KDDockWidgets::Core::ViewFactory | |
ViewFactory ()=default | |
virtual QString | classicIndicatorsPath () const |
The path to a folder containing the classic_indicator png files. | |
Public Attributes | |
Callback_createClassicIndicatorWindow_flutter | m_createClassicIndicatorWindow_flutterCallback = nullptr |
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 KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::ClassicIndicatorWindowViewInterface *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createClassicIndicatorWindow) (void *, KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 59 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::flutter::IndicatorWindow *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createClassicIndicatorWindow_flutter) (void *, KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 61 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createDockWidget) (void *, const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > arg__2, QFlags< KDDockWidgets::LayoutSaverOption > arg__3, Qt::WindowFlags arg__4) |
Definition at line 63 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createDropArea) (void *, KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 65 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createFloatingWindow) (void *, KDDockWidgets::Core::FloatingWindow *arg__1, KDDockWidgets::Core::MainWindow *parent, Qt::WindowFlags windowFlags) |
Definition at line 67 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createGroup) (void *, KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 69 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createRubberBand) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 71 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createSeparator) (void *, KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 73 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createSideBar) (void *, KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 75 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createStack) (void *, KDDockWidgets::Core::Stack *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 77 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createTabBar) (void *, KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent) |
Definition at line 79 of file KDDWBindingsFlutter/ViewFactory_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::Callback_createTitleBar) (void *, KDDockWidgets::Core::TitleBar *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 81 of file KDDWBindingsFlutter/ViewFactory_c.h.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::~ViewFactory_wrapper | ( | ) |
Definition at line 193 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::ViewFactory_wrapper | ( | ) |
Definition at line 33 of file KDDWBindingsFlutter/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.
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 37 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createClassicIndicatorWindowCallback.
|
virtual |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 50 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createClassicIndicatorWindow_flutterCallback.
|
virtual |
Definition at line 59 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__ViewFactory__createClassicIndicatorWindow_flutter_ClassicDropIndicatorOverlay_View().
|
virtual |
Definition at line 46 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__ViewFactory__createClassicIndicatorWindow_ClassicDropIndicatorOverlay_View().
|
virtual |
Definition at line 63 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createDockWidgetCallback.
|
virtual |
Definition at line 72 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags().
|
virtual |
Called by the framework to create a DropArea view.
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 76 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createDropAreaCallback.
|
virtual |
Definition at line 85 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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. |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 89 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createFloatingWindowCallback.
|
virtual |
Definition at line 98 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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 |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 102 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createGroupCallback.
|
virtual |
Definition at line 111 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__ViewFactory__createGroup_Group_View().
|
virtual |
Called by the framework to create a RubberBand view to show as drop zone.
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 115 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createRubberBandCallback.
|
virtual |
Definition at line 124 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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. |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 128 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createSeparatorCallback.
|
virtual |
Definition at line 137 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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. |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 141 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createSideBarCallback.
|
virtual |
Definition at line 150 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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. |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 154 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createStackCallback.
|
virtual |
Definition at line 163 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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. |
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 167 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createTabBarCallback.
|
virtual |
Definition at line 176 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__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.
Reimplemented from KDDockWidgets::flutter::ViewFactory.
Definition at line 180 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
References m_createTitleBarCallback.
|
virtual |
Definition at line 189 of file KDDWBindingsFlutter/ViewFactory_c.cpp.
Referenced by c_KDDockWidgets__flutter__ViewFactory__createTitleBar_TitleBar_View().
Callback_createClassicIndicatorWindow_flutter KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createClassicIndicatorWindow_flutterCallback = nullptr |
Definition at line 62 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createClassicIndicatorWindow_flutter().
Callback_createClassicIndicatorWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createClassicIndicatorWindowCallback = nullptr |
Definition at line 60 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createClassicIndicatorWindow().
Callback_createDockWidget KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createDockWidgetCallback = nullptr |
Definition at line 64 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createDockWidget().
Callback_createDropArea KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createDropAreaCallback = nullptr |
Definition at line 66 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createDropArea().
Callback_createFloatingWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createFloatingWindowCallback = nullptr |
Definition at line 68 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createFloatingWindow().
Callback_createGroup KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createGroupCallback = nullptr |
Definition at line 70 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createGroup().
Callback_createRubberBand KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createRubberBandCallback = nullptr |
Definition at line 72 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createRubberBand().
Callback_createSeparator KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createSeparatorCallback = nullptr |
Definition at line 74 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createSeparator().
Callback_createSideBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createSideBarCallback = nullptr |
Definition at line 76 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createSideBar().
Callback_createStack KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createStackCallback = nullptr |
Definition at line 78 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createStack().
Callback_createTabBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createTabBarCallback = nullptr |
Definition at line 80 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createTabBar().
Callback_createTitleBar KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::ViewFactory_wrapper::m_createTitleBarCallback = nullptr |
Definition at line 82 of file KDDWBindingsFlutter/ViewFactory_c.h.
Referenced by createTitleBar().