Changeset View
Changeset View
Standalone View
Standalone View
effects/touchpoints/touchpoints.h
Show All 31 Lines | |||||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | Q_PROPERTY(qreal lineWidth READ lineWidth) | 34 | Q_PROPERTY(qreal lineWidth READ lineWidth) | ||
35 | Q_PROPERTY(int ringLife READ ringLife) | 35 | Q_PROPERTY(int ringLife READ ringLife) | ||
36 | Q_PROPERTY(int ringSize READ ringSize) | 36 | Q_PROPERTY(int ringSize READ ringSize) | ||
37 | Q_PROPERTY(int ringCount READ ringCount) | 37 | Q_PROPERTY(int ringCount READ ringCount) | ||
38 | public: | 38 | public: | ||
39 | TouchPointsEffect(); | 39 | TouchPointsEffect(); | ||
40 | ~TouchPointsEffect(); | 40 | ~TouchPointsEffect() override; | ||
41 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | 41 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
42 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | 42 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | ||
43 | void postPaintScreen() override; | 43 | void postPaintScreen() override; | ||
44 | bool isActive() const override; | 44 | bool isActive() const override; | ||
45 | bool touchDown(quint32 id, const QPointF &pos, quint32 time) override; | 45 | bool touchDown(quint32 id, const QPointF &pos, quint32 time) override; | ||
46 | bool touchMotion(quint32 id, const QPointF &pos, quint32 time) override; | 46 | bool touchMotion(quint32 id, const QPointF &pos, quint32 time) override; | ||
47 | bool touchUp(quint32 id, quint32 time) override; | 47 | bool touchUp(quint32 id, quint32 time) override; | ||
48 | 48 | | |||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |