KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDWBindingsFlutter/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 <Platform.h>
13#include <ViewFactory.h>
14#include <core/View.h>
15#include <geometry_helpers_p.h>
16#include <core/Controller.h>
17#include <FloatingWindow.h>
18#include "core/MainWindow.h"
19#include <ClassicIndicatorsWindow.h>
20#include <DelayedCall_p.h>
21#include <core/Platform.h>
22#include <string_p.h>
23#include <QtCompat_p.h>
24#include <vector>
25
27namespace KDDWBindingsFlutter {
29{
30public:
33 virtual QString applicationName() const;
34 virtual QString applicationName_nocallback() const;
37 virtual KDDockWidgets::Core::MainWindow *createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags<KDDockWidgets::MainWindowOption> options = KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent = nullptr, Qt::WindowFlags flags = {}) const;
41 virtual KDDockWidgets::Point cursorPos() const;
42 virtual KDDockWidgets::Point cursorPos_nocallback() const;
43 virtual void dumpManagedBacktrace();
45 virtual bool hasActivePopup() const;
46 virtual bool hasActivePopup_nocallback() const;
47 virtual bool inDisallowedDragView(KDDockWidgets::Point globalPos) const;
48 virtual bool inDisallowedDragView_nocallback(KDDockWidgets::Point globalPos) const;
49 void init();
50 virtual void installMessageHandler();
52 virtual bool isLeftMouseButtonPressed() const;
53 virtual bool isLeftMouseButtonPressed_nocallback() const;
54 virtual bool isProcessingAppQuitEvent() const;
55 virtual bool isProcessingAppQuitEvent_nocallback() const;
56 virtual const char *name() const;
57 virtual const char *name_nocallback() const;
70 virtual void pauseForDartDebugger();
72 virtual void pauseForDebugger();
73 virtual void pauseForDebugger_nocallback();
75 virtual void rebuildWindowOverlay();
77 virtual void restoreMouseCursor();
78 virtual void restoreMouseCursor_nocallback();
79 void resumeCoRoutines();
80 virtual void runDelayed(int ms, KDDockWidgets::Core::DelayedCall *c);
81 virtual void runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c);
82 void runTests();
83 virtual void scheduleResumeCoRoutines(int ms) const;
84 virtual void scheduleResumeCoRoutines_nocallback(int ms) const;
85 virtual int screenNumberFor(KDDockWidgets::Core::View *arg__1) const;
87 virtual KDDockWidgets::Size screenSizeFor(KDDockWidgets::Core::View *arg__1) const;
88 virtual KDDockWidgets::Size screenSizeFor_nocallback(KDDockWidgets::Core::View *arg__1) const;
89 virtual void sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const;
90 virtual void sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const;
91 virtual void setCursorPos(KDDockWidgets::Point arg__1);
92 virtual void setCursorPos_nocallback(KDDockWidgets::Point arg__1);
93 virtual void setMouseCursor(Qt::CursorShape arg__1, bool discardLast = false);
94 virtual void setMouseCursor_nocallback(Qt::CursorShape arg__1, bool discardLast = false);
95 virtual int startDragDistance_impl() const;
96 virtual int startDragDistance_impl_nocallback() const;
97 virtual bool supportsAeroSnap() const;
98 virtual bool supportsAeroSnap_nocallback() const;
99 virtual KDDockWidgets::Core::View *tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
100 virtual KDDockWidgets::Core::View *tests_createFocusableView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
103 virtual KDDockWidgets::Core::View *tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
104 virtual KDDockWidgets::Core::View *tests_createView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent = nullptr);
105 virtual void tests_deinitPlatform_impl();
107 virtual void tests_initPlatform_impl();
109 virtual void ungrabMouse();
110 virtual void ungrabMouse_nocallback();
111 virtual void uninstallMessageHandler();
113 virtual bool usesFallbackMouseGrabber() const;
114 virtual bool usesFallbackMouseGrabber_nocallback() const;
115 typedef QString *(*Callback_applicationName)(void *);
117 typedef KDDockWidgets::Core::ViewFactory *(*Callback_createDefaultViewFactory)(void *);
119 typedef KDDockWidgets::Core::MainWindow *(*Callback_createMainWindow)(void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *viewOpts, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View *parent, Qt::WindowFlags flags);
121 typedef KDDockWidgets::Core::View *(*Callback_createView)(void *, KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent);
123 typedef KDDockWidgets::Point *(*Callback_cursorPos)(void *);
125 typedef void (*Callback_dumpManagedBacktrace)(void *);
127 typedef bool (*Callback_hasActivePopup)(void *);
129 typedef bool (*Callback_inDisallowedDragView)(void *, KDDockWidgets::Point *globalPos);
131 typedef void (*Callback_installMessageHandler)(void *);
133 typedef bool (*Callback_isLeftMouseButtonPressed)(void *);
135 typedef bool (*Callback_isProcessingAppQuitEvent)(void *);
137 typedef const char *(*Callback_name)(void *);
151 typedef void (*Callback_pauseForDartDebugger)(void *);
153 typedef void (*Callback_pauseForDebugger)(void *);
155 typedef void (*Callback_rebuildWindowOverlay)(void *);
157 typedef void (*Callback_restoreMouseCursor)(void *);
159 typedef void (*Callback_runDelayed)(void *, int ms, KDDockWidgets::Core::DelayedCall *c);
161 typedef void (*Callback_scheduleResumeCoRoutines)(void *, int ms);
165 typedef KDDockWidgets::Size *(*Callback_screenSizeFor)(void *, KDDockWidgets::Core::View *arg__1);
167 typedef void (*Callback_sendEvent)(void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2);
169 typedef void (*Callback_setCursorPos)(void *, KDDockWidgets::Point *arg__1);
171 typedef void (*Callback_setMouseCursor)(void *, Qt::CursorShape arg__1, bool discardLast);
173 typedef int (*Callback_startDragDistance_impl)(void *);
175 typedef bool (*Callback_supportsAeroSnap)(void *);
177 typedef KDDockWidgets::Core::View *(*Callback_tests_createFocusableView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent);
179 typedef KDDockWidgets::Core::View *(*Callback_tests_createNonClosableView)(void *, KDDockWidgets::Core::View *parent);
181 typedef KDDockWidgets::Core::View *(*Callback_tests_createView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent);
183 typedef void (*Callback_tests_deinitPlatform_impl)(void *);
185 typedef void (*Callback_tests_initPlatform_impl)(void *);
187 typedef void (*Callback_ungrabMouse)(void *);
189 typedef void (*Callback_uninstallMessageHandler)(void *);
191 typedef bool (*Callback_usesFallbackMouseGrabber)(void *);
193};
194}
195}
196extern "C" {
197// KDDockWidgets::flutter::Platform::Platform()
199// KDDockWidgets::flutter::Platform::applicationName() const
200DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__applicationName(void *thisObj);
201// KDDockWidgets::flutter::Platform::createDefaultViewFactory()
203// KDDockWidgets::flutter::Platform::createMainWindow(const QString & uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags<KDDockWidgets::MainWindowOption> options, KDDockWidgets::Core::View * parent, Qt::WindowFlags flags) const
204DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *viewOpts_, int options_, void *parent_, int flags);
205// KDDockWidgets::flutter::Platform::createView(KDDockWidgets::Core::Controller * controller, KDDockWidgets::Core::View * parent) const
206DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__createView_Controller_View(void *thisObj, void *controller_, void *parent_);
207// KDDockWidgets::flutter::Platform::cursorPos() const
208DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__cursorPos(void *thisObj);
209// KDDockWidgets::flutter::Platform::dumpManagedBacktrace()
210DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__dumpManagedBacktrace(void *thisObj);
211// KDDockWidgets::flutter::Platform::hasActivePopup() const
212DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__hasActivePopup(void *thisObj);
213// KDDockWidgets::flutter::Platform::inDisallowedDragView(KDDockWidgets::Point globalPos) const
214DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__inDisallowedDragView_Point(void *thisObj, void *globalPos_);
215// KDDockWidgets::flutter::Platform::init()
216DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__init(void *thisObj);
217// KDDockWidgets::flutter::Platform::installMessageHandler()
218DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__installMessageHandler(void *thisObj);
219// KDDockWidgets::flutter::Platform::isLeftMouseButtonPressed() const
221// KDDockWidgets::flutter::Platform::isProcessingAppQuitEvent() const
223// KDDockWidgets::flutter::Platform::name() const
224DOCKS_EXPORT const char *c_KDDockWidgets__flutter__Platform__name(void *thisObj);
225// KDDockWidgets::flutter::Platform::onDropIndicatorOverlayCreated(KDDockWidgets::flutter::IndicatorWindow * arg__1)
227// KDDockWidgets::flutter::Platform::onDropIndicatorOverlayDestroyed(KDDockWidgets::flutter::IndicatorWindow * arg__1)
229// KDDockWidgets::flutter::Platform::onFloatingWindowCreated(KDDockWidgets::Core::FloatingWindow * arg__1)
230DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onFloatingWindowCreated_FloatingWindow(void *thisObj, void *arg__1_);
231// KDDockWidgets::flutter::Platform::onFloatingWindowDestroyed(KDDockWidgets::Core::FloatingWindow * arg__1)
232DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onFloatingWindowDestroyed_FloatingWindow(void *thisObj, void *arg__1_);
233// KDDockWidgets::flutter::Platform::onMainWindowCreated(KDDockWidgets::Core::MainWindow * arg__1)
234DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onMainWindowCreated_MainWindow(void *thisObj, void *arg__1_);
235// KDDockWidgets::flutter::Platform::onMainWindowDestroyed(KDDockWidgets::Core::MainWindow * arg__1)
236DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onMainWindowDestroyed_MainWindow(void *thisObj, void *arg__1_);
237// KDDockWidgets::flutter::Platform::pauseForDartDebugger()
238DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__pauseForDartDebugger(void *thisObj);
239// KDDockWidgets::flutter::Platform::pauseForDebugger()
240DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__pauseForDebugger(void *thisObj);
241// KDDockWidgets::flutter::Platform::platformFlutter()
243// KDDockWidgets::flutter::Platform::rebuildWindowOverlay()
244DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__rebuildWindowOverlay(void *thisObj);
245// KDDockWidgets::flutter::Platform::restoreMouseCursor()
246DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__restoreMouseCursor(void *thisObj);
247// KDDockWidgets::flutter::Platform::resumeCoRoutines()
248DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__resumeCoRoutines(void *thisObj);
249// KDDockWidgets::flutter::Platform::runDelayed(int ms, KDDockWidgets::Core::DelayedCall * c)
250DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__runDelayed_int_DelayedCall(void *thisObj, int ms, void *c_);
251// KDDockWidgets::flutter::Platform::runTests()
252DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__runTests(void *thisObj);
253// KDDockWidgets::flutter::Platform::scheduleResumeCoRoutines(int ms) const
254DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__scheduleResumeCoRoutines_int(void *thisObj, int ms);
255// KDDockWidgets::flutter::Platform::screenNumberFor(KDDockWidgets::Core::View * arg__1) const
256DOCKS_EXPORT int c_KDDockWidgets__flutter__Platform__screenNumberFor_View(void *thisObj, void *arg__1_);
257// KDDockWidgets::flutter::Platform::screenSizeFor(KDDockWidgets::Core::View * arg__1) const
258DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__screenSizeFor_View(void *thisObj, void *arg__1_);
259// KDDockWidgets::flutter::Platform::sendEvent(KDDockWidgets::Core::View * arg__1, KDDockWidgets::Event * arg__2) const
260DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_);
261// KDDockWidgets::flutter::Platform::setCursorPos(KDDockWidgets::Point arg__1)
262DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__setCursorPos_Point(void *thisObj, void *arg__1_);
263// KDDockWidgets::flutter::Platform::setMouseCursor(Qt::CursorShape arg__1, bool discardLast)
264DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast);
265// KDDockWidgets::flutter::Platform::startDragDistance_impl() const
267// KDDockWidgets::flutter::Platform::supportsAeroSnap() const
268DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__supportsAeroSnap(void *thisObj);
269// KDDockWidgets::flutter::Platform::tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
270DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__tests_createFocusableView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_);
271// KDDockWidgets::flutter::Platform::tests_createNonClosableView(KDDockWidgets::Core::View * parent)
272DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__tests_createNonClosableView_View(void *thisObj, void *parent_);
273// KDDockWidgets::flutter::Platform::tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View * parent)
274DOCKS_EXPORT void *c_KDDockWidgets__flutter__Platform__tests_createView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_);
275// KDDockWidgets::flutter::Platform::tests_deinitPlatform_impl()
277// KDDockWidgets::flutter::Platform::tests_initPlatform_impl()
279// KDDockWidgets::flutter::Platform::ungrabMouse()
280DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__ungrabMouse(void *thisObj);
281// KDDockWidgets::flutter::Platform::uninstallMessageHandler()
283// KDDockWidgets::flutter::Platform::usesFallbackMouseGrabber() const
285DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__destructor(void *thisObj);
286DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
287DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform_Finalizer(void *cppObj);
288}
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__usesFallbackMouseGrabber(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onFloatingWindowCreated_FloatingWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__cursorPos(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__restoreMouseCursor(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__pauseForDebugger(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__applicationName(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__runDelayed_int_DelayedCall(void *thisObj, int ms, void *c_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__resumeCoRoutines(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__hasActivePopup(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__runTests(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__rebuildWindowOverlay(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__sendEvent_View_Event(void *thisObj, void *arg__1_, void *arg__2_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__scheduleResumeCoRoutines_int(void *thisObj, int ms)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__tests_createView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void * c_static_KDDockWidgets__flutter__Platform__platformFlutter()
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onFloatingWindowDestroyed_FloatingWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__isLeftMouseButtonPressed(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__constructor()
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__createDefaultViewFactory(void *thisObj)
DOCKS_EXPORT const char * c_KDDockWidgets__flutter__Platform__name(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__init(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__pauseForDartDebugger(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__ungrabMouse(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onMainWindowDestroyed_MainWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT int c_KDDockWidgets__flutter__Platform__startDragDistance_impl(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__setMouseCursor_CursorShape_bool(void *thisObj, int arg__1, bool discardLast)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onDropIndicatorOverlayCreated_IndicatorWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__uninstallMessageHandler(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__tests_createFocusableView_CreateViewOptions_View(void *thisObj, void *arg__1_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags(void *thisObj, const char *uniqueName_, void *viewOpts_, int options_, void *parent_, int flags)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__tests_deinitPlatform_impl(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__installMessageHandler(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__tests_initPlatform_impl(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__tests_createNonClosableView_View(void *thisObj, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onDropIndicatorOverlayDestroyed_IndicatorWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__onMainWindowCreated_MainWindow(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__dumpManagedBacktrace(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__isProcessingAppQuitEvent(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__supportsAeroSnap(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__flutter__Platform__inDisallowedDragView_Point(void *thisObj, void *globalPos_)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__screenSizeFor_View(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform__setCursorPos_Point(void *thisObj, void *arg__1_)
DOCKS_EXPORT void * c_KDDockWidgets__flutter__Platform__createView_Controller_View(void *thisObj, void *controller_, void *parent_)
DOCKS_EXPORT int c_KDDockWidgets__flutter__Platform__screenNumberFor_View(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__flutter__Platform_Finalizer(void *cppObj)
virtual KDDockWidgets::Core::View * createView_nocallback(KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent=nullptr) const
virtual void setCursorPos(KDDockWidgets::Point arg__1)
Sets the mouse cursor position in screen coordinates.
KDDockWidgets::Core::View *(* Callback_tests_createFocusableView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
virtual void onDropIndicatorOverlayCreated_nocallback(KDDockWidgets::flutter::IndicatorWindow *arg__1)
void(* Callback_onFloatingWindowCreated)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
void(* Callback_sendEvent)(void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2)
virtual bool isProcessingAppQuitEvent() const
Returns whether we're processing a Event::Quit.
void(* Callback_onMainWindowCreated)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual void sendEvent(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
Sends the specified event to the specified view.
virtual void dumpManagedBacktrace()
For non-C++, managed languages (having a VM) prints a non-native back-trace For example,...
virtual KDDockWidgets::Core::View * tests_createFocusableView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
void(* Callback_onMainWindowDestroyed)(void *, KDDockWidgets::Core::MainWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Point cursorPos() const
Returns the mouse cursor position in screen coordinates.
virtual void onMainWindowDestroyed_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
KDDockWidgets::Size *(* Callback_screenSizeFor)(void *, KDDockWidgets::Core::View *arg__1)
virtual bool isLeftMouseButtonPressed() const
Returns whether the left mouse button is pressed.
virtual KDDockWidgets::Core::MainWindow * createMainWindow_nocallback(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags flags={}) const
virtual void setMouseCursor_nocallback(Qt::CursorShape arg__1, bool discardLast=false)
virtual const char * name() const
Returns the name of the platform, only "qtwidgets" and "qtquick".
virtual void onDropIndicatorOverlayCreated(KDDockWidgets::flutter::IndicatorWindow *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.
virtual bool hasActivePopup() const
Returns whether a popup is open Usually not needed to override. Investigate further in case side bars...
void(* Callback_onFloatingWindowDestroyed)(void *, KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::ViewFactory * createDefaultViewFactory()
Creates and returns the default ViewFactory.
virtual KDDockWidgets::Core::View * tests_createNonClosableView(KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Core::View * tests_createNonClosableView_nocallback(KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Size screenSizeFor(KDDockWidgets::Core::View *arg__1) const
Returns the size of the screen where this view is in.
virtual void runDelayed_nocallback(int ms, KDDockWidgets::Core::DelayedCall *c)
void(* Callback_onDropIndicatorOverlayDestroyed)(void *, KDDockWidgets::flutter::IndicatorWindow *arg__1)
KDDockWidgets::Core::View *(* Callback_createView)(void *, KDDockWidgets::Core::Controller *controller, KDDockWidgets::Core::View *parent)
virtual void onDropIndicatorOverlayDestroyed_nocallback(KDDockWidgets::flutter::IndicatorWindow *arg__1)
KDDockWidgets::Core::MainWindow *(* Callback_createMainWindow)(void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *viewOpts, QFlags< KDDockWidgets::MainWindowOption > options, KDDockWidgets::Core::View *parent, Qt::WindowFlags flags)
virtual void onFloatingWindowDestroyed_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual void onDropIndicatorOverlayDestroyed(KDDockWidgets::flutter::IndicatorWindow *arg__1)
virtual QString applicationName() const
Returns the application name This name will be used as title of floating dock widgets which contain m...
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 onMainWindowCreated_nocallback(KDDockWidgets::Core::MainWindow *arg__1)
virtual bool usesFallbackMouseGrabber() const
Return whether we use the global event filter based mouse grabber.
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 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_setMouseCursor)(void *, Qt::CursorShape arg__1, bool discardLast)
virtual KDDockWidgets::Core::View * createView(KDDockWidgets::Core::Controller *controller, 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 void onFloatingWindowCreated_nocallback(KDDockWidgets::Core::FloatingWindow *arg__1)
virtual KDDockWidgets::Core::View * tests_createView_nocallback(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
KDDockWidgets::Core::View *(* Callback_tests_createNonClosableView)(void *, KDDockWidgets::Core::View *parent)
virtual KDDockWidgets::Core::View * tests_createFocusableView(KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr)
void(* Callback_runDelayed)(void *, int ms, KDDockWidgets::Core::DelayedCall *c)
virtual KDDockWidgets::Core::MainWindow * createMainWindow(const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions viewOpts, QFlags< KDDockWidgets::MainWindowOption > options=KDDockWidgets::MainWindowOption::MainWindowOption_HasCentralFrame, KDDockWidgets::Core::View *parent=nullptr, Qt::WindowFlags flags={}) 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 sendEvent_nocallback(KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const
void(* Callback_onDropIndicatorOverlayCreated)(void *, KDDockWidgets::flutter::IndicatorWindow *arg__1)
virtual bool inDisallowedDragView(KDDockWidgets::Point globalPos) const
Returns whether the specified global position is on top of a view that isn't draggable....
KDDockWidgets::Core::View *(* Callback_tests_createView)(void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent)
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 KDDockWidgets::Size screenSizeFor_nocallback(KDDockWidgets::Core::View *arg__1) const
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,...
implements functions specific to a particular platform A platform can be for example qtwidgets,...
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