##// END OF EJS Templates
Add styles to pen in piechartcustomization demo
Add styles to pen in piechartcustomization demo

File last commit:

r486:7ab45bf9f776
r522:49c80e862047
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_ */