4#ifndef QQUICKPATHVIEW_P_H
5#define QQUICKPATHVIEW_P_H
18#include <private/qtquickglobal_p.h>
24#include <private/qtquickglobal_p.h>
25#include <private/qquickpath_p.h>
39 Q_PROPERTY(
int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged FINAL)
46 Q_PROPERTY(
qreal preferredHighlightBegin READ preferredHighlightBegin WRITE setPreferredHighlightBegin NOTIFY preferredHighlightBeginChanged FINAL)
47 Q_PROPERTY(
qreal preferredHighlightEnd READ preferredHighlightEnd WRITE setPreferredHighlightEnd NOTIFY preferredHighlightEndChanged FINAL)
48 Q_PROPERTY(
HighlightRangeMode highlightRangeMode READ highlightRangeMode WRITE setHighlightRangeMode NOTIFY highlightRangeModeChanged FINAL)
49 Q_PROPERTY(
int highlightMoveDuration READ highlightMoveDuration WRITE setHighlightMoveDuration NOTIFY highlightMoveDurationChanged FINAL)
51 Q_PROPERTY(
qreal dragMargin READ dragMargin WRITE setDragMargin NOTIFY dragMarginChanged FINAL)
52 Q_PROPERTY(
qreal maximumFlickVelocity READ maximumFlickVelocity WRITE setMaximumFlickVelocity NOTIFY maximumFlickVelocityChanged FINAL)
53 Q_PROPERTY(
qreal flickDeceleration READ flickDeceleration WRITE setFlickDeceleration NOTIFY flickDecelerationChanged FINAL)
54 Q_PROPERTY(
bool interactive READ isInteractive WRITE setInteractive NOTIFY interactiveChanged FINAL)
56 Q_PROPERTY(
bool moving READ isMoving NOTIFY movingChanged FINAL)
57 Q_PROPERTY(
bool flicking READ isFlicking NOTIFY flickingChanged FINAL)
58 Q_PROPERTY(
bool dragging READ isDragging NOTIFY draggingChanged FINAL)
62 Q_PROPERTY(
int pathItemCount READ pathItemCount WRITE setPathItemCount RESET resetPathItemCount NOTIFY pathItemCountChanged FINAL)
63 Q_PROPERTY(
SnapMode snapMode READ snapMode WRITE setSnapMode NOTIFY snapModeChanged FINAL)
64 Q_PROPERTY(
MovementDirection movementDirection READ movementDirection WRITE setMovementDirection NOTIFY movementDirectionChanged REVISION(2, 7) FINAL)
66 Q_PROPERTY(
int cacheItemCount READ cacheItemCount WRITE setCacheItemCount NOTIFY cacheItemCountChanged FINAL)
81 int currentIndex() const;
82 void setCurrentIndex(
int idx);
95 HighlightRangeMode highlightRangeMode()
const;
96 void setHighlightRangeMode(HighlightRangeMode
mode);
98 qreal preferredHighlightBegin()
const;
99 void setPreferredHighlightBegin(
qreal);
101 qreal preferredHighlightEnd()
const;
102 void setPreferredHighlightEnd(
qreal);
104 int highlightMoveDuration()
const;
105 void setHighlightMoveDuration(
int);
107 qreal dragMargin()
const;
108 void setDragMargin(
qreal margin);
110 qreal flickDeceleration()
const;
111 void setFlickDeceleration(
qreal dec);
113 qreal maximumFlickVelocity()
const;
114 void setMaximumFlickVelocity(
qreal);
116 bool isInteractive()
const;
117 void setInteractive(
bool);
119 bool isMoving()
const;
120 bool isFlicking()
const;
121 bool isDragging()
const;
128 int pathItemCount()
const;
129 void setPathItemCount(
int);
130 void resetPathItemCount();
132 int cacheItemCount()
const;
133 void setCacheItemCount(
int);
137 SnapMode snapMode()
const;
138 void setSnapMode(SnapMode
mode);
142 MovementDirection movementDirection()
const;
143 void setMovementDirection(MovementDirection
dir);
155 void incrementCurrentIndex();
156 void decrementCurrentIndex();
159 void currentIndexChanged();
160 void currentItemChanged();
161 void offsetChanged();
165 void preferredHighlightBeginChanged();
166 void preferredHighlightEndChanged();
167 void highlightRangeModeChanged();
168 void dragMarginChanged();
169 void snapPositionChanged();
170 void delegateChanged();
171 void pathItemCountChanged();
172 void maximumFlickVelocityChanged();
173 void flickDecelerationChanged();
174 void interactiveChanged();
175 void movingChanged();
176 void flickingChanged();
177 void draggingChanged();
178 void highlightChanged();
179 void highlightItemChanged();
180 void highlightMoveDurationChanged();
181 void movementStarted();
182 void movementEnded();
188 void snapModeChanged();
189 void cacheItemCountChanged();
192 void updatePolish() override;
197 void mouseUngrabEvent() override;
198 void componentComplete() override;
203 void movementEnding();
222 Q_PROPERTY(
bool isCurrentItem READ isCurrentItem NOTIFY currentItemChanged FINAL)
223 Q_PROPERTY(
bool onPath READ isOnPath NOTIFY pathChanged FINAL)
233 if (m_isCurrent !=
c) {
235 Q_EMIT currentItemChanged();
244 if (on != m_onPath) {
261 bool m_isCurrent : 1;
The QQmlChangeSet class stores an ordered list of notifications about changes to a linear data set.
The QQmlComponent class encapsulates a QML component definition.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
void setIsCurrentItem(bool c)
bool isCurrentItem() const
void currentItemChanged()
QQuickPathView * view() const
Q_REVISION(2, 13) Q_INVOKABLE QQuickItem *itemAtIndex(int index) const
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint GLint GLint GLint GLint x
[0]
GLenum GLenum GLsizei count
GLenum GLuint GLintptr offset
GLsizei const GLchar *const * path
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define QML_ATTACHED(ATTACHED_TYPE)
#define QT_REQUIRE_CONFIG(feature)
view setModel(model)
[17] //! [18]
QSqlQueryModel * model
[16]
settings setValue("DataPump/bgcolor", color)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent