##// END OF EJS Templates
refactoring. QStackedBarSeries and QPercentBarSeries are now derived from QBarSeries.
refactoring. QStackedBarSeries and QPercentBarSeries are now derived from QBarSeries.

File last commit:

r217:97e8d42197e7
r281:d81c37855aff
Show More
percentbarpresenter.h
28 lines | 554 B | text/x-c | CLexer
/ src / barchart / percentbarpresenter.h
#ifndef PERCENTBARPRESENTER_H
#define PERCENTBARPRESENTER_H
#include "chartitem_p.h"
#include "bar_p.h"
#include "qpercentbarchartseries.h"
#include "barpresenterbase.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PercentBarPresenter : public BarPresenterBase
{
public:
PercentBarPresenter(BarChartModel& model, QGraphicsItem *parent = 0);
private:
void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // PERCENTBARPRESENTER_H