##// END OF EJS Templates
more intelligent legend. fixed compiler warning in bar.cpp
more intelligent legend. fixed compiler warning in bar.cpp

File last commit:

r487:03622a1338c4
r565:b4a66ce9ee2b
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