percentbargroup.h
28 lines
| 525 B
| text/x-c
|
CLexer
sauimone
|
r101 | #ifndef PERCENTBARGROUP_H | ||
#define PERCENTBARGROUP_H | ||||
Tero Ahola
|
r104 | #include "chartitem_p.h" | ||
sauimone
|
r118 | #include "bar_p.h" | ||
sauimone
|
r101 | #include "percentbarchartseries.h" | ||
sauimone
|
r126 | #include "bargroupbase.h" | ||
Tero Ahola
|
r103 | #include <QGraphicsItem> | ||
sauimone
|
r101 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
sauimone
|
r126 | class PercentBarGroup : public BarGroupBase | ||
sauimone
|
r101 | { | ||
public: | ||||
sauimone
|
r172 | PercentBarGroup(BarChartModel& model, QGraphicsItem *parent = 0); | ||
sauimone
|
r101 | |||
private: | ||||
void layoutChanged(); // layout has changed -> need to recalculate bar sizes | ||||
private: | ||||
// Data | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // PERCENTBARGROUP_H | ||||