##// END OF EJS Templates

File last commit:

r256:bd68fc4fe7ab
r269:05d1d227ed47 merge
Show More
barpresenter.h
27 lines | 581 B | text/x-c | CLexer
#ifndef BARPRESENTER_H
#define BARPRESENTER_H
#include "barpresenterbase.h"
#include "qbarchartseries.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
// Presenter for parallel bars. Grouping of bars is done on category basis.
class BarPresenter : public BarPresenterBase
{
public:
explicit BarPresenter(BarChartModel& model, QGraphicsItem *parent = 0);
private:
// From BarPresenterBase
void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // BARPRESENTER_H