KDDockWidgets API Documentation 2.1
|
#include <DropIndicatorOverlay_c.h>
Public Types | |
typedef bool(* | Callback_dropIndicatorVisible) (void *, KDDockWidgets::DropLocation arg__1) |
typedef KDDockWidgets::DropLocation(* | Callback_hover_impl) (void *, KDDockWidgets::Point *globalPos) |
typedef void(* | Callback_onHoveredGroupChanged) (void *, KDDockWidgets::Core::Group *arg__1) |
typedef KDDockWidgets::Point *(* | Callback_posForIndicator) (void *, KDDockWidgets::DropLocation arg__1) |
typedef void(* | Callback_setCurrentDropLocation) (void *, KDDockWidgets::DropLocation arg__1) |
typedef void(* | Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
typedef void(* | Callback_updateVisibility) (void *) |
Public Member Functions | |
DropIndicatorOverlay_wrapper (KDDockWidgets::Core::DropArea *dropArea) | |
DropIndicatorOverlay_wrapper (KDDockWidgets::Core::DropArea *dropArea, KDDockWidgets::Core::View *view) | |
~DropIndicatorOverlay_wrapper () | |
KDDockWidgets::DropLocation | currentDropLocation () const |
virtual bool | dropIndicatorVisible (KDDockWidgets::DropLocation arg__1) const |
Returns whether the specified drop indicator should be visible. | |
virtual bool | dropIndicatorVisible_nocallback (KDDockWidgets::DropLocation arg__1) const |
KDDockWidgets::DropLocation | hover (KDDockWidgets::Point globalPos) |
virtual KDDockWidgets::DropLocation | hover_impl (KDDockWidgets::Point globalPos) |
virtual KDDockWidgets::DropLocation | hover_impl_nocallback (KDDockWidgets::Point globalPos) |
KDDockWidgets::Core::Group * | hoveredGroup () const |
KDDockWidgets::Rect | hoveredGroupRect () const |
bool | isHovered () const |
virtual void | onHoveredGroupChanged (KDDockWidgets::Core::Group *arg__1) |
virtual void | onHoveredGroupChanged_nocallback (KDDockWidgets::Core::Group *arg__1) |
virtual KDDockWidgets::Point | posForIndicator (KDDockWidgets::DropLocation arg__1) const |
returns the position of the specified drop location The return is in global coordinates | |
virtual KDDockWidgets::Point | posForIndicator_nocallback (KDDockWidgets::DropLocation arg__1) const |
void | removeHover () |
virtual void | setCurrentDropLocation (KDDockWidgets::DropLocation arg__1) |
virtual void | setCurrentDropLocation_nocallback (KDDockWidgets::DropLocation arg__1) |
void | setHoveredGroup (KDDockWidgets::Core::Group *arg__1) |
virtual void | setParentView_impl (KDDockWidgets::Core::View *parent) |
virtual void | setParentView_impl_nocallback (KDDockWidgets::Core::View *parent) |
void | setWindowBeingDragged (bool arg__1) |
virtual void | updateVisibility () |
virtual void | updateVisibility_nocallback () |
Public Member Functions inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
DropIndicatorOverlay (DropArea *dropArea) | |
DropIndicatorOverlay (DropArea *dropArea, View *view) | |
~DropIndicatorOverlay () override | |
DropLocation | currentDropLocation () const |
Private * | dptr () const |
KDDockWidgets::DropLocation | hover (Point globalPos) |
Group * | hoveredGroup () const |
Rect | hoveredGroupRect () const |
bool | isHovered () const |
void | removeHover () |
Clears and hides drop indicators. | |
void | setHoveredGroup (Group *) |
void | setWindowBeingDragged (bool) |
Public Member Functions inherited from KDDockWidgets::Core::Controller | |
Controller (ViewType type, View *) | |
virtual | ~Controller () |
bool | close () |
void | destroyLater () |
Controller::Private * | dptr () const |
Rect | geometry () const |
int | height () const |
bool | inDtor () const |
bool | is (ViewType) const |
Returns whether this controller is of the specified type. | |
bool | isFixedHeight () const |
bool | isFixedWidth () const |
bool | isVisible () const |
Point | mapToGlobal (Point) const |
Point | pos () const |
Rect | rect () const |
void | setParentView (View *parent) |
void | setVisible (bool) |
void | show () const |
Size | size () const |
ViewType | type () const |
Returns the type of this controller. | |
View * | view () const |
Returns the view associated with this controller, if any. | |
int | width () const |
std::shared_ptr< View > | window () const |
int | x () const |
int | y () const |
Static Public Member Functions | |
static KDDockWidgets::Location | multisplitterLocationFor (KDDockWidgets::DropLocation arg__1) |
Static Public Member Functions inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
static KDDockWidgets::Location | multisplitterLocationFor (DropLocation) |
Public Attributes | |
Callback_dropIndicatorVisible | m_dropIndicatorVisibleCallback = nullptr |
Callback_hover_impl | m_hover_implCallback = nullptr |
Callback_onHoveredGroupChanged | m_onHoveredGroupChangedCallback = nullptr |
Callback_posForIndicator | m_posForIndicatorCallback = nullptr |
Callback_setCurrentDropLocation | m_setCurrentDropLocationCallback = nullptr |
Callback_setParentView_impl | m_setParentView_implCallback = nullptr |
Callback_updateVisibility | m_updateVisibilityCallback = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
bool | m_draggedWindowIsHovering = false |
DropArea *const | m_dropArea |
Group * | m_hoveredGroup = nullptr |
Protected Attributes inherited from KDDockWidgets::Core::Controller | |
bool | m_inDtor = false |
Definition at line 19 of file DropIndicatorOverlay_c.h.
typedef bool(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_dropIndicatorVisible) (void *, KDDockWidgets::DropLocation arg__1) |
Definition at line 48 of file DropIndicatorOverlay_c.h.
typedef KDDockWidgets::DropLocation(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_hover_impl) (void *, KDDockWidgets::Point *globalPos) |
Definition at line 50 of file DropIndicatorOverlay_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_onHoveredGroupChanged) (void *, KDDockWidgets::Core::Group *arg__1) |
Definition at line 52 of file DropIndicatorOverlay_c.h.
typedef KDDockWidgets::Point *(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_posForIndicator) (void *, KDDockWidgets::DropLocation arg__1) |
Definition at line 54 of file DropIndicatorOverlay_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_setCurrentDropLocation) (void *, KDDockWidgets::DropLocation arg__1) |
Definition at line 56 of file DropIndicatorOverlay_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_setParentView_impl) (void *, KDDockWidgets::Core::View *parent) |
Definition at line 58 of file DropIndicatorOverlay_c.h.
typedef void(* KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::Callback_updateVisibility) (void *) |
Definition at line 60 of file DropIndicatorOverlay_c.h.
KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::~DropIndicatorOverlay_wrapper | ( | ) |
Definition at line 171 of file DropIndicatorOverlay_c.cpp.
KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::DropIndicatorOverlay_wrapper | ( | KDDockWidgets::Core::DropArea * | dropArea | ) |
Definition at line 32 of file DropIndicatorOverlay_c.cpp.
KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::DropIndicatorOverlay_wrapper | ( | KDDockWidgets::Core::DropArea * | dropArea, |
KDDockWidgets::Core::View * | view | ||
) |
Definition at line 36 of file DropIndicatorOverlay_c.cpp.
KDDockWidgets::DropLocation KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::currentDropLocation | ( | ) | const |
Definition at line 40 of file DropIndicatorOverlay_c.cpp.
|
virtual |
Returns whether the specified drop indicator should be visible.
Reimplemented from KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 44 of file DropIndicatorOverlay_c.cpp.
References m_dropIndicatorVisibleCallback.
|
virtual |
Definition at line 53 of file DropIndicatorOverlay_c.cpp.
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__dropIndicatorVisible_DropLocation().
KDDockWidgets::DropLocation KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::hover | ( | KDDockWidgets::Point | globalPos | ) |
Definition at line 57 of file DropIndicatorOverlay_c.cpp.
|
virtual |
Implements KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 61 of file DropIndicatorOverlay_c.cpp.
References m_hover_implCallback.
|
virtual |
Definition at line 71 of file DropIndicatorOverlay_c.cpp.
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__hover_impl_Point().
KDDockWidgets::Core::Group * KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::hoveredGroup | ( | ) | const |
Definition at line 76 of file DropIndicatorOverlay_c.cpp.
KDDockWidgets::Rect KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::hoveredGroupRect | ( | ) | const |
Definition at line 80 of file DropIndicatorOverlay_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::isHovered | ( | ) | const |
Definition at line 84 of file DropIndicatorOverlay_c.cpp.
|
static |
Definition at line 88 of file DropIndicatorOverlay_c.cpp.
Referenced by c_static_KDDockWidgets__Core__DropIndicatorOverlay__multisplitterLocationFor_DropLocation().
|
virtual |
Reimplemented from KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 92 of file DropIndicatorOverlay_c.cpp.
References m_onHoveredGroupChangedCallback, and KDDockWidgets::Core::DropIndicatorOverlay::onHoveredGroupChanged().
|
virtual |
Definition at line 101 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::onHoveredGroupChanged().
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__onHoveredGroupChanged_Group().
|
virtual |
returns the position of the specified drop location The return is in global coordinates
Implements KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 105 of file DropIndicatorOverlay_c.cpp.
References m_posForIndicatorCallback.
|
virtual |
Definition at line 115 of file DropIndicatorOverlay_c.cpp.
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__posForIndicator_DropLocation().
void KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::removeHover | ( | ) |
Definition at line 120 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::removeHover().
|
virtual |
Reimplemented from KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 124 of file DropIndicatorOverlay_c.cpp.
References m_setCurrentDropLocationCallback, and KDDockWidgets::Core::DropIndicatorOverlay::setCurrentDropLocation().
|
virtual |
Definition at line 133 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::setCurrentDropLocation().
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__setCurrentDropLocation_DropLocation().
void KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::setHoveredGroup | ( | KDDockWidgets::Core::Group * | arg__1 | ) |
Definition at line 137 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::setHoveredGroup().
|
virtual |
Reimplemented from KDDockWidgets::Core::Controller.
Definition at line 141 of file DropIndicatorOverlay_c.cpp.
References m_setParentView_implCallback, and KDDockWidgets::Core::Controller::setParentView_impl().
|
virtual |
Definition at line 150 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::Controller::setParentView_impl().
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__setParentView_impl_View().
void KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::setWindowBeingDragged | ( | bool | arg__1 | ) |
Definition at line 154 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::setWindowBeingDragged().
|
virtual |
Reimplemented from KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 158 of file DropIndicatorOverlay_c.cpp.
References m_updateVisibilityCallback, and KDDockWidgets::Core::DropIndicatorOverlay::updateVisibility().
|
virtual |
Definition at line 167 of file DropIndicatorOverlay_c.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::updateVisibility().
Referenced by c_KDDockWidgets__Core__DropIndicatorOverlay__updateVisibility().
Callback_dropIndicatorVisible KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_dropIndicatorVisibleCallback = nullptr |
Definition at line 49 of file DropIndicatorOverlay_c.h.
Referenced by dropIndicatorVisible().
Callback_hover_impl KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_hover_implCallback = nullptr |
Definition at line 51 of file DropIndicatorOverlay_c.h.
Referenced by hover_impl().
Callback_onHoveredGroupChanged KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_onHoveredGroupChangedCallback = nullptr |
Definition at line 53 of file DropIndicatorOverlay_c.h.
Referenced by onHoveredGroupChanged().
Callback_posForIndicator KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_posForIndicatorCallback = nullptr |
Definition at line 55 of file DropIndicatorOverlay_c.h.
Referenced by posForIndicator().
Callback_setCurrentDropLocation KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_setCurrentDropLocationCallback = nullptr |
Definition at line 57 of file DropIndicatorOverlay_c.h.
Referenced by setCurrentDropLocation().
Callback_setParentView_impl KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_setParentView_implCallback = nullptr |
Definition at line 59 of file DropIndicatorOverlay_c.h.
Referenced by setParentView_impl().
Callback_updateVisibility KDDockWidgetsBindings_wrappersNS::DropIndicatorOverlay_wrapper::m_updateVisibilityCallback = nullptr |
Definition at line 61 of file DropIndicatorOverlay_c.h.
Referenced by updateVisibility().