##// END OF EJS Templates
code cleanup after refactoring. much nicer now.
code cleanup after refactoring. much nicer now.

File last commit:

r256:bd68fc4fe7ab
r282:2a015f15bbd4
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