KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDWBindingsCore/Platform_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 <core/Platform.h>
13#include <ViewFactory.h>
14#include <core/View.h>
15#include <QtCompat_p.h>
16#include <geometry_helpers_p.h>
17#include <core/Controller.h>
18#include <DelayedCall_p.h>
19#include <string_p.h>
20#include <FloatingWindow.h>
21#include "core/MainWindow.h"
22#include <vector>
23
25namespace KDDWBindingsCore {
27{
28public:
31 virtual QString applicationName() const;
32 virtual QString applicationName_nocallback() const;
35 virtual KDDockWidgets::Core::MainWindow *createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions arg__2, QFlags<KDDockWidgets::MainWindowOption> options = KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent = nullptr, Qt::WindowFlags arg__5 = {}) const;
39 virtual KDDockWidgets::Point cursorPos() const;
40 virtual KDDockWidgets::Point cursorPos_nocallback() const;
41 virtual void dumpManagedBacktrace();
43 virtual bool hasActivePopup() const;
44 virtual bool hasActivePopup_nocallback() const;
45 virtual bool inDisallowedDragView(KDDockWidgets::Point globalPos) const;
46 virtual bool inDisallowedDragView_nocallback(KDDockWidgets::Point globalPos) const;
47 virtual void installMessageHandler();
50 static bool isInitialized();
51 virtual bool isLeftMouseButtonPressed() const;
52 virtual bool isLeftMouseButtonPressed_nocallback() const;
53 virtual bool isProcessingAppQuitEvent() const;
54 virtual bool isProcessingAppQuitEvent_nocallback() const;
55 bool isQt() const;
56 bool isQtQuick() const;
57 bool isQtWidgets() const;
58 virtual const char *name() const;
59 virtual const char *name_nocallback() const;
68 virtual void pauseForDebugger();
69 virtual void pauseForDebugger_nocallback();
70 virtual void restoreMouseCursor();
71 virtual void restoreMouseCursor_nocallback();
72 virtual void runDelayed(int ms, KDDockWidgets::Core::DelayedCall *c);
73 virtual void runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c);
74 virtual int screenNumberFor(KDDockWidgets::Core::View *arg__1) const;
76 virtual KDDockWidgets::Size screenSizeFor(KDDockWidgets::Core::View *arg__1) const;
77 virtual KDDockWidgets::Size screenSizeFor_nocallback(KDDockWidgets::Core::View *arg__1) const;
78 virtual void sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const;
79 virtual void sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const;
80 virtual void setCursorPos(KDDockWidgets::Point arg__1);
81 virtual void setCursorPos_nocallback(KDDockWidgets::Point arg__1);
82 virtual void setMouseCursor(Qt::CursorShape arg__1, bool discardLast = false);
83 virtual void setMouseCursor_nocallback(Qt::CursorShape arg__1, bool discardLast = false);
84 int startDragDistance() const;
85 virtual int startDragDistance_impl() const;
86 virtual int startDragDistance_impl_nocallback() const;
87 virtual bool supportsAeroSnap() const;
88 virtual bool supportsAeroSnap_nocallback() const;
89 virtual KDDockWidgets::Core::View *tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
90 virtual KDDockWidgets::Core::View *tests_createFocusableView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
93 virtual KDDockWidgets::Core::View *tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
94 virtual KDDockWidgets::Core::View *tests_createView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
95 virtual void tests_deinitPlatform_impl();
97 virtual void tests_initPlatform_impl();
99 virtual void ungrabMouse();
100 virtual void ungrabMouse_nocallback();
101 virtual void uninstallMessageHandler();
103 virtual bool usesFallbackMouseGrabber() const;
104 virtual bool usesFallbackMouseGrabber_nocallback() const;
105 typedef QString *(*Callback_applicationName)(void *);
107 typedef KDDockWidgets::Core::ViewFactory *(*Callback_createDefaultViewFactory)(void *);
109 typedef KDDockWidgets::Core::MainWindow *(*Callback_createMainWindow)(void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *arg__2, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View *parent, Qt::WindowFlags arg__5);
111 typedef KDDockWidgets::Core::View *(*Callback_createView)(void *, KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent);
113 typedef KDDockWidgets::Point *(*Callback_cursorPos)(void *);
115 typedef void (*Callback_dumpManagedBacktrace)(void *);
117 typedef bool (*Callback_hasActivePopup)(void *);
119 typedef bool (*Callback_inDisallowedDragView)(void *, KDDockWidgets::Point *globalPos);
121 typedef void (*Callback_installMessageHandler)(void *);
123 typedef bool (*Callback_isLeftMouseButtonPressed)(void *);
125 typedef bool (*Callback_isProcessingAppQuitEvent)(void *);
127 typedef const char *(*Callback_name)(void *);
137 typedef void (*Callback_pauseForDebugger)(void *);
139 typedef void (*Callback_restoreMouseCursor)(void *);
141 typedef void (*Callback_runDelayed)(void *, int ms, KDDockWidgets::Core::DelayedCall *c);
145 typedef KDDockWidgets::Size *(*Callback_screenSizeFor)(void *, KDDockWidgets::Core::View *arg__1);
147 typedef void (*Callback_sendEvent)(void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2);
149 typedef void (*Callback_setCursorPos)(void *, KDDockWidgets::Point *arg__1);
151 typedef void (*Callback_setMouseCursor)(void *, Qt::CursorShape arg__1, bool discardLast);
153 typedef int (*Callback_startDragDistance_impl)(void *);
155 typedef bool (*Callback_supportsAeroSnap)(void *);
157 typedef KDDockWidgets::Core::View *(*Callback_tests_createFocusableView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent);
159 typedef KDDockWidgets::Core::View *(*Callback_tests_createNonClosableView)(void *, KDDockWidgets::Core::View *parent);
161 typedef KDDockWidgets::Core::View *(*Callback_tests_createView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent);
163 typedef void (*Callback_tests_deinitPlatform_impl)(void *);
165 typedef void (*Callback_tests_initPlatform_impl)(void *);
167 typedef void (*Callback_ungrabMouse)(void *);
169 typedef void (*Callback_uninstallMessageHandler)(void *);
171 typedef bool (*Callback_usesFallbackMouseGrabber)(void *);
173};
174}
175}
176extern "C" {
177// KDDockWidgets::Core::Platform::Platform()
179// KDDockWidgets::Core::Platform::applicationName() const
180DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__applicationName(void *thisObj);
181// KDDockWidgets::Core::Platform::createDefaultViewFactory()
182DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__createDefaultViewFactory(void *thisObj);
183// KDDockWidgets::Core::Platform::createMainWindow(const QString & uniqueName, KDDockWidgets::Core::CreateViewOptions arg__2, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View * parent, Qt::WindowFlags arg__5) const
184DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *arg__2_, int options_, void *parent_, int arg__5);
185// KDDockWidgets::Core::Platform::createView(KDDockWidgets::Core::Controller * arg__1, KDDockWidgets::Core::View * parent) const
186DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__createView_Controller_View(void *thisObj, void *arg__1_, void *parent_);
187// KDDockWidgets::Core::Platform::cursorPos() const
188DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__cursorPos(void *thisObj);
189// KDDockWidgets::Core::Platform::dumpManagedBacktrace()
190DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__dumpManagedBacktrace(void *thisObj);
191// KDDockWidgets::Core::Platform::hasActivePopup() const
192DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__hasActivePopup(void *thisObj);
193// KDDockWidgets::Core::Platform::inDisallowedDragView(KDDockWidgets::Point globalPos) const
194DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__inDisallowedDragView_Point(void *thisObj, void *globalPos_);
195// KDDockWidgets::Core::Platform::installMessageHandler()
196DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__installMessageHandler(void *thisObj);
197// KDDockWidgets::Core::Platform::instance()
199// KDDockWidgets::Core::Platform::isInitialized()
201// KDDockWidgets::Core::Platform::isLeftMouseButtonPressed() const
202DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isLeftMouseButtonPressed(void *thisObj);
203// KDDockWidgets::Core::Platform::isProcessingAppQuitEvent() const
204DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isProcessingAppQuitEvent(void *thisObj);
205// KDDockWidgets::Core::Platform::isQt() const
206DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQt(void *thisObj);
207// KDDockWidgets::Core::Platform::isQtQuick() const
208DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQtQuick(void *thisObj);
209// KDDockWidgets::Core::Platform::isQtWidgets() const
210DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQtWidgets(void *thisObj);
211// KDDockWidgets::Core::Platform::name() const
212DOCKS_EXPORT const char *c_KDDockWidgets__Core__Platform__name(void *thisObj);
213// KDDockWidgets::Core::Platform::onFloatingWindowCreated(KDDockWidgets::Core::FloatingWindow * arg__1)
214DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onFloatingWindowCreated_FloatingWindow(void *thisObj, void *arg__1_);
215// KDDockWidgets::Core::Platform::onFloatingWindowDestroyed(KDDockWidgets::Core::FloatingWindow * arg__1)
216DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onFloatingWindowDestroyed_FloatingWindow(void *thisObj, void *arg__1_);
217// KDDockWidgets::Core::Platform::onMainWindowCreated(KDDockWidgets::Core::MainWindow * arg__1)
218DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onMainWindowCreated_MainWindow(void *thisObj, void *arg__1_);
219// KDDockWidgets::Core::Platform::onMainWindowDestroyed(KDDockWidgets::Core::MainWindow * arg__1)
220DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onMainWindowDestroyed_MainWindow(void *thisObj, void *arg__1_);
221// KDDockWidgets::Core::Platform::pauseForDebugger()
222DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__pauseForDebugger(void *thisObj);
223// KDDockWidgets::Core::Platform::restoreMouseCursor()
224DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__restoreMouseCursor(void *thisObj);
225// KDDockWidgets::Core::Platform::runDelayed(int ms, KDDockWidgets::Core::DelayedCall * c)
226DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__runDelayed_int_DelayedCall(void *thisObj, int ms, void *c_);
227// KDDockWidgets::Core::Platform::screenNumberFor(KDDockWidgets::Core::View * arg__1) const
228DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__screenNumberFor_View(void *thisObj, void *arg__1_);
229// KDDockWidgets::Core::Platform::screenSizeFor(KDDockWidgets::Core::View * arg__1) const
230DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__screenSizeFor_View(void *thisObj, void *arg__1_);
231// KDDockWidgets::Core::Platform::sendEvent(KDDockWidgets::Core::View * arg__1, KDDockWidgets::Event * arg__2) const
232DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_);
233// KDDockWidgets::Core::Platform::setCursorPos(KDDockWidgets::Point arg__1)
234DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__setCursorPos_Point(void *thisObj, void *arg__1_);
235// KDDockWidgets::Core::Platform::setMouseCursor(Qt::CursorShape arg__1, bool discardLast)
236DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast);
237// KDDockWidgets::Core::Platform::startDragDistance() const
238DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__startDragDistance(void *thisObj);
239// KDDockWidgets::Core::Platform::startDragDistance_impl() const
240DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__startDragDistance_impl(void *thisObj);
241// KDDockWidgets::Core::Platform::supportsAeroSnap() const
242DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__supportsAeroSnap(void *thisObj);
243// KDDockWidgets::Core::Platform::tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
244DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__tests_createFocusableView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_);
245// KDDockWidgets::Core::Platform::tests_createNonClosableView(KDDockWidgets::Core::View * parent)
246DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__tests_createNonClosableView_View(void *thisObj, void *parent_);
247// KDDockWidgets::Core::Platform::tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
248DOCKS_EXPORT void *c_KDDockWidgets__Core__Platform__tests_createView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_);
249// KDDockWidgets::Core::Platform::tests_deinitPlatform_impl()
251// KDDockWidgets::Core::Platform::tests_initPlatform_impl()
252DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__tests_initPlatform_impl(void *thisObj);
253// KDDockWidgets::Core::Platform::ungrabMouse()
254DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__ungrabMouse(void *thisObj);
255// KDDockWidgets::Core::Platform::uninstallMessageHandler()
256DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__uninstallMessageHandler(void *thisObj);
257// KDDockWidgets::Core::Platform::usesFallbackMouseGrabber() const
258DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__usesFallbackMouseGrabber(void *thisObj);
259DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__destructor(void *thisObj);
260DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
261DOCKS_EXPORT void c_KDDockWidgets__Core__Platform_Finalizer(void *cppObj);
262}
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__constructor()
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__cursorPos(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__pauseForDebugger(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__usesFallbackMouseGrabber(void *thisObj)
DOCKS_EXPORT void * c_static_KDDockWidgets__Core__Platform__instance()
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform_Finalizer(void *cppObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onFloatingWindowDestroyed_FloatingWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQtWidgets(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__hasActivePopup(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__applicationName(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__tests_createFocusableView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__uninstallMessageHandler(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isProcessingAppQuitEvent(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__runDelayed_int_DelayedCall(void *thisObj, int ms, void *c_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__setCursorPos_Point(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__tests_createView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__startDragDistance(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast)
DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__screenNumberFor_View(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__screenSizeFor_View(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__dumpManagedBacktrace(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQt(void *thisObj)
DOCKS_EXPORT const char * c_KDDockWidgets__Core__Platform__name(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__supportsAeroSnap(void *thisObj)
DOCKS_EXPORT int c_KDDockWidgets__Core__Platform__startDragDistance_impl(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__restoreMouseCursor(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__tests_initPlatform_impl(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__destructor(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__ungrabMouse(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isQtQuick(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onMainWindowCreated_MainWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__tests_deinitPlatform_impl(void *thisObj)
DOCKS_EXPORT bool c_static_KDDockWidgets__Core__Platform__isInitialized()
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *arg__2_, int options_, void *parent_, int arg__5)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__installMessageHandler(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__createView_Controller_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__inDisallowedDragView_Point(void *thisObj, void *globalPos_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__Platform__isLeftMouseButtonPressed(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__tests_createNonClosableView_View(void *thisObj, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onMainWindowDestroyed_MainWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__Platform__onFloatingWindowCreated_FloatingWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__Platform__createDefaultViewFactory(void *thisObj)
virtual void runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c)
virtual bool inDisallowedDragView(KDDockWidgets::Point globalPos) const
Returns whether the specified global position is on top of a view that isn't draggable....
virtual void sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
Sends the specified event to the specified view.
void(* Callback_setMouseCursor)(void *, Qt::CursorShape arg__1, bool discardLast)
virtual int screenNumberFor(KDDockWidgets::Core::View *arg__1) const
Returns the screen index for the specified view or window. It's up to the platform to decide how scre...
void(* Callback_sendEvent)(void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2)
virtual void sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
virtual KDDockWidgets::Core::View * createView(KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent=nullptr) const
Create an empty view For Qt this would just returns a empty QWidget or QQuickItem other frontends can...
virtual bool isLeftMouseButtonPressed() const
Returns whether the left mouse button is pressed.
virtual void onMainWindowDestroyed_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
KDDockWidgets::Core::View *(* Callback_tests_createNonClosableView)(void *, KDDockWidgets::Core::View *parent)
void(* Callback_onFloatingWindowDestroyed)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
virtual bool hasActivePopup() const
Returns whether a popup is open Usually not needed to override. Investigate further in case side bars...
virtual void dumpManagedBacktrace()
For non-C++, managed languages (having a VM) prints a non-native back-trace For example,...
virtual KDDockWidgets::Core::View * createView_nocallback(KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent=nullptr) const
KDDockWidgets::Core::View *(* Callback_tests_createView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * tests_createNonClosableView_nocallback(KDDockWidgets::Core::View *parent=nullptr)
KDDockWidgets::Core::View *(* Callback_tests_createFocusableView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
virtual bool isProcessingAppQuitEvent() const
Returns whether we're processing a Event::Quit.
virtual void runDelayed(int ms, KDDockWidgets::Core::DelayedCall *c)
virtual QString applicationName() const
Returns the application name This name will be used as title of floating dock widgets which contain m...
virtual KDDockWidgets::Core::MainWindow * createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions arg__2, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags arg__5={}) const
KDDockWidgets::Size *(* Callback_screenSizeFor)(void *, KDDockWidgets::Core::View *arg__1)
virtual KDDockWidgets::Point cursorPos() const
Returns the mouse cursor position in screen coordinates.
KDDockWidgets::Core::MainWindow *(* Callback_createMainWindow)(void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *arg__2, QFlags< KDDockWidgets::MainWindowOption > options, KDDockWidgets::Core::View *parent, Qt::WindowFlags arg__5)
virtual bool inDisallowedDragView_nocallback(KDDockWidgets::Point globalPos) const
virtual KDDockWidgets::Size screenSizeFor_nocallback(KDDockWidgets::Core::View *arg__1) const
virtual void onMainWindowCreated(KDDockWidgets::Core::MainWindow *arg__1)
Called when a main window is created. Overridden by flutter, so it can create a window Used by tests ...
virtual void onFloatingWindowCreated(KDDockWidgets::Core::FloatingWindow *arg__1)
Called when a floating window is created. Overridden by flutter, so it can create a window.
virtual void setMouseCursor(Qt::CursorShape arg__1, bool discardLast=false)
Sets the mouse cursor to the specified shape, this has an application-wide effect Call restoreMouseCu...
virtual const char * name() const
Returns the name of the platform, only "qtwidgets" and "qtquick".
virtual KDDockWidgets::Core::ViewFactory * createDefaultViewFactory()
Creates and returns the default ViewFactory.
void(* Callback_runDelayed)(void *, int ms, KDDockWidgets::Core::DelayedCall *c)
bool(* Callback_inDisallowedDragView)(void *, KDDockWidgets::Point *globalPos)
virtual bool usesFallbackMouseGrabber() const
Return whether we use the global event filter based mouse grabber.
virtual bool supportsAeroSnap() const
Only supported on Qt, for windows.
virtual void onFloatingWindowCreated_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual void onMainWindowCreated_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
virtual void onMainWindowDestroyed(KDDockWidgets::Core::MainWindow *arg__1)
Called when a main window is created. Overridden by flutter, so it can destroy the window.
int(* Callback_screenNumberFor)(void *, KDDockWidgets::Core::View *arg__1)
virtual void onFloatingWindowDestroyed(KDDockWidgets::Core::FloatingWindow *arg__1)
Called when a floating window is created. Overridden by flutter, so it can destroy the window.
virtual void setMouseCursor_nocallback(Qt::CursorShape arg__1, bool discardLast=false)
virtual void setCursorPos(KDDockWidgets::Point arg__1)
Sets the mouse cursor position in screen coordinates.
virtual KDDockWidgets::Core::View * tests_createFocusableView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Core::View * tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
void(* Callback_onMainWindowDestroyed)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual KDDockWidgets::Core::MainWindow * createMainWindow_nocallback(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions arg__2, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags arg__5={}) const
void(* Callback_onFloatingWindowCreated)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
KDDockWidgets::Core::View *(* Callback_createView)(void *, KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Size screenSizeFor(KDDockWidgets::Core::View *arg__1) const
Returns the size of the screen where this view is in.
void(* Callback_onMainWindowCreated)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual int screenNumberFor_nocallback(KDDockWidgets::Core::View *arg__1) const
virtual void onFloatingWindowDestroyed_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createNonClosableView(KDDockWidgets::Core::View *parent=nullptr)
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
implements functions specific to a particular platform A platform can be for example qtwidgets,...
A factory class for allowing the user to customize some internal views. This is optional,...
The MainWindow base-class that's shared between QtWidgets and QtQuick stack.
@ MainWindowOption_HasCentralFrame
‍No option set
CursorShape
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