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