##// END OF EJS Templates
Fixed a bug in vanilla theme
Fixed a bug in vanilla theme

File last commit:

r486:7ab45bf9f776
r526:8593b87d6899
Show More
chartview.h
28 lines | 425 B | text/x-c | CLexer
#ifndef CHARTVIEW_H_
#define CHARTVIEW_H_
#include <qchartview.h>
#include <QTimer>
QTCOMMERCIALCHART_USE_NAMESPACE
//![1]
class ChartView: public QChartView
{
Q_OBJECT
public:
ChartView(QWidget* parent=0);
virtual ~ChartView();
public slots:
void handleTimeout();
private:
QTimer m_timer;
QList<QSeries*> m_series;
QStringList m_titles;
int m_index;
};
//![1]
#endif /* CHARTVIEW_H_ */