qchartseries.h
38 lines
| 701 B
| text/x-c
|
CLexer
/ src / qchartseries.h
|
r23 | #ifndef QCHARTSERIES_H | ||
#define QCHARTSERIES_H | ||||
|
r30 | #include "qchartglobal.h" | ||
|
r23 | #include <QObject> | ||
|
r30 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||
|
r23 | |||
|
r30 | class QTCOMMERCIALCHART_EXPORT QChartSeries : public QObject | ||
|
r23 | { | ||
public: | ||||
|
r30 | enum QChartSeriesType { | ||
SeriesTypeLine = 0, | ||||
// SeriesTypeArea, | ||||
// SeriesTypeBar, | ||||
// SeriesTypePie, | ||||
SeriesTypeScatter | ||||
// SeriesTypeSpline | ||||
}; | ||||
|
r23 | |||
protected: | ||||
QChartSeries(QObject *parent = 0):QObject(parent){}; | ||||
public: | ||||
virtual ~QChartSeries(){}; | ||||
//factory method | ||||
static QChartSeries* create(QObject* parent = 0 ){ return 0;} | ||||
//pure virtual | ||||
virtual QChartSeriesType type() const = 0; | ||||
}; | ||||
|
r30 | QTCOMMERCIALCHART_END_NAMESPACE | ||
|
r23 | |||
#endif | ||||