@@ -21,6 +21,7 @@
22#include <QObject>
22#include <QObject>
23#include <QString>
23#include <QString>
25class CursorImageInfo : public QObject
26class CursorImageInfo : public QObject
@@ -35,6 +36,7 @@ class CursorImageInfo : public QObject
35 Q_PROPERTY(qreal frameHeight READ frameHeight NOTIFY frameHeightChanged)
36 Q_PROPERTY(qreal frameHeight READ frameHeight NOTIFY frameHeightChanged)
36 Q_PROPERTY(int frameCount READ frameCount NOTIFY frameCountChanged)
37 Q_PROPERTY(int frameCount READ frameCount NOTIFY frameCountChanged)
37 Q_PROPERTY(int frameDuration READ frameDuration NOTIFY frameDurationChanged)
38 Q_PROPERTY(int frameDuration READ frameDuration NOTIFY frameDurationChanged)
39+ Q_PROPERTY(QUrl imageSource READ imageSource NOTIFY imageSourceChanged)
40 CursorImageInfo(QObject *parent = nullptr);
42 CursorImageInfo(QObject *parent = nullptr);
@@ -53,6 +55,7 @@ public:
53 qreal frameHeight() const;
55 qreal frameHeight() const;
54 int frameCount() const;
56 int frameCount() const;
55 int frameDuration() const;
57 int frameDuration() const;
58+ QUrl imageSource() const;
58 void themeNameChanged();
61 void themeNameChanged();
@@ -63,6 +66,7 @@ Q_SIGNALS:
63 void frameHeightChanged();
66 void frameHeightChanged();
64 void frameCountChanged();
67 void frameCountChanged();
65 void frameDurationChanged();
68 void frameDurationChanged();
69+ void imageSourceChanged();
67private Q_SLOTS:
71private Q_SLOTS:
68 void update();
72 void update();