KDDockWidgets API Documentation 2.0
|
A dummy DropIndicatorOverlay implementation which doesn't do anything. More...
#include <NullDropIndicatorOverlay.h>
Public Member Functions | |
NullDropIndicatorOverlay (Core::DropArea *) | |
~NullDropIndicatorOverlay () override | |
DropLocation | dropLocationForPos (Point) const |
DropLocation | hover_impl (Point) override |
Public Member Functions inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
DropIndicatorOverlay (DropArea *dropArea) | |
DropIndicatorOverlay (DropArea *dropArea, View *view) | |
~DropIndicatorOverlay () override | |
DropLocation | currentDropLocation () const |
Private * | dptr () const |
virtual bool | dropIndicatorVisible (DropLocation) const |
Returns whether the specified drop indicator should be visible. | |
KDDockWidgets::DropLocation | hover (Point globalPos) |
Group * | hoveredGroup () const |
Rect | hoveredGroupRect () const |
bool | isHovered () const |
void | removeHover () |
Clears and hides drop indicators. | |
virtual void | setCurrentDropLocation (DropLocation) |
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 | 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 |
Protected Member Functions | |
Point | posForIndicator (DropLocation) const override |
returns the position of the specified drop location The return is in global coordinates | |
Protected Member Functions inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
virtual void | onHoveredGroupChanged (Group *) |
virtual void | updateVisibility () |
Protected Member Functions inherited from KDDockWidgets::Core::Controller | |
virtual void | setParentView_impl (View *parent) |
Additional Inherited Members | |
Static Public Member Functions inherited from KDDockWidgets::Core::DropIndicatorOverlay | |
static KDDockWidgets::Location | multisplitterLocationFor (DropLocation) |
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 |
A dummy DropIndicatorOverlay implementation which doesn't do anything.
Used for debugging purposes or if someone doesn't want the drop indicators.
Definition at line 25 of file NullDropIndicatorOverlay.h.
|
explicit |
Definition at line 16 of file NullDropIndicatorOverlay.cpp.
|
overridedefault |
|
inline |
Definition at line 36 of file NullDropIndicatorOverlay.h.
|
inlineoverridevirtual |
Implements KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 31 of file NullDropIndicatorOverlay.h.
|
inlineoverrideprotectedvirtual |
returns the position of the specified drop location The return is in global coordinates
Implements KDDockWidgets::Core::DropIndicatorOverlay.
Definition at line 42 of file NullDropIndicatorOverlay.h.