KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay Class Reference

#include <ClassicIndicatorsWindow.h>

Inheritance diagram for KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay:
Collaboration graph
[legend]

Signals

void currentDropLocationChanged ()
 
void hoveredGroupRectChanged ()
 
void indicatorsVisibleChanged ()
 

Public Member Functions

 ClassicDropIndicatorOverlay (Core::ClassicDropIndicatorOverlay *, Core::View *parent)
 
 ~ClassicDropIndicatorOverlay () override
 
DropLocation currentDropLocation () const
 
DropLocation hover (QPoint globalPos) override
 
QRect hoveredGroupRect () const
 
Q_INVOKABLE QString iconName (int loc, bool active) const
 
QQuickItem * indicatorForLocation (DropLocation loc) const
 
bool innerBottomIndicatorVisible () const
 
bool innerLeftIndicatorVisible () const
 
bool innerRightIndicatorVisible () const
 
bool innerTopIndicatorVisible () const
 
bool isWindow () const override
 
bool outterBottomIndicatorVisible () const
 
bool outterLeftIndicatorVisible () const
 
bool outterRightIndicatorVisible () const
 
bool outterTopIndicatorVisible () const
 
QPoint posForIndicator (DropLocation) const override
 
void raise () override
 
void resize (QSize) override
 
void setGeometry (QRect) override
 
void setObjectName (const QString &) override
 
void setVisible (bool) override
 
bool tabIndicatorVisible () const
 
void updateIndicatorVisibility () override
 
void updatePositions () override
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
virtual ~QObject ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo ()
 
void dumpObjectInfo () const const
 
void dumpObjectTree ()
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
QThreadthread () const const
 
- Public Member Functions inherited from KDDockWidgets::Core::ClassicIndicatorWindowViewInterface
 ClassicIndicatorWindowViewInterface ()=default
 
 ClassicIndicatorWindowViewInterface (const ClassicIndicatorWindowViewInterface &)=delete
 
virtual ~ClassicIndicatorWindowViewInterface ()
 
virtual DropLocation hover (Point)=0
 
ClassicIndicatorWindowViewInterfaceoperator= (const ClassicIndicatorWindowViewInterface &)=delete
 
virtual void resize (Size)=0
 
virtual void setGeometry (Rect)=0
 

Properties

KDDockWidgets::DropLocation currentDropLocation
 
QRect hoveredGroupRect
 
bool innerBottomIndicatorVisible
 
bool innerLeftIndicatorVisible
 
bool innerRightIndicatorVisible
 
bool innerTopIndicatorVisible
 
bool outterBottomIndicatorVisible
 
bool outterLeftIndicatorVisible
 
bool outterRightIndicatorVisible
 
bool outterTopIndicatorVisible
 
bool tabIndicatorVisible
 
- Properties inherited from QObject
 objectName
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Definition at line 41 of file qtquick/views/ClassicIndicatorsWindow.h.

Constructor & Destructor Documentation

◆ ClassicDropIndicatorOverlay()

ClassicDropIndicatorOverlay::ClassicDropIndicatorOverlay ( Core::ClassicDropIndicatorOverlay classicIndicators,
Core::View parent 
)
explicit

◆ ~ClassicDropIndicatorOverlay()

ClassicDropIndicatorOverlay::~ClassicDropIndicatorOverlay ( )
override

Definition at line 95 of file qtquick/views/ClassicIndicatorsWindow.cpp.

Member Function Documentation

◆ currentDropLocation()

DropLocation ClassicDropIndicatorOverlay::currentDropLocation ( ) const

◆ currentDropLocationChanged

void KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::currentDropLocationChanged ( )
signal

◆ hover()

DropLocation ClassicDropIndicatorOverlay::hover ( QPoint  globalPos)
override

◆ hoveredGroupRect()

QRect ClassicDropIndicatorOverlay::hoveredGroupRect ( ) const

◆ hoveredGroupRectChanged

void KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::hoveredGroupRectChanged ( )
signal

◆ iconName()

QString ClassicDropIndicatorOverlay::iconName ( int  loc,
bool  active 
) const

◆ indicatorForLocation()

QQuickItem * ClassicDropIndicatorOverlay::indicatorForLocation ( DropLocation  loc) const

