##// END OF EJS Templates
make gdpbarchart compile again
make gdpbarchart compile again

File last commit:

r760:1544a9974795
r826:851f130d7cc1
Show More
chartview.h
37 lines | 592 B | text/x-c | CLexer
Michal Klocek
Adds ekg example draft
r599 #ifndef CHARTVIEW_H_
#define CHARTVIEW_H_
#include <QChartView>
#include <QTimer>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QSplineSeries;
class QLineSeries;
QTCOMMERCIALCHART_END_NAMESPACE
QTCOMMERCIALCHART_USE_NAMESPACE
//![1]
class ChartView: public QChartView
{
Q_OBJECT
public:
Tero Ahola
Internal review: Removed extra semicolons
r760 ChartView(QWidget* parent = 0);
Michal Klocek
Adds ekg example draft
r599 virtual ~ChartView();
public slots:
void handleTimeout();
private:
QTimer m_timer;
QLineSeries* m_series0;
QSplineSeries* m_series1;
QStringList m_titles;
qreal m_step;
qreal m_x;
qreal m_y;
};
//![1]
#endif /* CHARTVIEW_H_ */