percentbarpresenter.h
29 lines
| 560 B
| text/x-c
|
CLexer
|
r217 | #ifndef PERCENTBARPRESENTER_H | ||
#define PERCENTBARPRESENTER_H | ||||
|
r101 | |||
|
r104 | #include "chartitem_p.h" | ||
|
r118 | #include "bar_p.h" | ||
|
r338 | #include "qpercentbarseries.h" | ||
|
r216 | #include "barpresenterbase.h" | ||
|
r103 | #include <QGraphicsItem> | ||
|
r101 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
|
r216 | class PercentBarPresenter : public BarPresenterBase | ||
|
r101 | { | ||
|
r288 | Q_OBJECT | ||
|
r101 | public: | ||
|
r338 | PercentBarPresenter(QBarSeries *series, QGraphicsItem *parent = 0); | ||
|
r101 | |||
private: | ||||
void layoutChanged(); // layout has changed -> need to recalculate bar sizes | ||||
private: | ||||
// Data | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
|
r217 | #endif // PERCENTBARPRESENTER_H | ||