Mercurial > hg > svgui
diff widgets/Thumbwheel.h @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | a18e78b9c78b |
children | bbc3f537564c |
line wrap: on
line diff
--- a/widgets/Thumbwheel.h Wed Jan 09 14:41:52 2019 +0000 +++ b/widgets/Thumbwheel.h Wed Jan 09 15:24:51 2019 +0000 @@ -47,7 +47,7 @@ void setShowToolTip(bool show); - QSize sizeHint() const; + QSize sizeHint() const override; signals: void valueChanged(int); @@ -71,14 +71,14 @@ void updateMappedValue(int value); protected: - virtual void mousePressEvent(QMouseEvent *e); - virtual void mouseDoubleClickEvent(QMouseEvent *e); - virtual void mouseMoveEvent(QMouseEvent *e); - virtual void mouseReleaseEvent(QMouseEvent *e); - virtual void wheelEvent(QWheelEvent *e); - virtual void paintEvent(QPaintEvent *e); - virtual void enterEvent(QEvent *); - virtual void leaveEvent(QEvent *); + void mousePressEvent(QMouseEvent *e) override; + void mouseDoubleClickEvent(QMouseEvent *e) override; + void mouseMoveEvent(QMouseEvent *e) override; + void mouseReleaseEvent(QMouseEvent *e) override; + void wheelEvent(QWheelEvent *e) override; + void paintEvent(QPaintEvent *e) override; + void enterEvent(QEvent *) override; + void leaveEvent(QEvent *) override; int m_min; int m_max;