##// END OF EJS Templates
minor. barchart layout fix
minor. barchart layout fix

File last commit:

r487:03622a1338c4
r570:9f92aa7110d8
Show More
percentbarpresenter_p.h
29 lines | 555 B | text/x-c | CLexer
/ src / barchart / percentbarpresenter_p.h
#ifndef PERCENTBARPRESENTER_H
#define PERCENTBARPRESENTER_H
#include "chartitem_p.h"
#include "bar_p.h"
#include "qpercentbarseries.h"
#include "barpresenterbase_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PercentBarPresenter : public BarPresenterBase
{
Q_OBJECT
public:
PercentBarPresenter(QBarSeries *series, QChart *parent = 0);
private:
void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // PERCENTBARPRESENTER_H