22 Q_PROPERTY(qreal width READ width WRITE setWidth NOTIFY widthChanged FINAL)
23 Q_PROPERTY(qreal height READ height WRITE setHeight NOTIFY heightChanged FINAL)
24 Q_PROPERTY(qreal xSpeed READ xSpeed WRITE setXSpeed NOTIFY xSpeedChanged FINAL)
25 Q_PROPERTY(qreal ySpeed READ ySpeed WRITE setYSpeed NOTIFY ySpeedChanged FINAL)
26 Q_PROPERTY(qreal x READ x WRITE setX NOTIFY xChanged FINAL)
27 Q_PROPERTY(qreal y READ y WRITE setY NOTIFY yChanged FINAL)
28#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
40 void setXSpeed(qreal popXSpeed);
43 void setYSpeed(qreal popYSpeed);
52 void setWidth(qreal width);
55 void setHeight(qreal height);
57 qreal sizeRatio()
const;
59 inline qreal yOffset()
const;
60 inline void setYOffset(qreal offset);
71 QSharedDataPointer<WaterPopAttributePrivate> d;
79 Q_PROPERTY(qreal frontXOffset READ frontXOffset NOTIFY frontXOffsetChanged)
80 Q_PROPERTY(qreal backXOffset READ backXOffset NOTIFY backXOffsetChanged)
81 Q_PROPERTY(qreal imageWidth READ imageWidth WRITE setImageWidth NOTIFY imageWidthChanged)
82 Q_PROPERTY(qreal imageHeight READ imageHeight WRITE setImageHeight NOTIFY imageHeightChanged)
83 Q_PROPERTY(QQmlListProperty<DTK_QUICK_NAMESPACE::WaterPopAttribute> pops READ pops NOTIFY popsChanged)
84 Q_PROPERTY(
bool running READ running WRITE setRunning NOTIFY runningChanged)
85 Q_PROPERTY(QQuickItem *waterProgress READ waterProgress WRITE setWaterProgress NOTIFY waterProgressChanged)
86#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
87 QML_NAMED_ELEMENT(WaterProgressAttribute)
94 qreal frontXOffset()
const;
95 void setFrontXOffset(qreal frontXOffset);
97 qreal backXOffset()
const;
98 void setBackXOffset(qreal backXOffset);
100 QQmlListProperty<WaterPopAttribute> pops();
102 bool running()
const;
103 void setRunning(
bool running);
105 QQuickItem * waterProgress()
const;
106 void setWaterProgress(QQuickItem * waterProgress);
108 qreal imageWidth()
const;
109 void setImageWidth(qreal imageWidth);
111 qreal imageHeight()
const;
112 void setImageHeight(qreal imageHeight);
115 void frontXOffsetChanged();
116 void backXOffsetChanged();
118 void runningChanged();
119 void waterProgressChanged();
120 void imageWidthChanged();
121 void imageHeightChanged();