##// END OF EJS Templates
Refactor current draft to fit int current design specs...
Refactor current draft to fit int current design specs * fixes compilation errors * adds QChartSeries * adds QXYChartSeries * adds QXYLineChartItem * fixes xylinechart example to use QChartWidget

File last commit:

r12:54a770e32f2a
r21:f4dbcb0551ab
Show More
chartview.h
22 lines | 407 B | text/x-c | CLexer
#ifndef CHARTVIEW_H_
#define CHARTVIEW_H_
#include <qchartwidget.h>
#include <QGraphicsView>
class QGraphicsScene;
QCHART_USE_NAMESPACE
class ChartView: public QGraphicsView
{
public:
ChartView (QChartWidget* chartWidget,QWidget* parent=0);
virtual ~ChartView();
void resizeEvent(QResizeEvent *event);
private:
QChartWidget* m_chartWidget;
QGraphicsScene* m_scene;
};
#endif /* CHARTVIEW_H_ */