Allow external RippleButton customization.
This commit is contained in:
parent
4e6763d176
commit
d31d94e8fb
1 changed files with 2 additions and 2 deletions
|
|
@ -58,11 +58,11 @@ public:
|
|||
|
||||
void clearState() override;
|
||||
|
||||
void paintRipple(QPainter &p, int x, int y, const QColor *colorOverride = nullptr);
|
||||
|
||||
~RippleButton();
|
||||
|
||||
protected:
|
||||
void paintRipple(QPainter &p, int x, int y, const QColor *colorOverride = nullptr);
|
||||
|
||||
void onStateChanged(State was, StateChangeSource source) override;
|
||||
|
||||
virtual QImage prepareRippleMask() const;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue