barpresenter.h
27 lines
| 581 B
| text/x-c
|
CLexer
sauimone
|
r217 | #ifndef BARPRESENTER_H | ||
#define BARPRESENTER_H | ||||
sauimone
|
r56 | |||
sauimone
|
r216 | #include "barpresenterbase.h" | ||
#include "qbarchartseries.h" | ||||
Tero Ahola
|
r103 | #include <QGraphicsItem> | ||
sauimone
|
r56 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
sauimone
|
r256 | // Presenter for parallel bars. Grouping of bars is done on category basis. | ||
sauimone
|
r216 | class BarPresenter : public BarPresenterBase | ||
sauimone
|
r56 | { | ||
public: | ||||
sauimone
|
r216 | explicit BarPresenter(BarChartModel& model, QGraphicsItem *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 | ||