diff options
Diffstat (limited to 'src/ui/FloatingButton.h')
-rw-r--r-- | src/ui/FloatingButton.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/FloatingButton.h b/src/ui/FloatingButton.h index b59b3854..df14dd2c 100644 --- a/src/ui/FloatingButton.h +++ b/src/ui/FloatingButton.h @@ -14,17 +14,17 @@ constexpr int OFFSET_Y = 20; class FloatingButton : public RaisedButton { - Q_OBJECT + Q_OBJECT public: - FloatingButton(const QIcon &icon, QWidget *parent = nullptr); + FloatingButton(const QIcon &icon, QWidget *parent = nullptr); - QSize sizeHint() const override { return QSize(DIAMETER, DIAMETER); }; - QRect buttonGeometry() const; + QSize sizeHint() const override { return QSize(DIAMETER, DIAMETER); }; + QRect buttonGeometry() const; protected: - bool event(QEvent *event) override; - bool eventFilter(QObject *obj, QEvent *event) override; + bool event(QEvent *event) override; + bool eventFilter(QObject *obj, QEvent *event) override; - void paintEvent(QPaintEvent *event) override; + void paintEvent(QPaintEvent *event) override; }; |