Changeset View
Changeset View
Standalone View
Standalone View
effects/mouseclick/mouseclick.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 89 | { | |||
---|---|---|---|---|---|
95 | Q_PROPERTY(int ringLife READ ringLife) | 95 | Q_PROPERTY(int ringLife READ ringLife) | ||
96 | Q_PROPERTY(int ringSize READ ringSize) | 96 | Q_PROPERTY(int ringSize READ ringSize) | ||
97 | Q_PROPERTY(int ringCount READ ringCount) | 97 | Q_PROPERTY(int ringCount READ ringCount) | ||
98 | Q_PROPERTY(bool showText READ isShowText) | 98 | Q_PROPERTY(bool showText READ isShowText) | ||
99 | Q_PROPERTY(QFont font READ font) | 99 | Q_PROPERTY(QFont font READ font) | ||
100 | Q_PROPERTY(bool enabled READ isEnabled) | 100 | Q_PROPERTY(bool enabled READ isEnabled) | ||
101 | public: | 101 | public: | ||
102 | MouseClickEffect(); | 102 | MouseClickEffect(); | ||
103 | ~MouseClickEffect(); | 103 | ~MouseClickEffect() override; | ||
104 | virtual void reconfigure(ReconfigureFlags); | 104 | void reconfigure(ReconfigureFlags) override; | ||
105 | virtual void prePaintScreen(ScreenPrePaintData& data, int time); | 105 | void prePaintScreen(ScreenPrePaintData& data, int time) override; | ||
106 | virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data); | 106 | void paintScreen(int mask, QRegion region, ScreenPaintData& data) override; | ||
107 | virtual void postPaintScreen(); | 107 | void postPaintScreen() override; | ||
108 | virtual bool isActive() const; | 108 | bool isActive() const override; | ||
109 | 109 | | |||
110 | // for properties | 110 | // for properties | ||
111 | QColor color1() const { | 111 | QColor color1() const { | ||
112 | return m_colors[0]; | 112 | return m_colors[0]; | ||
113 | } | 113 | } | ||
114 | QColor color2() const { | 114 | QColor color2() const { | ||
115 | return m_colors[1]; | 115 | return m_colors[1]; | ||
116 | } | 116 | } | ||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |