KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDWBindingsCore/ViewFactory_c.h
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11#include "kddockwidgets_export.h"
12#include <ViewFactory.h>
13#include <core/View.h>
14#include <string_p.h>
15#include <core/Group.h>
16#include "core/TitleBar.h"
17#include "core/Stack.h"
18#include <TabBar.h>
19#include <Separator.h>
20#include <FloatingWindow.h>
21#include "core/MainWindow.h"
24#include "core/DropArea.h"
25#include <SideBar.h>
26#include <Object_p.h>
27
29namespace KDDWBindingsCore {
31{
32public:
37 virtual KDDockWidgets::Core::View *createDockWidget(const QString &uniqueName, QFlags<KDDockWidgets::DockWidgetOption> options = {}, QFlags<KDDockWidgets::LayoutSaverOption> layoutSaverOptions = {}, Qt::WindowFlags windowFlags = {}) const;
59 typedef KDDockWidgets::Core::View *(*Callback_createDockWidget)(void *, const QString &uniqueName, QFlags<KDDockWidgets::DockWidgetOption> options, QFlags<KDDockWidgets::LayoutSaverOption> layoutSaverOptions, Qt::WindowFlags windowFlags);
61 typedef KDDockWidgets::Core::View *(*Callback_createDropArea)(void *, KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent);
63 typedef KDDockWidgets::Core::View *(*Callback_createFloatingWindow)(void *, KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent, Qt::WindowFlags windowFlags);
65 typedef KDDockWidgets::Core::View *(*Callback_createGroup)(void *, KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent);
67 typedef KDDockWidgets::Core::View *(*Callback_createRubberBand)(void *, KDDockWidgets::Core::View *parent);
69 typedef KDDockWidgets::Core::View *(*Callback_createSeparator)(void *, KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent);
71 typedef KDDockWidgets::Core::View *(*Callback_createSideBar)(void *, KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent);
73 typedef KDDockWidgets::Core::View *(*Callback_createStack)(void *, KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent);
75 typedef KDDockWidgets::Core::View *(*Callback_createTabBar)(void *, KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent);
77 typedef KDDockWidgets::Core::View *(*Callback_createTitleBar)(void *, KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent);
79};
80}
81}
82extern "C" {
83// KDDockWidgets::Core::ViewFactory::ViewFactory()
85// KDDockWidgets::Core::ViewFactory::createClassicIndicatorWindow(KDDockWidgets::Core::ClassicDropIndicatorOverlay * arg__1, KDDockWidgets::Core::View * parent) const
86DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createClassicIndicatorWindow_ClassicDropIndicatorOverlay_View(void *thisObj, void *arg__1_, void *parent_);
87// KDDockWidgets::Core::ViewFactory::createDockWidget(const QString & uniqueName, QFlags<KDDockWidgets::DockWidgetOption> options, QFlags<KDDockWidgets::LayoutSaverOption> layoutSaverOptions, Qt::WindowFlags windowFlags) const
88DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags(void *thisObj, const char *uniqueName_, int options_, int layoutSaverOptions_, int windowFlags);
89// KDDockWidgets::Core::ViewFactory::createDropArea(KDDockWidgets::Core::DropArea * arg__1, KDDockWidgets::Core::View * parent) const
90DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_);
91// KDDockWidgets::Core::ViewFactory::createFloatingWindow(KDDockWidgets::Core::FloatingWindow * controller, KDDockWidgets::Core::MainWindow * parent, Qt::WindowFlags windowFlags) const
92DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createFloatingWindow_FloatingWindow_MainWindow_WindowFlags(void *thisObj, void *controller_, void *parent_, int windowFlags);
93// KDDockWidgets::Core::ViewFactory::createGroup(KDDockWidgets::Core::Group * arg__1, KDDockWidgets::Core::View * parent) const
94DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createGroup_Group_View(void *thisObj, void *arg__1_, void *parent_);
95// KDDockWidgets::Core::ViewFactory::createRubberBand(KDDockWidgets::Core::View * parent) const
96DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createRubberBand_View(void *thisObj, void *parent_);
97// KDDockWidgets::Core::ViewFactory::createSeparator(KDDockWidgets::Core::Separator * arg__1, KDDockWidgets::Core::View * parent) const
98DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createSeparator_Separator_View(void *thisObj, void *arg__1_, void *parent_);
99// KDDockWidgets::Core::ViewFactory::createSideBar(KDDockWidgets::Core::SideBar * arg__1, KDDockWidgets::Core::View * parent) const
100DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createSideBar_SideBar_View(void *thisObj, void *arg__1_, void *parent_);
101// KDDockWidgets::Core::ViewFactory::createStack(KDDockWidgets::Core::Stack * stack, KDDockWidgets::Core::View * parent) const
102DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createStack_Stack_View(void *thisObj, void *stack_, void *parent_);
103// KDDockWidgets::Core::ViewFactory::createTabBar(KDDockWidgets::Core::TabBar * tabBar, KDDockWidgets::Core::View * parent) const
104DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createTabBar_TabBar_View(void *thisObj, void *tabBar_, void *parent_);
105// KDDockWidgets::Core::ViewFactory::createTitleBar(KDDockWidgets::Core::TitleBar * controller, KDDockWidgets::Core::View * parent) const
106DOCKS_EXPORT void *c_KDDockWidgets__Core__ViewFactory__createTitleBar_TitleBar_View(void *thisObj, void *controller_, void *parent_);
107DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory__destructor(void *thisObj);
108DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
109DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory_Finalizer(void *cppObj);
110}
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createFloatingWindow_FloatingWindow_MainWindow_WindowFlags(void *thisObj, void *controller_, void *parent_, int windowFlags)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__constructor()
DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory_Finalizer(void *cppObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createSideBar_SideBar_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createTabBar_TabBar_View(void *thisObj, void *tabBar_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createStack_Stack_View(void *thisObj, void *stack_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createSeparator_Separator_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__ViewFactory__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createRubberBand_View(void *thisObj, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createClassicIndicatorWindow_ClassicDropIndicatorOverlay_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags(void *thisObj, const char *uniqueName_, int options_, int layoutSaverOptions_, int windowFlags)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createTitleBar_TitleBar_View(void *thisObj, void *controller_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__ViewFactory__createGroup_Group_View(void *thisObj, void *arg__1_, void *parent_)
virtual KDDockWidgets::Core::ClassicIndicatorWindowViewInterface * createClassicIndicatorWindow_nocallback(KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent=nullptr) const
KDDockWidgets::Core::ClassicIndicatorWindowViewInterface *(* Callback_createClassicIndicatorWindow)(void *, KDDockWidgets::Core::ClassicDropIndicatorOverlay *arg__1, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * createTitleBar_nocallback(KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent) const
KDDockWidgets::Core::View *(* Callback_createTitleBar)(void *, KDDockWidgets::Core::TitleBar *controller, KDDockWidgets::Core::View *parent)
KDDockWidgets::Core::View *(* Callback_createDockWidget)(void *, const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions, Qt::WindowFlags windowFlags)
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....
virtual KDDockWidgets::Core::View * createGroup_nocallback(KDDockWidgets::Core::Group *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 * createFloatingWindow_nocallback(KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent=nullptr, Qt::WindowFlags windowFlags={}) 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 s...
KDDockWidgets::Core::View *(* Callback_createSeparator)(void *, KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * createStack_nocallback(KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent) const
KDDockWidgets::Core::View *(* Callback_createDropArea)(void *, KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent)
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....
KDDockWidgets::Core::View *(* Callback_createTabBar)(void *, KDDockWidgets::Core::TabBar *tabBar, KDDockWidgets::Core::View *parent)
KDDockWidgets::Core::View *(* Callback_createRubberBand)(void *, KDDockWidgets::Core::View *parent)
KDDockWidgets::Core::View *(* Callback_createSideBar)(void *, KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent)
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::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,...
virtual KDDockWidgets::Core::View * createDropArea_nocallback(KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) const
virtual KDDockWidgets::Core::View * createSeparator_nocallback(KDDockWidgets::Core::Separator *arg__1, KDDockWidgets::Core::View *parent=nullptr) const
virtual KDDockWidgets::Core::View * createSideBar_nocallback(KDDockWidgets::Core::SideBar *arg__1, KDDockWidgets::Core::View *parent) const
virtual KDDockWidgets::Core::View * createRubberBand_nocallback(KDDockWidgets::Core::View *parent) 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 * 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.
KDDockWidgets::Core::View *(* Callback_createStack)(void *, KDDockWidgets::Core::Stack *stack, KDDockWidgets::Core::View *parent)
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 * 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....
virtual KDDockWidgets::Core::View * createDropArea(KDDockWidgets::Core::DropArea *arg__1, KDDockWidgets::Core::View *parent) const
Called by the framework to create a DropArea view.
KDDockWidgets::Core::View *(* Callback_createGroup)(void *, KDDockWidgets::Core::Group *arg__1, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * createDockWidget(const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options={}, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions={}, Qt::WindowFlags windowFlags={}) const
KDDockWidgets::Core::View *(* Callback_createFloatingWindow)(void *, KDDockWidgets::Core::FloatingWindow *controller, KDDockWidgets::Core::MainWindow *parent, Qt::WindowFlags windowFlags)
The window that will hold the classic indicators This is a window so it can be over the window that i...
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
A factory class for allowing the user to customize some internal views. This is optional,...
A MultiSplitter with support for drop indicators when hovering over.
The MainWindow base-class that's shared between QtWidgets and QtQuick stack.
typedef WindowFlags

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8