KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
KDDockWidgets::Core::NullDropIndicatorOverlay Class Reference

A dummy DropIndicatorOverlay implementation which doesn't do anything. More...

#include <NullDropIndicatorOverlay.h>

Inheritance diagram for KDDockWidgets::Core::NullDropIndicatorOverlay:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::Core::NullDropIndicatorOverlay:
Collaboration graph
[legend]

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)
 
GrouphoveredGroup () 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 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.
 
Viewview () const
 Returns the view associated with this controller, if any.
 
int width () const
 
std::shared_ptr< Viewwindow () 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
 
Groupm_hoveredGroup = nullptr
 
- Protected Attributes inherited from KDDockWidgets::Core::Controller
bool m_inDtor = false
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NullDropIndicatorOverlay()

KDDockWidgets::Core::NullDropIndicatorOverlay::NullDropIndicatorOverlay ( Core::DropArea dropArea)
explicit

Definition at line 16 of file NullDropIndicatorOverlay.cpp.

◆ ~NullDropIndicatorOverlay()

KDDockWidgets::Core::NullDropIndicatorOverlay::~NullDropIndicatorOverlay ( )
overridedefault

Member Function Documentation

◆ dropLocationForPos()

DropLocation KDDockWidgets::Core::NullDropIndicatorOverlay::dropLocationForPos ( Point  ) const
inline

Definition at line 36 of file NullDropIndicatorOverlay.h.

◆ hover_impl()

DropLocation KDDockWidgets::Core::NullDropIndicatorOverlay::hover_impl ( Point  )
inlineoverridevirtual

◆ posForIndicator()

Point KDDockWidgets::Core::NullDropIndicatorOverlay::posForIndicator ( DropLocation  ) const
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.


The documentation for this class was generated from the following files:

© 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