From 1bfe48de7512a1f80a721c89127f1491641fd7a7 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 10 Sep 2017 12:59:21 +0300 Subject: Style change again --- include/ui/ScrollBar.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'include/ui/ScrollBar.h') diff --git a/include/ui/ScrollBar.h b/include/ui/ScrollBar.h index 483a73c4..1c056409 100644 --- a/include/ui/ScrollBar.h +++ b/include/ui/ScrollBar.h @@ -25,29 +25,29 @@ class ScrollBar : public QScrollBar { - Q_OBJECT + Q_OBJECT public: - ScrollBar(QScrollArea *area, QWidget *parent = nullptr); + ScrollBar(QScrollArea *area, QWidget *parent = nullptr); - void fadeIn(); - void fadeOut(); + void fadeIn(); + void fadeOut(); protected: - void paintEvent(QPaintEvent *e) override; - void sliderChange(SliderChange change) override; + void paintEvent(QPaintEvent *e) override; + void sliderChange(SliderChange change) override; private: - int roundRadius_ = 4; - int handleWidth_ = 7; - int minHandleHeight_ = 20; - bool isActive; + int roundRadius_ = 4; + int handleWidth_ = 7; + int minHandleHeight_ = 20; + bool isActive; - const int AnimationDuration = 300; - const int Padding = 4; + const int AnimationDuration = 300; + const int Padding = 4; - QGraphicsOpacityEffect *eff; - QTimer hideTimer_; + QGraphicsOpacityEffect *eff; + QTimer hideTimer_; - QScrollArea *area_; - QRect handle_; + QScrollArea *area_; + QRect handle_; }; -- cgit 1.5.1