Squash some warnings

This commit is contained in:
Bill Somerville 2021-06-02 13:44:44 +01:00
parent b14e50312f
commit 705bf46498
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -24,8 +24,8 @@ public:
explicit CPlotter(QWidget *parent = 0); explicit CPlotter(QWidget *parent = 0);
~CPlotter(); ~CPlotter();
QSize minimumSizeHint() const; QSize minimumSizeHint() const override;
QSize sizeHint() const; QSize sizeHint() const override;
QColor m_ColorTbl[256]; QColor m_ColorTbl[256];
bool m_bDecodeFinished; bool m_bDecodeFinished;
int m_plotZero; int m_plotZero;
@ -81,8 +81,8 @@ signals:
protected: protected:
//re-implemented widget event handlers //re-implemented widget event handlers
void paintEvent(QPaintEvent *event); void paintEvent(QPaintEvent *event) override;
void resizeEvent(QResizeEvent* event); void resizeEvent(QResizeEvent* event) override;
void mouseMoveEvent(QMouseEvent * event) override; void mouseMoveEvent(QMouseEvent * event) override;
private: private:
@ -132,8 +132,8 @@ private:
qint32 m_TxDF; qint32 m_TxDF;
private slots: private slots:
void mousePressEvent(QMouseEvent *event); void mousePressEvent(QMouseEvent *event) override;
void mouseDoubleClickEvent(QMouseEvent *event); void mouseDoubleClickEvent(QMouseEvent *event) override;
}; };
#endif // PLOTTER_H #endif // PLOTTER_H