SpeedPlotView: code correction

This commit is contained in:
Anton Lashkov
2016-03-20 12:31:10 +04:00
parent 8a6866d409
commit cdab0bb140
2 changed files with 55 additions and 58 deletions

View File

@@ -73,11 +73,10 @@ public:
explicit SpeedPlotView(QWidget *parent = 0);
void setGraphEnable(GraphID id, bool enable);
void setViewableLastPoints(TimePeriod period);
void pushPoint(PointData point);
void setViewableLastPoints(TimePeriod period);
void replot();
protected:
@@ -104,9 +103,9 @@ private:
GraphProperties();
GraphProperties(const QString &name, const QPen &pen, bool enable = false);
QString m_name;
QPen m_pen;
bool m_enable;
QString name;
QPen pen;
bool enable;
};
boost::circular_buffer<PointData> m_data5Min;