KDDockWidgets API Documentation 2.1
|
#include <ClassicIndicatorsWindow.h>
Signals | |
void | currentDropLocationChanged () |
void | hoveredGroupRectChanged () |
void | indicatorsVisibleChanged () |
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 |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Definition at line 41 of file qtquick/views/ClassicIndicatorsWindow.h.
|
explicit |
Definition at line 73 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::QtQuick::asView_qtquick(), KDDockWidgets::QtQuick::View::createItem(), currentDropLocationChanged(), KDDockWidgets::Core::DropIndicatorOverlay::dptr(), hoveredGroupRectChanged(), KDDockWidgets::QtQuick::IndicatorWindow::init(), KDDockWidgets::QtQuick::View::makeItemFillParent(), QObject::parent(), KDDockWidgets::plat(), and KDDockWidgets::QtQuick.
|
override |
Definition at line 95 of file qtquick/views/ClassicIndicatorsWindow.cpp.
DropLocation ClassicDropIndicatorOverlay::currentDropLocation | ( | ) | const |
Definition at line 156 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::currentDropLocation().
|
signal |
Referenced by ClassicDropIndicatorOverlay().
|
override |
Definition at line 161 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::DropLocation_None.
QRect ClassicDropIndicatorOverlay::hoveredGroupRect | ( | ) | const |
Definition at line 151 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::hoveredGroupRect().
|
signal |
Referenced by ClassicDropIndicatorOverlay().
QString ClassicDropIndicatorOverlay::iconName | ( | int | loc, |
bool | active | ||
) | const |
Definition at line 101 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::iconName().
QQuickItem * ClassicDropIndicatorOverlay::indicatorForLocation | ( | DropLocation | loc | ) | const |
Definition at line 238 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References QVector::size().
Referenced by posForIndicator().
|
signal |
Referenced by updateIndicatorVisibility().
bool ClassicDropIndicatorOverlay::innerBottomIndicatorVisible | ( | ) | const |
Definition at line 121 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_Bottom.
bool ClassicDropIndicatorOverlay::innerLeftIndicatorVisible | ( | ) | const |
Definition at line 106 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_Left.
bool ClassicDropIndicatorOverlay::innerRightIndicatorVisible | ( | ) | const |
Definition at line 111 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_Right.
bool ClassicDropIndicatorOverlay::innerTopIndicatorVisible | ( | ) | const |
Definition at line 116 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_Top.
|
overridevirtual |
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 323 of file qtquick/views/ClassicIndicatorsWindow.cpp.
bool ClassicDropIndicatorOverlay::outterBottomIndicatorVisible | ( | ) | const |
Definition at line 141 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_OutterBottom.
bool ClassicDropIndicatorOverlay::outterLeftIndicatorVisible | ( | ) | const |
Definition at line 126 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_OutterLeft.
bool ClassicDropIndicatorOverlay::outterRightIndicatorVisible | ( | ) | const |
Definition at line 131 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_OutterRight.
bool ClassicDropIndicatorOverlay::outterTopIndicatorVisible | ( | ) | const |
Definition at line 136 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_OutterTop.
|
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().
|
overridevirtual |
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 281 of file qtquick/views/ClassicIndicatorsWindow.cpp.
|
override |
Definition at line 314 of file qtquick/views/ClassicIndicatorsWindow.cpp.
|
override |
Definition at line 290 of file qtquick/views/ClassicIndicatorsWindow.cpp.
|
overridevirtual |
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 299 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References QObject::setObjectName().
|
overridevirtual |
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 304 of file qtquick/views/ClassicIndicatorsWindow.cpp.
bool ClassicDropIndicatorOverlay::tabIndicatorVisible | ( | ) | const |
Definition at line 146 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References KDDockWidgets::Core::DropIndicatorOverlay::dropIndicatorVisible(), and KDDockWidgets::DropLocation_Center.
|
overridevirtual |
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 167 of file qtquick/views/ClassicIndicatorsWindow.cpp.
References indicatorsVisibleChanged(), and QObject::Q_EMIT().
|
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:
Implements KDDockWidgets::Core::ClassicIndicatorWindowViewInterface.
Definition at line 190 of file qtquick/views/ClassicIndicatorsWindow.cpp.
|
read |
Definition at line 62 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 61 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 50 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 44 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 46 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 48 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 58 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 52 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 54 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 56 of file qtquick/views/ClassicIndicatorsWindow.h.
|
read |
Definition at line 60 of file qtquick/views/ClassicIndicatorsWindow.h.