barchartseries.h
29 lines
| 557 B
| text/x-c
|
CLexer
|
r56 | #ifndef BARCHARTSERIES_H | ||
#define BARCHARTSERIES_H | ||||
#include <QList> | ||||
|
r71 | #include <QAbstractItemModel> | ||
|
r126 | #include "barchartseriesbase.h" | ||
|
r56 | |||
|
r74 | class BarGroup; | ||
|
r56 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||
// Container for series | ||||
|
r126 | class QTCOMMERCIALCHART_EXPORT BarChartSeries : public BarChartSeriesBase | ||
|
r56 | { | ||
|
r71 | Q_OBJECT | ||
|
r56 | public: | ||
|
r62 | BarChartSeries(QObject* parent=0); | ||
|
r56 | |||
|
r126 | // from BarChartSeriesBase | ||
|
r56 | virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeBar; } | ||
private: | ||||
|
r74 | BarGroup* mBarGroup; | ||
|
r56 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // BARCHARTSERIES_H | ||||