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