Changeset View
Changeset View
Standalone View
Standalone View
gui/SensorDisplayLib/DancingBars.h
Show All 34 Lines | |||||
35 | class DancingBars : public KSGRD::SensorDisplay | 35 | class DancingBars : public KSGRD::SensorDisplay | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | 38 | | |||
39 | public: | 39 | public: | ||
40 | DancingBars( QWidget *parent, const QString &title, SharedSettings *workSheetSettings ); | 40 | DancingBars( QWidget *parent, const QString &title, SharedSettings *workSheetSettings ); | ||
41 | virtual ~DancingBars(); | 41 | virtual ~DancingBars(); | ||
42 | 42 | | |||
43 | void configureSettings() Q_DECL_OVERRIDE; | 43 | void configureSettings() override; | ||
44 | 44 | | |||
45 | bool addSensor( const QString &hostName, const QString &name, | 45 | bool addSensor( const QString &hostName, const QString &name, | ||
46 | const QString &type, const QString &title ) Q_DECL_OVERRIDE; | 46 | const QString &type, const QString &title ) override; | ||
47 | bool removeSensor( uint pos ) Q_DECL_OVERRIDE; | 47 | bool removeSensor( uint pos ) override; | ||
48 | 48 | | |||
49 | void updateSamples( const QVector<double> &samples ); | 49 | void updateSamples( const QVector<double> &samples ); | ||
50 | 50 | | |||
51 | void answerReceived( int id, const QList<QByteArray> &answerlist ) Q_DECL_OVERRIDE; | 51 | void answerReceived( int id, const QList<QByteArray> &answerlist ) override; | ||
52 | 52 | | |||
53 | bool restoreSettings( QDomElement& ) Q_DECL_OVERRIDE; | 53 | bool restoreSettings( QDomElement& ) override; | ||
54 | bool saveSettings( QDomDocument&, QDomElement& ) Q_DECL_OVERRIDE; | 54 | bool saveSettings( QDomDocument&, QDomElement& ) override; | ||
55 | 55 | | |||
56 | bool hasSettingsDialog() const Q_DECL_OVERRIDE; | 56 | bool hasSettingsDialog() const override; | ||
57 | 57 | | |||
58 | public Q_SLOTS: | 58 | public Q_SLOTS: | ||
59 | void applyStyle() Q_DECL_OVERRIDE; | 59 | void applyStyle() override; | ||
60 | 60 | | |||
61 | private: | 61 | private: | ||
62 | int mBars; | 62 | int mBars; | ||
63 | 63 | | |||
64 | BarGraph* mPlotter; | 64 | BarGraph* mPlotter; | ||
65 | 65 | | |||
66 | /** | 66 | /** | ||
67 | The sample buffer and the flags are needed to store the incoming | 67 | The sample buffer and the flags are needed to store the incoming | ||
Show All 10 Lines |