percentbarchartseries.h
31 lines
| 638 B
| text/x-c
|
CLexer
sauimone
|
r101 | #ifndef PERCENTBARCHARTSERIES_H | ||
#define PERCENTBARCHARTSERIES_H | ||||
#include <QList> | ||||
#include <QAbstractItemModel> | ||||
sauimone
|
r126 | #include "barchartseriesbase.h" | ||
sauimone
|
r101 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class PercentBarGroup; | ||||
sauimone
|
r126 | class QTCOMMERCIALCHART_EXPORT PercentBarChartSeries : public BarChartSeriesBase | ||
sauimone
|
r101 | { | ||
Q_OBJECT | ||||
public: | ||||
sauimone
|
r169 | PercentBarChartSeries(QBarCategory &category, QObject* parent=0); | ||
sauimone
|
r101 | |||
sauimone
|
r126 | // from BarChartSeriesBase | ||
sauimone
|
r101 | virtual QChartSeriesType type() const { return QChartSeries::SeriesTypePercentBar; } | ||
public Q_SLOTS: | ||||
private: | ||||
PercentBarGroup* mPercentBarGroup; | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // PERCENTBARCHARTSERIES_H | ||||