bargroup.h
28 lines
| 505 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
|
r172 | explicit BarGroup(BarChartModel& model, QGraphicsItem *parent = 0); | ||
sauimone
|
r78 | |||
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 | ||