KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsCore/ViewFactory_c.cpp
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 "ViewFactory_c.h"
12
13
14#include <iostream>
15
16#include <cassert>
17
18
19namespace Dartagnan {
20
21typedef int (*CleanupCallback)(void *thisPtr);
23
24template<typename T>
25struct ValueWrapper
26{
27 T value;
28};
29
30}
32namespace KDDWBindingsCore {
34 : ::KDDockWidgets::Core::ViewFactory()
35{
36}
38{
40 const void *thisPtr = this;
41 return m_createClassicIndicatorWindowCallback(const_cast<void *>(thisPtr), arg__1, parent);
42 } else {
43 std::cerr << "createClassicIndicatorWindow: Warning: Calling pure-virtual\n";
44 return {};
45 }
46}
48{
49 std::cerr << "createClassicIndicatorWindow: Warning: Calling pure-virtual\n";
50 return {};
51}
53{
55 const void *thisPtr = this;
56 return m_createDockWidgetCallback(const_cast<void *>(thisPtr), uniqueName, options, layoutSaverOptions, windowFlags);
57 } else {
58 std::cerr << "createDockWidget: Warning: Calling pure-virtual\n";
59 return {};
60 }
61}
63{
64 std::cerr << "createDockWidget: Warning: Calling pure-virtual\n";
65 return {};
66}
68{
70 const void *thisPtr = this;
71 return m_createDropAreaCallback(const_cast<void *>(thisPtr), arg__1, parent);
72 } else {
73 std::cerr << "createDropArea: Warning: Calling pure-virtual\n";
74 return {};
75 }
76}
78{
79 std::cerr << "createDropArea: Warning: Calling pure-virtual\n";
80 return {};
81}
83{
85 const void *thisPtr = this;
86 return m_createFloatingWindowCallback(const_cast<void *>(thisPtr), controller, parent, windowFlags);
87 } else {
88 std::cerr << "createFloatingWindow: Warning: Calling pure-virtual\n";
89 return {};
90 }
91}
93{
94 std::cerr << "createFloatingWindow: Warning: Calling pure-virtual\n";
95 return {};
96}
98{
100 const void *thisPtr = this;
101 return m_createGroupCallback(const_cast<void *>(thisPtr), arg__1, parent);
102 } else {
103 std::cerr << "createGroup: Warning: Calling pure-virtual\n";
104 return {};
105 }
106}
108{
109 std::cerr << "createGroup: Warning: Calling pure-virtual\n";
110 return {};
111}
113{
115 const void *thisPtr = this;
116 return m_createRubberBandCallback(const_cast<void *>(thisPtr), parent);
117 } else {
118 std::cerr << "createRubberBand: Warning: Calling pure-virtual\n";
119 return {};
120 }
121}
123{
124 std::cerr << "createRubberBand: Warning: Calling pure-virtual\n";
125 return {};
126}
128{
130 const void *thisPtr = this;
131 return m_createSeparatorCallback(const_cast<void *>(thisPtr), arg__1, parent);
132 } else {
133 std::cerr << "createSeparator: Warning: Calling pure-virtual\n";
134 return {};
135 }
136}
138{
139 std::cerr << "createSeparator: Warning: Calling pure-virtual\n";
140 return {};
141}
143{
145 const void *thisPtr = this;
146 return m_createSideBarCallback(const_cast<void *>(thisPtr), arg__1, parent);
147 } else {
148 std::cerr << "createSideBar: Warning: Calling pure-virtual\n";
149 return {};
150 }
151}
153{
154 std::cerr << "createSideBar: Warning: Calling pure-virtual\n";
155 return {};
156}
158{
160 const void *thisPtr = this;
161 return m_createStackCallback(const_cast<void *>(thisPtr), stack, parent);
162 } else {
163 std::cerr << "createStack: Warning: Calling pure-virtual\n";
164 return {};
165 }
166}
168{
169 std::cerr << "createStack: Warning: Calling pure-virtual\n";
170 return {};
171}
173{
175 const void *thisPtr = this;
176 return m_createTabBarCallback(const_cast<void *>(thisPtr), tabBar, parent);
177 } else {
178 std::cerr << "createTabBar: Warning: Calling pure-virtual\n";
179 return {};
180 }
181}
183{
184 std::cerr << "createTabBar: Warning: Calling pure-virtual\n";
185 return {};
186}
188{
190 const void *thisPtr = this;
191 return m_createTitleBarCallback(const_cast<void *>(thisPtr), controller, parent);
192 } else {
193 std::cerr << "createTitleBar: Warning: Calling pure-virtual\n";
194 return {};
195 }
196}
198{
199 std::cerr << "createTitleBar: Warning: Calling pure-virtual\n";
200 return {};
201}
205
206}
207}
209{
210 return reinterpret_cast<KDDockWidgets::Core::ViewFactory *>(ptr);
211}
216extern "C" {
222{
224 return reinterpret_cast<void *>(ptr);
225}
226// createClassicIndicatorWindow(KDDockWidgets::Core::ClassicDropIndicatorOverlay * arg__1, KDDockWidgets::Core::View * parent) const
228{
229 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::ClassicDropIndicatorOverlay *>(arg__1_);
230 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
231 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createClassicIndicatorWindow_nocallback(arg__1,parent);} else { return targetPtr->createClassicIndicatorWindow(arg__1,parent);} }();
232 return result;
233}
234// createDockWidget(const QString & uniqueName, QFlags<KDDockWidgets::DockWidgetOption> options, QFlags<KDDockWidgets::LayoutSaverOption> layoutSaverOptions, Qt::WindowFlags windowFlags) const
235void *c_KDDockWidgets__Core__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags(void *thisObj, const char *uniqueName_, int options_, int layoutSaverOptions_, int windowFlags)
236{
237 const auto uniqueName = QString::fromUtf8(uniqueName_);
238 auto options = static_cast<QFlags<KDDockWidgets::DockWidgetOption>>(options_);
239 auto layoutSaverOptions = static_cast<QFlags<KDDockWidgets::LayoutSaverOption>>(layoutSaverOptions_);
240 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createDockWidget_nocallback(uniqueName,options,layoutSaverOptions,static_cast<Qt::WindowFlags>(windowFlags));} else { return targetPtr->createDockWidget(uniqueName,options,layoutSaverOptions,static_cast<Qt::WindowFlags>(windowFlags));} }();
241 free(( char * )uniqueName_);
242 return result;
243}
244// createDropArea(KDDockWidgets::Core::DropArea * arg__1, KDDockWidgets::Core::View * parent) const
245void *c_KDDockWidgets__Core__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_)
246{
247 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DropArea *>(arg__1_);
248 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
249 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createDropArea_nocallback(arg__1,parent);} else { return targetPtr->createDropArea(arg__1,parent);} }();
250 return result;
251}
252// createFloatingWindow(KDDockWidgets::Core::FloatingWindow * controller, KDDockWidgets::Core::MainWindow * parent, Qt::WindowFlags windowFlags) const
253void *c_KDDockWidgets__Core__ViewFactory__createFloatingWindow_FloatingWindow_MainWindow_WindowFlags(void *thisObj, void *controller_, void *parent_, int windowFlags)
254{
255 auto controller = reinterpret_cast<KDDockWidgets::Core::FloatingWindow *>(controller_);
256 auto parent = reinterpret_cast<KDDockWidgets::Core::MainWindow *>(parent_);
257 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createFloatingWindow_nocallback(controller,parent,static_cast<Qt::WindowFlags>(windowFlags));} else { return targetPtr->createFloatingWindow(controller,parent,static_cast<Qt::WindowFlags>(windowFlags));} }();
258 return result;
259}
260// createGroup(KDDockWidgets::Core::Group * arg__1, KDDockWidgets::Core::View * parent) const
261void *c_KDDockWidgets__Core__ViewFactory__createGroup_Group_View(void *thisObj, void *arg__1_, void *parent_)
262{
263 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::Group *>(arg__1_);
264 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
265 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createGroup_nocallback(arg__1,parent);} else { return targetPtr->createGroup(arg__1,parent);} }();
266 return result;
267}
268// createRubberBand(KDDockWidgets::Core::View * parent) const
270{
271 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
272 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createRubberBand_nocallback(parent);} else { return targetPtr->createRubberBand(parent);} }();
273 return result;
274}
275// createSeparator(KDDockWidgets::Core::Separator * arg__1, KDDockWidgets::Core::View * parent) const
276void *c_KDDockWidgets__Core__ViewFactory__createSeparator_Separator_View(void *thisObj, void *arg__1_, void *parent_)
277{
278 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::Separator *>(arg__1_);
279 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
280 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createSeparator_nocallback(arg__1,parent);} else { return targetPtr->createSeparator(arg__1,parent);} }();
281 return result;
282}
283// createSideBar(KDDockWidgets::Core::SideBar * arg__1, KDDockWidgets::Core::View * parent) const
284void *c_KDDockWidgets__Core__ViewFactory__createSideBar_SideBar_View(void *thisObj, void *arg__1_, void *parent_)
285{
286 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::SideBar *>(arg__1_);
287 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
288 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createSideBar_nocallback(arg__1,parent);} else { return targetPtr->createSideBar(arg__1,parent);} }();
289 return result;
290}
291// createStack(KDDockWidgets::Core::Stack * stack, KDDockWidgets::Core::View * parent) const
292void *c_KDDockWidgets__Core__ViewFactory__createStack_Stack_View(void *thisObj, void *stack_, void *parent_)
293{
294 auto stack = reinterpret_cast<KDDockWidgets::Core::Stack *>(stack_);
295 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
296 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createStack_nocallback(stack,parent);} else { return targetPtr->createStack(stack,parent);} }();
297 return result;
298}
299// createTabBar(KDDockWidgets::Core::TabBar * tabBar, KDDockWidgets::Core::View * parent) const
300void *c_KDDockWidgets__Core__ViewFactory__createTabBar_TabBar_View(void *thisObj, void *tabBar_, void *parent_)
301{
302 auto tabBar = reinterpret_cast<KDDockWidgets::Core::TabBar *>(tabBar_);
303 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
304 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createTabBar_nocallback(tabBar,parent);} else { return targetPtr->createTabBar(tabBar,parent);} }();
305 return result;
306}
307// createTitleBar(KDDockWidgets::Core::TitleBar * controller, KDDockWidgets::Core::View * parent) const
308void *c_KDDockWidgets__Core__ViewFactory__createTitleBar_TitleBar_View(void *thisObj, void *controller_, void *parent_)
309{
310 auto controller = reinterpret_cast<KDDockWidgets::Core::TitleBar *>(controller_);
311 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
312 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createTitleBar_nocallback(controller,parent);} else { return targetPtr->createTitleBar(controller,parent);} }();
313 return result;
314}
316{
317 delete fromPtr(thisObj);
318}
319void c_KDDockWidgets__Core__ViewFactory__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
320{
321 auto wrapper = fromWrapperPtr(ptr);
322 switch (methodId) {
323 case 235:
324 wrapper->m_createClassicIndicatorWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createClassicIndicatorWindow>(callback);
325 break;
326 case 236:
327 wrapper->m_createDockWidgetCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createDockWidget>(callback);
328 break;
329 case 237:
330 wrapper->m_createDropAreaCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createDropArea>(callback);
331 break;
332 case 238:
333 wrapper->m_createFloatingWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createFloatingWindow>(callback);
334 break;
335 case 239:
336 wrapper->m_createGroupCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createGroup>(callback);
337 break;
338 case 240:
339 wrapper->m_createRubberBandCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createRubberBand>(callback);
340 break;
341 case 241:
342 wrapper->m_createSeparatorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createSeparator>(callback);
343 break;
344 case 242:
345 wrapper->m_createSideBarCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createSideBar>(callback);
346 break;
347 case 243:
348 wrapper->m_createStackCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createStack>(callback);
349 break;
350 case 244:
351 wrapper->m_createTabBarCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createTabBar>(callback);
352 break;
353 case 245:
354 wrapper->m_createTitleBarCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper::Callback_createTitleBar>(callback);
355 break;
356 }
357}
358}
void c_KDDockWidgets__Core__ViewFactory_Finalizer(void *cppObj)
void c_KDDockWidgets__Core__ViewFactory__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void * c_KDDockWidgets__Core__ViewFactory__createDropArea_DropArea_View(void *thisObj, void *arg__1_, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__createSeparator_Separator_View(void *thisObj, void *arg__1_, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__createClassicIndicatorWindow_ClassicDropIndicatorOverlay_View(void *thisObj, void *arg__1_, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__createTabBar_TabBar_View(void *thisObj, void *tabBar_, void *parent_)
static KDDockWidgets::Core::ViewFactory * fromPtr(void *ptr)
void * c_KDDockWidgets__Core__ViewFactory__createRubberBand_View(void *thisObj, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__createStack_Stack_View(void *thisObj, void *stack_, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__createGroup_Group_View(void *thisObj, void *arg__1_, void *parent_)
void * c_KDDockWidgets__Core__ViewFactory__constructor()
void c_KDDockWidgets__Core__ViewFactory__destructor(void *thisObj)
void * c_KDDockWidgets__Core__ViewFactory__createSideBar_SideBar_View(void *thisObj, void *arg__1_, void *parent_)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ViewFactory_wrapper * fromWrapperPtr(void *ptr)
void * c_KDDockWidgets__Core__ViewFactory__createDockWidget_QString_DockWidgetOptions_LayoutSaverOptions_WindowFlags(void *thisObj, const char *uniqueName_, int options_, int layoutSaverOptions_, int windowFlags)
void * c_KDDockWidgets__Core__ViewFactory__createFloatingWindow_FloatingWindow_MainWindow_WindowFlags(void *thisObj, void *controller_, void *parent_, int windowFlags)
void * c_KDDockWidgets__Core__ViewFactory__createTitleBar_TitleBar_View(void *thisObj, void *controller_, 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,...
int(* CleanupCallback)(void *thisPtr)
Definition Config_c.cpp:21
static CleanupCallback s_cleanupCallback
Definition Config_c.cpp:22
Class to abstract QAction, so code still works with QtQuick and Flutter.
QString fromUtf8(const char *str, int size)
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