7#include <QtQml/qqmlinfo.h>
8#include <QtQuick/private/qquickflickable_p.h>
9#include <QtQuick/private/qquickitemchangelistener_p.h>
130 qreal maximumSize = qMax<qreal>(0.0, 1.0 - visualPos);
135 visualPos = qMax<qreal>(0,qMin<qreal>(visualPos,qMax<qreal>(0, 1.0 - visualSize)));
144 emit q->visualSizeChanged();
146 emit q->visualPositionChanged();
202 auto oldVisualArea =
d->visualArea();
204 if (
d->size +
d->position > 1.0) {
206 oldVisualArea =
d->visualArea();
211 d->visualAreaChange(
d->visualArea(), oldVisualArea);
236 auto oldVisualArea =
d->visualArea();
241 d->visualAreaChange(
d->visualArea(), oldVisualArea);
289 return d->orientation;
345 return d->minimumSize;
354 auto oldVisualArea =
d->visualArea();
358 emit minimumSizeChanged();
359 d->visualAreaChange(
d->visualArea(), oldVisualArea);
374 return d->visualArea().size;
389 return d->visualArea().position;
446#ifdef QT_QUICK_NEW_GEOMETRY_CHANGED_HANDLING
454#ifdef QT_QUICK_NEW_GEOMETRY_CHANGED_HANDLING
487 d->flickable = qobject_cast<QQuickFlickable *>(
parent);
526 return d->horizontal;
535 if (
d->horizontal &&
d->flickable) {
560 d->layoutHorizontal();
593 if (
d->vertical &&
d->flickable) {
625#if QT_CONFIG(quicktemplates2_multitouch)
632#if QT_CONFIG(accessibility)
633QAccessible::Role QQuickScrollIndicator::accessibleRole()
const
635 return QAccessible::Indicator;
641#include "moc_qquickscrollindicator_p.cpp"
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)
static bool disconnect(const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
QObject * parent() const
Returns a pointer to the parent object.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
\inmodule QtCore\reentrant
QQuickDeferredPointer< QQuickItem > contentItem
bool isMovingHorizontally() const
void movingHorizontallyChanged()
void movingVerticallyChanged()
bool isMovingVertically() const
void updateOrAddGeometryChangeListener(QQuickItemChangeListener *listener, QQuickGeometryChange types)
void removeItemChangeListener(QQuickItemChangeListener *, ChangeTypes types)
void addItemChangeListener(QQuickItemChangeListener *listener, ChangeTypes types)
static QQuickItemPrivate * get(QQuickItem *item)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void setSize(const QSizeF &size)
qreal x
\qmlproperty real QtQuick::Item::x \qmlproperty real QtQuick::Item::y \qmlproperty real QtQuick::Item...
void setParentItem(QQuickItem *parent)
qreal y
Defines the item's y position relative to its parent.
qreal width
This property holds the width of this item.
QQuickItem * parentItem() const
bool isComponentComplete() const
Returns true if construction of the QML component is complete; otherwise returns false.
virtual void touchEvent(QTouchEvent *event)
This event handler can be reimplemented in a subclass to receive touch events for an item.
qreal height
This property holds the height of this item.
void setPosition(const QPointF &)
\inmodule QtCore\reentrant
constexpr qreal height() const noexcept
Returns the height of the rectangle.
constexpr qreal width() const noexcept
Returns the width of the rectangle.
The QTouchEvent class contains parameters that describe a touch event.
Combined button and popup list for selecting options.
bool qFuzzyCompare(qfloat16 p1, qfloat16 p2) noexcept
bool qFuzzyIsNull(qfloat16 f) noexcept
static int area(const QSize &s)
constexpr const T & qMax(const T &a, const T &b)
n void setPosition(void) \n\
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLdouble GLdouble GLdouble GLdouble q
Q_QML_EXPORT QQmlInfo qmlWarning(const QObject *me)
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
myObject disconnect()
[26]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent