7#include <QtCore/qmath.h>
8#include <QtQuick/private/qquickitem_p.h>
216 return d->currentIndex;
222 if (
d->currentIndex ==
index)
249 return d->interactive;
261#if QT_CONFIG(quicktemplates2_multitouch)
269#if QT_CONFIG(quicktemplates2_multitouch)
316#if QT_CONFIG(quicktemplates2_multitouch)
327#if QT_CONFIG(accessibility)
328QAccessible::Role QQuickPageIndicator::accessibleRole()
const
330 return QAccessible::Indicator;
336#include "moc_qquickpageindicator_p.cpp"
QGraphicsItem * parentItem() const
Returns a pointer to this item's parent item.
qreal length() const
Returns the length of the line.
\inmodule QtCore\reentrant
constexpr qreal x() const noexcept
Returns the x coordinate of this point.
constexpr qreal y() const noexcept
Returns the y coordinate of this point.
The QQmlComponent class encapsulates a QML component definition.
The QQmlContext class defines a context within a QML engine.
virtual bool handlePress(const QPointF &point, ulong timestamp)
QQuickDeferredPointer< QQuickItem > contentItem
virtual void handleUngrab()
virtual bool handleRelease(const QPointF &point, ulong timestamp)
virtual bool handleMove(const QPointF &point, ulong timestamp)
virtual void contentItemChange(QQuickItem *newItem, QQuickItem *oldItem)
void removeItemChangeListener(QQuickItemChangeListener *, ChangeTypes types)
void addItemChangeListener(QQuickItemChangeListener *listener, ChangeTypes types)
static QQuickItemPrivate * get(QQuickItem *item)
bool isTransparentForPositioner() const
QList< QQuickItem * > childItems
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
QList< QQuickItem * > childItems() const
Returns the children of this item.
Q_INVOKABLE QPointF mapToItem(const QQuickItem *item, const QPointF &point) const
Maps the given point in this item's coordinate system to the equivalent point within item's coordinat...
void setAcceptTouchEvents(bool accept)
If enabled is true, this sets the item to accept touch events; otherwise, touch events are not accept...
Q_INVOKABLE QQuickItem * childAt(qreal x, qreal y) const
\qmlmethod QtQuick::Item::childAt(real x, real y)
virtual Q_INVOKABLE bool contains(const QPointF &point) const
\qmlmethod bool QtQuick::Item::contains(point point)
void setAcceptedMouseButtons(Qt::MouseButtons buttons)
Sets the mouse buttons accepted by this item to buttons.
virtual void touchEvent(QTouchEvent *event)
This event handler can be reimplemented in a subclass to receive touch events for an item.
Indicates the currently active page.
void updatePressed(bool pressed, const QPointF &pos=QPointF())
bool handleRelease(const QPointF &point, ulong timestamp) override
bool handleMove(const QPointF &point, ulong timestamp) override
bool handlePress(const QPointF &point, ulong timestamp) override
void setContextProperty(QQuickItem *item, const QString &name, const QVariant &value)
QQuickItem * itemAt(const QPointF &pos) const
void itemChildAdded(QQuickItem *, QQuickItem *child) override
void handleUngrab() override
~QQuickPageIndicator() override
void setDelegate(QQmlComponent *delegate)
bool isInteractive() const
\qmlproperty bool QtQuick.Controls::PageIndicator::interactive
void setInteractive(bool interactive)
void interactiveChanged()
void setCurrentIndex(int index)
QQuickPageIndicator(QQuickItem *parent=nullptr)
void currentIndexChanged()
void contentItemChange(QQuickItem *newItem, QQuickItem *oldItem) override
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QTouchEvent class contains parameters that describe a touch event.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static void unsetCursor(QWindow *w)
Q_CORE_EXPORT Q_DECL_CONST_FUNCTION double qInf()
GLenum GLenum GLsizei count
GLsizei GLsizei GLfloat distance
GLdouble GLdouble GLdouble GLdouble q
QQmlContext * qmlContext(const QObject *obj)
#define QStringLiteral(str)
item setCursor(Qt::IBeamCursor)
[1]
qsizetype indexOf(const AT &t, qsizetype from=0) const noexcept
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent