![]() |
Qt 6.x
The Qt SDK
|
#include <qquickscrollbar_p_p.h>
Inheritance diagram for QQuickScrollBarAttachedPrivate:
Collaboration diagram for QQuickScrollBarAttachedPrivate:Static Public Member Functions | |
| static QQuickScrollBarAttachedPrivate * | get (QQuickScrollBarAttached *attached) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Public Attributes | ||
| QQuickFlickable * | flickable = nullptr | |
| QQuickScrollBar * | horizontal = nullptr | |
| QQuickScrollBar * | vertical = nullptr | |
Public Attributes inherited from QObjectPrivate | ||
| ExtraData * | extraData | |
| QAtomicPointer< QThreadData > | threadData | |
| QAtomicPointer< ConnectionData > | connections | |
| union { | ||
| QObject * currentChildBeingDeleted | ||
| QAbstractDeclarativeData * declarativeData | ||
| }; | ||
| QAtomicPointer< QtSharedPointer::ExternalRefCountData > | sharedRefcount | |
Public Attributes inherited from QObjectData | ||
| QObject * | q_ptr | |
| QObject * | parent | |
| QObjectList | children | |
| uint | isWidget: 1 | |
| uint | blockSig: 1 | |
| uint | wasDeleted: 1 | |
| uint | isDeletingChildren: 1 | |
| uint | sendChildEvents: 1 | |
| uint | receiveChildEvents: 1 | |
| uint | isWindow: 1 | |
| uint | deleteLaterCalled: 1 | |
| uint | isQuickItem: 1 | |
| uint | willBeWidget: 1 | |
| uint | wasWidget: 1 | |
| uint | unused: 21 | |
| QAtomicInt | postedEvents | |
| QDynamicMetaObjectData * | metaObject | |
| QBindingStorage | bindingStorage | |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 82 of file qquickscrollbar_p_p.h.
| void QQuickScrollBarAttachedPrivate::activateHorizontal | ( | ) |
Definition at line 1033 of file qquickscrollbar.cpp.
References flickable, QQuickScrollBarPrivate::get(), horizontal, and QQuickFlickable::isMovingHorizontally().
Referenced by cleanupHorizontal(), and initHorizontal().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::activateVertical | ( | ) |
Definition at line 1040 of file qquickscrollbar.cpp.
References flickable, QQuickScrollBarPrivate::get(), QQuickFlickable::isMovingVertically(), and vertical.
Referenced by cleanupVertical(), and initVertical().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::cleanupHorizontal | ( | ) |
Definition at line 993 of file qquickscrollbar.cpp.
References activateHorizontal(), area(), disconnect(), QObject::disconnect(), flickable, QQuickControlPrivate::hideOldItem(), horizontal, QQuickFlickable::movingHorizontallyChanged(), QObject::property(), Q_ASSERT, QStringLiteral, QQmlPropertyPrivate::removeBinding(), setPosition(), SIGNAL, SLOT, and QVariant::value().
Referenced by setFlickable().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::cleanupVertical | ( | ) |
Definition at line 1015 of file qquickscrollbar.cpp.
References activateVertical(), area(), disconnect(), QObject::disconnect(), flickable, QQuickControlPrivate::hideOldItem(), QQuickFlickable::movingVerticallyChanged(), QObject::property(), Q_ASSERT, QStringLiteral, QQmlPropertyPrivate::removeBinding(), setPosition(), SIGNAL, SLOT, QVariant::value(), and vertical.
Referenced by setFlickable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 85 of file qquickscrollbar_p_p.h.
Referenced by QQuickScrollView::~QQuickScrollView(), and QQuickScrollViewPrivate::setFlickable().
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::initHorizontal | ( | ) |
Definition at line 937 of file qquickscrollbar.cpp.
References activateHorizontal(), QQuickScrollBar::AlwaysOff, area(), QObject::connect(), QObjectPrivate::connect(), flickable, QQuickControlPrivate::Hide, horizontal, layoutHorizontal(), QQuickFlickable::movingHorizontallyChanged(), QObjectData::parent, QQuickItem::parentItem(), QQuickScrollBar::policy, QObject::property(), Q_ASSERT, QQuickScrollBar::setPosition(), setPosition(), QQuickScrollBar::setSize(), QQuickControlPrivate::Show, SIGNAL, SLOT, QQuickItem::stackAfter(), QQuickControlPrivate::unhideOldItem(), and QVariant::value().
Referenced by setFlickable().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::initVertical | ( | ) |
Definition at line 966 of file qquickscrollbar.cpp.
References activateVertical(), QQuickScrollBar::AlwaysOff, area(), QObject::connect(), QObjectPrivate::connect(), flickable, QQuickControlPrivate::Hide, layoutVertical(), QQuickFlickable::movingVerticallyChanged(), QObjectData::parent, QQuickItem::parentItem(), QQuickScrollBar::policy, QObject::property(), Q_ASSERT, QQuickScrollBar::setPosition(), setPosition(), QQuickScrollBar::setSize(), QQuickControlPrivate::Show, SIGNAL, SLOT, QQuickItem::stackAfter(), QQuickControlPrivate::unhideOldItem(), QVariant::value(), and vertical.
Referenced by setFlickable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 1144 of file qquickscrollbar.cpp.
References flickable, horizontal, item, and vertical.
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 1108 of file qquickscrollbar.cpp.
References flickable, QRectF::height(), QQuickItem::height, horizontal, item, layoutHorizontal(), layoutVertical(), Q_UNUSED, qFuzzyCompare(), qFuzzyIsNull(), vertical, QRectF::width(), QQuickItem::width, QQuickItem::x, and QQuickItem::y.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 1138 of file qquickscrollbar.cpp.
References flickable, horizontal, item, and layoutHorizontal().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from QQuickItemChangeListener.
Definition at line 1132 of file qquickscrollbar.cpp.
References flickable, item, layoutVertical(), and vertical.
Here is the call graph for this function:| void QQuickScrollBarAttachedPrivate::layoutHorizontal | ( | bool | move = true | ) |
Definition at line 1088 of file qquickscrollbar.cpp.
References flickable, QQuickItem::height, horizontal, QQuickItem::parentItem(), Q_ASSERT, QQuickItem::setWidth(), QQuickItem::setY(), and QQuickItem::width.
Referenced by initHorizontal(), itemGeometryChanged(), and itemImplicitHeightChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::layoutVertical | ( | bool | move = true | ) |
Definition at line 1098 of file qquickscrollbar.cpp.
References flickable, QQuickItem::height, QQuickControl::isMirrored(), QQuickItem::parentItem(), Q_ASSERT, QQuickItem::setHeight(), QQuickItem::setX(), vertical, and QQuickItem::width.
Referenced by initVertical(), itemGeometryChanged(), itemImplicitWidthChanged(), and mirrorVertical().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::mirrorVertical | ( | ) |
Definition at line 1083 of file qquickscrollbar.cpp.
References layoutVertical().
Referenced by QQuickScrollBarAttached::setVertical().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::scrollHorizontal | ( | ) |
Definition at line 1053 of file qquickscrollbar.cpp.
References QQuickFlickable::contentX, flickable, horizontal, QQuickScrollBar::position, qFuzzyCompare(), qIsNaN(), QQuickFlickable::setContentX(), and QQuickItem::width.
Referenced by QQuickScrollBarAttached::setHorizontal().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::scrollVertical | ( | ) |
Definition at line 1068 of file qquickscrollbar.cpp.
References QQuickFlickable::contentY, flickable, QQuickItem::height, QQuickScrollBar::position, qFuzzyCompare(), qIsNaN(), QQuickFlickable::setContentY(), and vertical.
Referenced by QQuickScrollBarAttached::setVertical().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuickScrollBarAttachedPrivate::setFlickable | ( | QQuickFlickable * | flickable | ) |
Definition at line 909 of file qquickscrollbar.cpp.
References cleanupHorizontal(), cleanupVertical(), QQuickItemPrivate::Destroyed, flickable, QQuickItemPrivate::Geometry, QQuickItemPrivate::get(), horizontal, initHorizontal(), initVertical(), item, QQuickItemPrivate::removeItemChangeListener(), QQuickGeometryChange::Size, QQuickItemPrivate::updateOrAddGeometryChangeListener(), QQuickItemPrivate::updateOrAddItemChangeListener(), and vertical.
Here is the call graph for this function:| QQuickFlickable* QQuickScrollBarAttachedPrivate::flickable = nullptr |
Definition at line 110 of file qquickscrollbar_p_p.h.
Referenced by activateHorizontal(), activateVertical(), cleanupHorizontal(), cleanupVertical(), initHorizontal(), initVertical(), itemDestroyed(), itemGeometryChanged(), itemImplicitHeightChanged(), itemImplicitWidthChanged(), layoutHorizontal(), layoutVertical(), scrollHorizontal(), scrollVertical(), and setFlickable().
| QQuickScrollBar* QQuickScrollBarAttachedPrivate::horizontal = nullptr |
Definition at line 111 of file qquickscrollbar_p_p.h.
Referenced by activateHorizontal(), cleanupHorizontal(), initHorizontal(), itemDestroyed(), itemGeometryChanged(), itemImplicitHeightChanged(), layoutHorizontal(), scrollHorizontal(), and setFlickable().
| QQuickScrollBar* QQuickScrollBarAttachedPrivate::vertical = nullptr |
Definition at line 112 of file qquickscrollbar_p_p.h.
Referenced by activateVertical(), cleanupVertical(), initVertical(), itemDestroyed(), itemGeometryChanged(), itemImplicitWidthChanged(), layoutVertical(), scrollVertical(), and setFlickable().