28 Q_PROPERTY(
int framesPerSecond READ framesPerSecond WRITE setFramesPerSecond)
29 Q_PROPERTY(
int currentFrame READ currentFrame WRITE setCurrentFrame)
30 Q_PROPERTY(
Qt::AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode)
32 Q_PROPERTY(
bool animationEnabled READ isAnimationEnabled WRITE setAnimationEnabled)
42 QSize defaultSize() const;
44 QRect viewBox() const;
46 void setViewBox(const
QRect &viewbox);
47 void setViewBox(const
QRectF &viewbox);
49 Qt::AspectRatioMode aspectRatioMode() const;
50 void setAspectRatioMode(
Qt::AspectRatioMode
mode);
55 bool animated() const;
56 int framesPerSecond() const;
57 void setFramesPerSecond(
int num);
58 int currentFrame() const;
59 void setCurrentFrame(
int);
60 int animationDuration() const;
61 bool isAnimationEnabled() const;
62 void setAnimationEnabled(
bool enable);
65 bool elementExists(const
QString &
id) const;