barpresenter.h
30 lines
| 608 B
| text/x-c
|
CLexer
|
r217 | #ifndef BARPRESENTER_H | ||
#define BARPRESENTER_H | ||||
|
r56 | |||
|
r288 | #include "qchartglobal.h" | ||
|
r216 | #include "barpresenterbase.h" | ||
|
r103 | #include <QGraphicsItem> | ||
|
r56 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
|
r338 | class QBarSeries; | ||
|
r288 | |||
|
r256 | // Presenter for parallel bars. Grouping of bars is done on category basis. | ||
|
r216 | class BarPresenter : public BarPresenterBase | ||
|
r56 | { | ||
|
r288 | Q_OBJECT | ||
|
r56 | public: | ||
|
r338 | explicit BarPresenter(QBarSeries *series, QGraphicsItem *parent = 0); | ||
|
r78 | |||
|
r56 | private: | ||
|
r217 | // From BarPresenterBase | ||
|
r56 | void layoutChanged(); // layout has changed -> need to recalculate bar sizes | ||
private: | ||||
// Data | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
|
r217 | #endif // BARPRESENTER_H | ||