KDDockWidgets API Documentation 2.1
|
The window that will hold the classic indicators This is a window so it can be over the window that is being dragged. More...
#include <ClassicIndicatorWindowViewInterface.h>
Public Member Functions | |
ClassicIndicatorWindowViewInterface ()=default | |
ClassicIndicatorWindowViewInterface (const ClassicIndicatorWindowViewInterface &)=delete | |
virtual | ~ClassicIndicatorWindowViewInterface () |
virtual DropLocation | hover (Point)=0 |
virtual bool | isWindow () const =0 |
ClassicIndicatorWindowViewInterface & | operator= (const ClassicIndicatorWindowViewInterface &)=delete |
virtual Point | posForIndicator (DropLocation) const =0 |
virtual void | raise ()=0 |
virtual void | resize (Size)=0 |
virtual void | setGeometry (Rect)=0 |
virtual void | setObjectName (const QString &)=0 |
virtual void | setVisible (bool)=0 |
virtual void | updateIndicatorVisibility ()=0 |
virtual void | updatePositions ()=0 |
The window that will hold the classic indicators This is a window so it can be over the window that is being dragged.
Definition at line 24 of file ClassicIndicatorWindowViewInterface.h.
|
default |
|
virtual |
Definition at line 16 of file ClassicIndicatorWindowViewInterface.cpp.
|
delete |
|
pure virtual |
Called when the mouse is dragging a window over a drop area The implementer should:
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, and KDDockWidgets::flutter::IndicatorWindow.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::hover_impl().
|
pure virtual |
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, and KDDockWidgets::QtWidgets::IndicatorWindow.
|
delete |
|
pure virtual |
Returns the position for the specified drop indicator This is used by tests only, so we know where to drop a window The position is the center of the indicator and is in global coordinates
Implemented in KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, KDDockWidgets::QtWidgets::IndicatorWindow, KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, and KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::posForIndicator().
|
pure virtual |
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, and KDDockWidgets::QtWidgets::IndicatorWindow.
|
pure virtual |
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, and KDDockWidgets::flutter::IndicatorWindow.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::onResize().
|
pure virtual |
|
pure virtual |
Implemented in KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, KDDockWidgets::QtWidgets::IndicatorWindow, KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, and KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper.
Referenced by createIndicatorWindow().
|
pure virtual |
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, and KDDockWidgets::QtWidgets::IndicatorWindow.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::updateVisibility().
|
pure virtual |
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, and KDDockWidgets::QtWidgets::IndicatorWindow.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::updateVisibility().
|
pure virtual |
Called by the framework to updates the position of the individual drop indicators This function is called when the drag first starts and also if the window resizes itself (unlikely during drag though) The implementer should:
Implemented in KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::ClassicIndicatorWindowViewInterface_wrapper, KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::IndicatorWindow_wrapper, KDDockWidgets::flutter::IndicatorWindow, KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay, and KDDockWidgets::QtWidgets::IndicatorWindow.
Referenced by KDDockWidgets::Core::ClassicDropIndicatorOverlay::updateVisibility().