Definition at line 238 of file qtquick/views/ClassicIndicatorsWindow.cpp.

References QVector::size().

Referenced by posForIndicator().

◆ indicatorsVisibleChanged

void KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::indicatorsVisibleChanged ( )
signal

◆ innerBottomIndicatorVisible()

bool ClassicDropIndicatorOverlay::innerBottomIndicatorVisible ( ) const

◆ innerLeftIndicatorVisible()

bool ClassicDropIndicatorOverlay::innerLeftIndicatorVisible ( ) const

◆ innerRightIndicatorVisible()

bool ClassicDropIndicatorOverlay::innerRightIndicatorVisible ( ) const

◆ innerTopIndicatorVisible()

bool ClassicDropIndicatorOverlay::innerTopIndicatorVisible ( ) const

◆ isWindow()

bool ClassicDropIndicatorOverlay::isWindow ( ) const
overridevirtual

◆ outterBottomIndicatorVisible()

bool ClassicDropIndicatorOverlay::outterBottomIndicatorVisible ( ) const

◆ outterLeftIndicatorVisible()

bool ClassicDropIndicatorOverlay::outterLeftIndicatorVisible ( ) const

◆ outterRightIndicatorVisible()

bool ClassicDropIndicatorOverlay::outterRightIndicatorVisible ( ) const

◆ outterTopIndicatorVisible()

bool ClassicDropIndicatorOverlay::outterTopIndicatorVisible ( ) const

◆ posForIndicator()

QPoint ClassicDropIndicatorOverlay::posForIndicator ( DropLocation  ) const
overridevirtual

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

Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.

Definition at line 195 of file qtquick/views/ClassicIndicatorsWindow.cpp.

References indicatorForLocation().

◆ raise()

void ClassicDropIndicatorOverlay::raise ( )
overridevirtual

◆ resize()

void ClassicDropIndicatorOverlay::resize ( QSize  sz)
override

Definition at line 314 of file qtquick/views/ClassicIndicatorsWindow.cpp.

◆ setGeometry()

void ClassicDropIndicatorOverlay::setGeometry ( QRect  geo)
override

Definition at line 290 of file qtquick/views/ClassicIndicatorsWindow.cpp.

◆ setObjectName()

void ClassicDropIndicatorOverlay::setObjectName ( const QString name)
overridevirtual

◆ setVisible()

void ClassicDropIndicatorOverlay::setVisible ( bool  is)
overridevirtual

◆ tabIndicatorVisible()

bool ClassicDropIndicatorOverlay::tabIndicatorVisible ( ) const

◆ updateIndicatorVisibility()

void ClassicDropIndicatorOverlay::updateIndicatorVisibility ( )
overridevirtual

◆ updatePositions()

void ClassicDropIndicatorOverlay::updatePositions ( )
overridevirtual

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:

  • call rect() to know where to put the outer indicators
  • call classicIndicators->hoveredGroup(), if not null, will give you the rect for the inner indicators

Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.

Definition at line 190 of file qtquick/views/ClassicIndicatorsWindow.cpp.

Property Documentation

◆ currentDropLocation

KDDockWidgets::DropLocation KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::currentDropLocation
read

Definition at line 62 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ hoveredGroupRect

QRect KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::hoveredGroupRect
read

Definition at line 61 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ innerBottomIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::innerBottomIndicatorVisible
read

Definition at line 50 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ innerLeftIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::innerLeftIndicatorVisible
read

Definition at line 44 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ innerRightIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::innerRightIndicatorVisible
read

Definition at line 46 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ innerTopIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::innerTopIndicatorVisible
read

Definition at line 48 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ outterBottomIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::outterBottomIndicatorVisible
read

Definition at line 58 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ outterLeftIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::outterLeftIndicatorVisible
read

Definition at line 52 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ outterRightIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::outterRightIndicatorVisible
read

Definition at line 54 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ outterTopIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::outterTopIndicatorVisible
read

Definition at line 56 of file qtquick/views/ClassicIndicatorsWindow.h.

◆ tabIndicatorVisible

bool KDDockWidgets::QtQuick::ClassicDropIndicatorOverlay::tabIndicatorVisible
read

Definition at line 60 of file qtquick/views/ClassicIndicatorsWindow.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