KDDockWidgets API Documentation 2.0
|
#include <Platform_c.h>
Public Member Functions | |
Platform_wrapper () | |
~Platform_wrapper () | |
virtual QString | applicationName () const |
Returns the application name This name will be used as title of floating dock widgets which contain more than 1 group. | |
virtual QString | applicationName_nocallback () const |
virtual KDDockWidgets::Core::ViewFactory * | createDefaultViewFactory () |
Creates and returns the default ViewFactory. | |
virtual KDDockWidgets::Core::ViewFactory * | createDefaultViewFactory_nocallback () |
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 |
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 |
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 return something as basic. | |
virtual KDDockWidgets::Core::View * | createView_nocallback (KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent=nullptr) const |
virtual KDDockWidgets::Point | cursorPos () const |
Returns the mouse cursor position in screen coordinates. | |
virtual KDDockWidgets::Point | cursorPos_nocallback () const |
virtual void | dumpManagedBacktrace () |
For non-C++, managed languages (having a VM) prints a non-native back-trace For example, the flutter frontend implements this to get a dart backtrace Used for debugging only. Can be called by gdb. | |
virtual void | dumpManagedBacktrace_nocallback () |
virtual bool | hasActivePopup () const |
Returns whether a popup is open Usually not needed to override. Investigate further in case side bars aren't auto hiding. | |
virtual bool | hasActivePopup_nocallback () const |
virtual bool | inDisallowedDragView (KDDockWidgets::Point globalPos) const |
Returns whether the specified global position is on top of a view that isn't draggable. This is needed since not the entire title bar is draggable. For example, clicking on the close button shouldn't start a drag. | |
virtual bool | inDisallowedDragView_nocallback (KDDockWidgets::Point globalPos) const |
virtual void | installMessageHandler () |
virtual void | installMessageHandler_nocallback () |
virtual bool | isLeftMouseButtonPressed () const |
Returns whether the left mouse button is pressed. | |
virtual bool | isLeftMouseButtonPressed_nocallback () const |
virtual bool | isProcessingAppQuitEvent () const |
Returns whether we're processing a Event::Quit. | |
virtual bool | isProcessingAppQuitEvent_nocallback () const |
bool | isQt () const |
bool | isQtQuick () const |
bool | isQtWidgets () const |
virtual const char * | name () const |
Returns the name of the platform, only "qtwidgets" and "qtquick". | |
virtual const char * | name_nocallback () const |
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 | onFloatingWindowCreated_nocallback (KDDockWidgets::Core::FloatingWindow *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 | onFloatingWindowDestroyed_nocallback (KDDockWidgets::Core::FloatingWindow *arg__1) |
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 only. In real life users will instantiate a MainWindow in dart directly. | |
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. | |
virtual void | onMainWindowDestroyed_nocallback (KDDockWidgets::Core::MainWindow *arg__1) |
virtual void | pauseForDebugger () |
virtual void | pauseForDebugger_nocallback () |
virtual void | restoreMouseCursor () |
Undoes the call to setMouseCursor() | |
virtual void | restoreMouseCursor_nocallback () |
virtual void | runDelayed (int ms, KDDockWidgets::Core::DelayedCall *c) |
virtual void | runDelayed_nocallback (int ms, KDDockWidgets::Core::DelayedCall *c) |
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 screens are ordered, kddw won't care. | |
virtual int | screenNumberFor_nocallback (KDDockWidgets::Core::View *arg__1) const |
virtual KDDockWidgets::Size | screenSizeFor (KDDockWidgets::Core::View *arg__1) const |
Returns the size of the screen where this view is in. | |
virtual KDDockWidgets::Size | screenSizeFor_nocallback (KDDockWidgets::Core::View *arg__1) const |
virtual void | sendEvent (KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const |
Sends the specified event to the specified view. | |
virtual void | sendEvent_nocallback (KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) const |
virtual void | setCursorPos (KDDockWidgets::Point arg__1) |
Sets the mouse cursor position in screen coordinates. | |
virtual void | setCursorPos_nocallback (KDDockWidgets::Point arg__1) |
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 restoreMouseCursor() to set the previous cursor shape. | |
virtual void | setMouseCursor_nocallback (Qt::CursorShape arg__1, bool discardLast=false) |
int | startDragDistance () const |
virtual int | startDragDistance_impl () const |
virtual int | startDragDistance_impl_nocallback () const |
virtual bool | supportsAeroSnap () const |
Only supported on Qt, for windows. | |
virtual bool | supportsAeroSnap_nocallback () const |
virtual KDDockWidgets::Core::View * | tests_createFocusableView (KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr) |
virtual KDDockWidgets::Core::View * | tests_createFocusableView_nocallback (KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr) |
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::Core::View * | tests_createView (KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr) |
virtual KDDockWidgets::Core::View * | tests_createView_nocallback (KDDockWidgets::Core::CreateViewOptions arg__1, KDDockWidgets::Core::View *parent=nullptr) |
virtual void | tests_deinitPlatform_impl () |
virtual void | tests_deinitPlatform_impl_nocallback () |
virtual void | tests_initPlatform_impl () |
virtual void | tests_initPlatform_impl_nocallback () |
virtual void | ungrabMouse () |
Releases the mouse grab, if any. | |
virtual void | ungrabMouse_nocallback () |
virtual void | uninstallMessageHandler () |
virtual void | uninstallMessageHandler_nocallback () |
virtual bool | usesFallbackMouseGrabber () const |
Return whether we use the global event filter based mouse grabber. | |
virtual bool | usesFallbackMouseGrabber_nocallback () const |
Public Member Functions inherited from KDDockWidgets::Core::Platform | |
virtual | ~Platform () |
virtual DisplayType | displayType () const =0 |
Returns the type of graphics stack being used. | |
virtual std::shared_ptr< View > | focusedView () const =0 |
Returns the focused view, if any. | |
void | installGlobalEventFilter (EventFilterInterface *) |
Installs a global event filter Events will be forwarded to the specified EventFilterInterface. | |
bool | isQt () const |
Returns whether this platform is Qt based. | |
bool | isQtQuick () const |
Returns whether this platform is QtQuick. | |
bool | isQtWidgets () const |
Returns whether this platform is QtWidgets. | |
virtual std::shared_ptr< Screen > | primaryScreen () const =0 |
virtual QByteArray | readFile (const QString &, bool &ok) const |
void | removeGlobalEventFilter (EventFilterInterface *) |
Removes a global event filter. | |
virtual int | screenNumberFor (std::shared_ptr< Core::Window >) const =0 |
virtual Vector< std::shared_ptr< Screen > > | screens () const =0 |
Returns all available screens. | |
int | startDragDistance () const |
Returns how many pixels the mouse must move for a drag to start This is usually 4 by default (QApplication::startDragDistance() for QtWidgets) You can override by calling Config::setStartDragDistance(), so you don't need to create a new Platform class. | |
virtual std::shared_ptr< Core::Window > | windowAt (Point globalPos) const =0 |
Returns the window at the specified global coordinates. | |
virtual Vector< std::shared_ptr< Core::Window > > | windows () const =0 |
Returns all windows. | |
Static Public Member Functions | |
static KDDockWidgets::Core::Platform * | instance () |
static bool | isInitialized () |
Static Public Member Functions inherited from KDDockWidgets::Core::Platform | |
static std::vector< KDDockWidgets::FrontendType > | frontendTypes () |
list the list of frontend types supported by this build | |
static Platform * | instance () |
Returns the platform singleton. | |
Additional Inherited Members | |
Protected Member Functions inherited from KDDockWidgets::Core::Platform | |
Platform () | |
Platform (const Platform &)=delete | |
Platform & | operator= (const Platform &)=delete |
Definition at line 26 of file KDDWBindingsCore/Platform_c.h.
typedef QString *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_applicationName) (void *) |
Definition at line 105 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::ViewFactory *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_createDefaultViewFactory) (void *) |
Definition at line 107 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::MainWindow *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_createMainWindow) (void *, const QString &uniqueName, KDDockWidgets::Core::CreateViewOptions *arg__2, QFlags< KDDockWidgets::MainWindowOption > options, KDDockWidgets::Core::View *parent, Qt::WindowFlags arg__5) |
Definition at line 109 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_createView) (void *, KDDockWidgets::Core::Controller *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 111 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Point *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_cursorPos) (void *) |
Definition at line 113 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_dumpManagedBacktrace) (void *) |
Definition at line 115 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_hasActivePopup) (void *) |
Definition at line 117 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_inDisallowedDragView) (void *, KDDockWidgets::Point *globalPos) |
Definition at line 119 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_installMessageHandler) (void *) |
Definition at line 121 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_isLeftMouseButtonPressed) (void *) |
Definition at line 123 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_isProcessingAppQuitEvent) (void *) |
Definition at line 125 of file KDDWBindingsCore/Platform_c.h.
typedef const char *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_name) (void *) |
Definition at line 127 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_onFloatingWindowCreated) (void *, KDDockWidgets::Core::FloatingWindow *arg__1) |
Definition at line 129 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_onFloatingWindowDestroyed) (void *, KDDockWidgets::Core::FloatingWindow *arg__1) |
Definition at line 131 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_onMainWindowCreated) (void *, KDDockWidgets::Core::MainWindow *arg__1) |
Definition at line 133 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_onMainWindowDestroyed) (void *, KDDockWidgets::Core::MainWindow *arg__1) |
Definition at line 135 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_pauseForDebugger) (void *) |
Definition at line 137 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_restoreMouseCursor) (void *) |
Definition at line 139 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_runDelayed) (void *, int ms, KDDockWidgets::Core::DelayedCall *c) |
Definition at line 141 of file KDDWBindingsCore/Platform_c.h.
typedef int(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_screenNumberFor) (void *, KDDockWidgets::Core::View *arg__1) |
Definition at line 143 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Size *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_screenSizeFor) (void *, KDDockWidgets::Core::View *arg__1) |
Definition at line 145 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_sendEvent) (void *, KDDockWidgets::Core::View *arg__1, KDDockWidgets::Event *arg__2) |
Definition at line 147 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_setCursorPos) (void *, KDDockWidgets::Point *arg__1) |
Definition at line 149 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_setMouseCursor) (void *, Qt::CursorShape arg__1, bool discardLast) |
Definition at line 151 of file KDDWBindingsCore/Platform_c.h.
typedef int(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_startDragDistance_impl) (void *) |
Definition at line 153 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_supportsAeroSnap) (void *) |
Definition at line 155 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_tests_createFocusableView) (void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 157 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_tests_createNonClosableView) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 159 of file KDDWBindingsCore/Platform_c.h.
typedef KDDockWidgets::Core::View *(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_tests_createView) (void *, KDDockWidgets::Core::CreateViewOptions *arg__1, KDDockWidgets::Core::View *parent) |
Definition at line 161 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_tests_deinitPlatform_impl) (void *) |
Definition at line 163 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_tests_initPlatform_impl) (void *) |
Definition at line 165 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_ungrabMouse) (void *) |
Definition at line 167 of file KDDWBindingsCore/Platform_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_uninstallMessageHandler) (void *) |
Definition at line 169 of file KDDWBindingsCore/Platform_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Callback_usesFallbackMouseGrabber) (void *) |
Definition at line 171 of file KDDWBindingsCore/Platform_c.h.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::~Platform_wrapper | ( | ) |
Definition at line 549 of file KDDWBindingsCore/Platform_c.cpp.
KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::Platform_wrapper | ( | ) |
Definition at line 33 of file KDDWBindingsCore/Platform_c.cpp.
|
virtual |
Returns the application name This name will be used as title of floating dock widgets which contain more than 1 group.
Implements KDDockWidgets::Core::Platform.
Definition at line 37 of file KDDWBindingsCore/Platform_c.cpp.
References m_applicationNameCallback.
|
virtual |
Definition at line 47 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__applicationName().
|
virtual |
Creates and returns the default ViewFactory.
Implements KDDockWidgets::Core::Platform.
Definition at line 52 of file KDDWBindingsCore/Platform_c.cpp.
References m_createDefaultViewFactoryCallback.
|
virtual |
Definition at line 62 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__createDefaultViewFactory().
|
virtual |
Definition at line 67 of file KDDWBindingsCore/Platform_c.cpp.
References m_createMainWindowCallback.
|
virtual |
Definition at line 77 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__createMainWindow_QString_CreateViewOptions_MainWindowOptions_View_WindowFlags().
|
virtual |
Create an empty view For Qt this would just returns a empty QWidget or QQuickItem other frontends can return something as basic.
Implements KDDockWidgets::Core::Platform.
Definition at line 82 of file KDDWBindingsCore/Platform_c.cpp.
References m_createViewCallback.
|
virtual |
Definition at line 92 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__createView_Controller_View().
|
virtual |
Returns the mouse cursor position in screen coordinates.
Implements KDDockWidgets::Core::Platform.
Definition at line 97 of file KDDWBindingsCore/Platform_c.cpp.
References m_cursorPosCallback.
|
virtual |
Definition at line 107 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__cursorPos().
|
virtual |
For non-C++, managed languages (having a VM) prints a non-native back-trace For example, the flutter frontend implements this to get a dart backtrace Used for debugging only. Can be called by gdb.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 112 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::dumpManagedBacktrace(), and m_dumpManagedBacktraceCallback.
|
virtual |
Definition at line 121 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::dumpManagedBacktrace().
Referenced by c_KDDockWidgets__Core__Platform__dumpManagedBacktrace().
|
virtual |
Returns whether a popup is open Usually not needed to override. Investigate further in case side bars aren't auto hiding.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 125 of file KDDWBindingsCore/Platform_c.cpp.
References m_hasActivePopupCallback.
|
virtual |
Definition at line 134 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__hasActivePopup().
|
virtual |
Returns whether the specified global position is on top of a view that isn't draggable. This is needed since not the entire title bar is draggable. For example, clicking on the close button shouldn't start a drag.
Implements KDDockWidgets::Core::Platform.
Definition at line 138 of file KDDWBindingsCore/Platform_c.cpp.
References m_inDisallowedDragViewCallback.
|
virtual |
Definition at line 148 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__inDisallowedDragView_Point().
|
virtual |
Definition at line 153 of file KDDWBindingsCore/Platform_c.cpp.
References m_installMessageHandlerCallback.
|
virtual |
Definition at line 163 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__installMessageHandler().
|
static |
Definition at line 168 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_static_KDDockWidgets__Core__Platform__instance().
|
static |
Definition at line 172 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_static_KDDockWidgets__Core__Platform__isInitialized().
|
virtual |
Returns whether the left mouse button is pressed.
Implements KDDockWidgets::Core::Platform.
Definition at line 176 of file KDDWBindingsCore/Platform_c.cpp.
References m_isLeftMouseButtonPressedCallback.
|
virtual |
Definition at line 186 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__isLeftMouseButtonPressed().
|
virtual |
Returns whether we're processing a Event::Quit.
Used internally to know if we should let Qt close a NonClosable dock widget at shutdown time.
Implements KDDockWidgets::Core::Platform.
Definition at line 191 of file KDDWBindingsCore/Platform_c.cpp.
References m_isProcessingAppQuitEventCallback.
|
virtual |
Definition at line 201 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__isProcessingAppQuitEvent().
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::isQt | ( | ) | const |
Definition at line 206 of file KDDWBindingsCore/Platform_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::isQtQuick | ( | ) | const |
Definition at line 210 of file KDDWBindingsCore/Platform_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::isQtWidgets | ( | ) | const |
Definition at line 214 of file KDDWBindingsCore/Platform_c.cpp.
|
virtual |
Returns the name of the platform, only "qtwidgets" and "qtquick".
Implements KDDockWidgets::Core::Platform.
Definition at line 218 of file KDDWBindingsCore/Platform_c.cpp.
References m_nameCallback.
|
virtual |
Definition at line 228 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__name().
|
virtual |
Called when a floating window is created. Overridden by flutter, so it can create a window.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 233 of file KDDWBindingsCore/Platform_c.cpp.
References m_onFloatingWindowCreatedCallback, and KDDockWidgets::Core::Platform::onFloatingWindowCreated().
|
virtual |
Definition at line 242 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::onFloatingWindowCreated().
Referenced by c_KDDockWidgets__Core__Platform__onFloatingWindowCreated_FloatingWindow().
|
virtual |
Called when a floating window is created. Overridden by flutter, so it can destroy the window.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 246 of file KDDWBindingsCore/Platform_c.cpp.
References m_onFloatingWindowDestroyedCallback, and KDDockWidgets::Core::Platform::onFloatingWindowDestroyed().
|
virtual |
Definition at line 255 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::onFloatingWindowDestroyed().
Referenced by c_KDDockWidgets__Core__Platform__onFloatingWindowDestroyed_FloatingWindow().
|
virtual |
Called when a main window is created. Overridden by flutter, so it can create a window Used by tests only. In real life users will instantiate a MainWindow in dart directly.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 259 of file KDDWBindingsCore/Platform_c.cpp.
References m_onMainWindowCreatedCallback, and KDDockWidgets::Core::Platform::onMainWindowCreated().
|
virtual |
Definition at line 268 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::onMainWindowCreated().
Referenced by c_KDDockWidgets__Core__Platform__onMainWindowCreated_MainWindow().
|
virtual |
Called when a main window is created. Overridden by flutter, so it can destroy the window.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 272 of file KDDWBindingsCore/Platform_c.cpp.
References m_onMainWindowDestroyedCallback, and KDDockWidgets::Core::Platform::onMainWindowDestroyed().
|
virtual |
Definition at line 281 of file KDDWBindingsCore/Platform_c.cpp.
References KDDockWidgets::Core::Platform::onMainWindowDestroyed().
Referenced by c_KDDockWidgets__Core__Platform__onMainWindowDestroyed_MainWindow().
|
virtual |
Definition at line 285 of file KDDWBindingsCore/Platform_c.cpp.
References m_pauseForDebuggerCallback.
|
virtual |
Definition at line 294 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__pauseForDebugger().
|
virtual |
Undoes the call to setMouseCursor()
Implements KDDockWidgets::Core::Platform.
Definition at line 298 of file KDDWBindingsCore/Platform_c.cpp.
References m_restoreMouseCursorCallback.
|
virtual |
Definition at line 308 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__restoreMouseCursor().
|
virtual |
runs the specified all after ms Equivalent to QTimer::singleShot in Qt
Implements KDDockWidgets::Core::Platform.
Definition at line 313 of file KDDWBindingsCore/Platform_c.cpp.
References m_runDelayedCallback.
|
virtual |
Definition at line 323 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__runDelayed_int_DelayedCall().
|
virtual |
Returns the screen index for the specified view or window. It's up to the platform to decide how screens are ordered, kddw won't care.
Implements KDDockWidgets::Core::Platform.
Definition at line 328 of file KDDWBindingsCore/Platform_c.cpp.
References m_screenNumberForCallback.
|
virtual |
Definition at line 338 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__screenNumberFor_View().
|
virtual |
Returns the size of the screen where this view is in.
Implements KDDockWidgets::Core::Platform.
Definition at line 343 of file KDDWBindingsCore/Platform_c.cpp.
References m_screenSizeForCallback.
|
virtual |
Definition at line 353 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__screenSizeFor_View().
|
virtual |
Sends the specified event to the specified view.
Implements KDDockWidgets::Core::Platform.
Definition at line 358 of file KDDWBindingsCore/Platform_c.cpp.
References m_sendEventCallback.
|
virtual |
Definition at line 368 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__sendEvent_View_Event().
|
virtual |
Sets the mouse cursor position in screen coordinates.
Implements KDDockWidgets::Core::Platform.
Definition at line 373 of file KDDWBindingsCore/Platform_c.cpp.
References m_setCursorPosCallback.
|
virtual |
Definition at line 383 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__setCursorPos_Point().
|
virtual |
Sets the mouse cursor to the specified shape, this has an application-wide effect Call restoreMouseCursor() to set the previous cursor shape.
discardLast | If true, then the previous shape is discarded instead of being saved into a stack for restoreMouseCursor() |
Implements KDDockWidgets::Core::Platform.
Definition at line 388 of file KDDWBindingsCore/Platform_c.cpp.
References m_setMouseCursorCallback.
|
virtual |
Definition at line 398 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__setMouseCursor_CursorShape_bool().
int KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::startDragDistance | ( | ) | const |
Definition at line 403 of file KDDWBindingsCore/Platform_c.cpp.
|
virtual |
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 407 of file KDDWBindingsCore/Platform_c.cpp.
References m_startDragDistance_implCallback.
|
virtual |
Definition at line 416 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__startDragDistance_impl().
|
virtual |
Only supported on Qt, for windows.
Reimplemented from KDDockWidgets::Core::Platform.
Definition at line 420 of file KDDWBindingsCore/Platform_c.cpp.
References m_supportsAeroSnapCallback.
|
virtual |
Definition at line 429 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__supportsAeroSnap().
|
virtual |
Definition at line 433 of file KDDWBindingsCore/Platform_c.cpp.
References m_tests_createFocusableViewCallback.
|
virtual |
Definition at line 443 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__tests_createFocusableView_CreateViewOptions_View().
|
virtual |
Definition at line 448 of file KDDWBindingsCore/Platform_c.cpp.
References m_tests_createNonClosableViewCallback.
|
virtual |
Definition at line 458 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__tests_createNonClosableView_View().
|
virtual |
Definition at line 463 of file KDDWBindingsCore/Platform_c.cpp.
References m_tests_createViewCallback.
|
virtual |
Definition at line 473 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__tests_createView_CreateViewOptions_View().
|
virtual |
Definition at line 478 of file KDDWBindingsCore/Platform_c.cpp.
References m_tests_deinitPlatform_implCallback.
|
virtual |
Definition at line 487 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__tests_deinitPlatform_impl().
|
virtual |
Definition at line 491 of file KDDWBindingsCore/Platform_c.cpp.
References m_tests_initPlatform_implCallback.
|
virtual |
Definition at line 500 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__tests_initPlatform_impl().
|
virtual |
Releases the mouse grab, if any.
Implements KDDockWidgets::Core::Platform.
Definition at line 504 of file KDDWBindingsCore/Platform_c.cpp.
References m_ungrabMouseCallback.
|
virtual |
Definition at line 514 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__ungrabMouse().
|
virtual |
Definition at line 519 of file KDDWBindingsCore/Platform_c.cpp.
References m_uninstallMessageHandlerCallback.
|
virtual |
Definition at line 529 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__uninstallMessageHandler().
|
virtual |
Return whether we use the global event filter based mouse grabber.
Implements KDDockWidgets::Core::Platform.
Definition at line 534 of file KDDWBindingsCore/Platform_c.cpp.
References m_usesFallbackMouseGrabberCallback.
|
virtual |
Definition at line 544 of file KDDWBindingsCore/Platform_c.cpp.
Referenced by c_KDDockWidgets__Core__Platform__usesFallbackMouseGrabber().
Callback_applicationName KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_applicationNameCallback = nullptr |
Definition at line 106 of file KDDWBindingsCore/Platform_c.h.
Referenced by applicationName().
Callback_createDefaultViewFactory KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_createDefaultViewFactoryCallback = nullptr |
Definition at line 108 of file KDDWBindingsCore/Platform_c.h.
Referenced by createDefaultViewFactory().
Callback_createMainWindow KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_createMainWindowCallback = nullptr |
Definition at line 110 of file KDDWBindingsCore/Platform_c.h.
Referenced by createMainWindow().
Callback_createView KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_createViewCallback = nullptr |
Definition at line 112 of file KDDWBindingsCore/Platform_c.h.
Referenced by createView().
Callback_cursorPos KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_cursorPosCallback = nullptr |
Definition at line 114 of file KDDWBindingsCore/Platform_c.h.
Referenced by cursorPos().
Callback_dumpManagedBacktrace KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_dumpManagedBacktraceCallback = nullptr |
Definition at line 116 of file KDDWBindingsCore/Platform_c.h.
Referenced by dumpManagedBacktrace().
Callback_hasActivePopup KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_hasActivePopupCallback = nullptr |
Definition at line 118 of file KDDWBindingsCore/Platform_c.h.
Referenced by hasActivePopup().
Callback_inDisallowedDragView KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_inDisallowedDragViewCallback = nullptr |
Definition at line 120 of file KDDWBindingsCore/Platform_c.h.
Referenced by inDisallowedDragView().
Callback_installMessageHandler KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_installMessageHandlerCallback = nullptr |
Definition at line 122 of file KDDWBindingsCore/Platform_c.h.
Referenced by installMessageHandler().
Callback_isLeftMouseButtonPressed KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_isLeftMouseButtonPressedCallback = nullptr |
Definition at line 124 of file KDDWBindingsCore/Platform_c.h.
Referenced by isLeftMouseButtonPressed().
Callback_isProcessingAppQuitEvent KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_isProcessingAppQuitEventCallback = nullptr |
Definition at line 126 of file KDDWBindingsCore/Platform_c.h.
Referenced by isProcessingAppQuitEvent().
Callback_name KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_nameCallback = nullptr |
Definition at line 128 of file KDDWBindingsCore/Platform_c.h.
Referenced by name().
Callback_onFloatingWindowCreated KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_onFloatingWindowCreatedCallback = nullptr |
Definition at line 130 of file KDDWBindingsCore/Platform_c.h.
Referenced by onFloatingWindowCreated().
Callback_onFloatingWindowDestroyed KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_onFloatingWindowDestroyedCallback = nullptr |
Definition at line 132 of file KDDWBindingsCore/Platform_c.h.
Referenced by onFloatingWindowDestroyed().
Callback_onMainWindowCreated KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_onMainWindowCreatedCallback = nullptr |
Definition at line 134 of file KDDWBindingsCore/Platform_c.h.
Referenced by onMainWindowCreated().
Callback_onMainWindowDestroyed KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_onMainWindowDestroyedCallback = nullptr |
Definition at line 136 of file KDDWBindingsCore/Platform_c.h.
Referenced by onMainWindowDestroyed().
Callback_pauseForDebugger KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_pauseForDebuggerCallback = nullptr |
Definition at line 138 of file KDDWBindingsCore/Platform_c.h.
Referenced by pauseForDebugger().
Callback_restoreMouseCursor KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_restoreMouseCursorCallback = nullptr |
Definition at line 140 of file KDDWBindingsCore/Platform_c.h.
Referenced by restoreMouseCursor().
Callback_runDelayed KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_runDelayedCallback = nullptr |
Definition at line 142 of file KDDWBindingsCore/Platform_c.h.
Referenced by runDelayed().
Callback_screenNumberFor KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_screenNumberForCallback = nullptr |
Definition at line 144 of file KDDWBindingsCore/Platform_c.h.
Referenced by screenNumberFor().
Callback_screenSizeFor KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_screenSizeForCallback = nullptr |
Definition at line 146 of file KDDWBindingsCore/Platform_c.h.
Referenced by screenSizeFor().
Callback_sendEvent KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_sendEventCallback = nullptr |
Definition at line 148 of file KDDWBindingsCore/Platform_c.h.
Referenced by sendEvent().
Callback_setCursorPos KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_setCursorPosCallback = nullptr |
Definition at line 150 of file KDDWBindingsCore/Platform_c.h.
Referenced by setCursorPos().
Callback_setMouseCursor KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_setMouseCursorCallback = nullptr |
Definition at line 152 of file KDDWBindingsCore/Platform_c.h.
Referenced by setMouseCursor().
Callback_startDragDistance_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_startDragDistance_implCallback = nullptr |
Definition at line 154 of file KDDWBindingsCore/Platform_c.h.
Referenced by startDragDistance_impl().
Callback_supportsAeroSnap KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_supportsAeroSnapCallback = nullptr |
Definition at line 156 of file KDDWBindingsCore/Platform_c.h.
Referenced by supportsAeroSnap().
Callback_tests_createFocusableView KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_tests_createFocusableViewCallback = nullptr |
Definition at line 158 of file KDDWBindingsCore/Platform_c.h.
Referenced by tests_createFocusableView().
Callback_tests_createNonClosableView KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_tests_createNonClosableViewCallback = nullptr |
Definition at line 160 of file KDDWBindingsCore/Platform_c.h.
Referenced by tests_createNonClosableView().
Callback_tests_createView KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_tests_createViewCallback = nullptr |
Definition at line 162 of file KDDWBindingsCore/Platform_c.h.
Referenced by tests_createView().
Callback_tests_deinitPlatform_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_tests_deinitPlatform_implCallback = nullptr |
Definition at line 164 of file KDDWBindingsCore/Platform_c.h.
Referenced by tests_deinitPlatform_impl().
Callback_tests_initPlatform_impl KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_tests_initPlatform_implCallback = nullptr |
Definition at line 166 of file KDDWBindingsCore/Platform_c.h.
Referenced by tests_initPlatform_impl().
Callback_ungrabMouse KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_ungrabMouseCallback = nullptr |
Definition at line 168 of file KDDWBindingsCore/Platform_c.h.
Referenced by ungrabMouse().
Callback_uninstallMessageHandler KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_uninstallMessageHandlerCallback = nullptr |
Definition at line 170 of file KDDWBindingsCore/Platform_c.h.
Referenced by uninstallMessageHandler().
Callback_usesFallbackMouseGrabber KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Platform_wrapper::m_usesFallbackMouseGrabberCallback = nullptr |
Definition at line 172 of file KDDWBindingsCore/Platform_c.h.
Referenced by usesFallbackMouseGrabber().