bargroup.h
28 lines
| 507 B
| text/x-c
|
CLexer
sauimone
|
r94 | #ifndef QBARGROUP_H | ||
#define QBARGROUP_H | ||||
sauimone
|
r56 | |||
sauimone
|
r126 | #include "bargroupbase.h" | ||
sauimone
|
r56 | #include "barchartseries.h" | ||
Tero Ahola
|
r103 | #include <QGraphicsItem> | ||
sauimone
|
r56 | |||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
sauimone
|
r126 | // Base class for bar groups | ||
class BarGroup : public BarGroupBase | ||||
sauimone
|
r56 | { | ||
public: | ||||
sauimone
|
r78 | explicit BarGroup(BarChartSeries& series, QGraphicsItem *parent = 0); | ||
sauimone
|
r56 | private: | ||
sauimone
|
r126 | // From BarGroupBase | ||
sauimone
|
r56 | void layoutChanged(); // layout has changed -> need to recalculate bar sizes | ||
private: | ||||
// Data | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
sauimone
|
r94 | #endif // QBARGROUP_H | ||