##// END OF EJS Templates
Better way to enable features to user. Do less, but expose signals to user and allow user to descide what to do.
Better way to enable features to user. Do less, but expose signals to user and allow user to descide what to do.

File last commit:

r381:8ab9ba5c10bd
r425:85842e6c8dba
Show More
stackedbarpresenter_p.h
27 lines | 546 B | text/x-c | CLexer
/ src / barchart / stackedbarpresenter_p.h
#ifndef STACKEDBARPRESENTER_H
#define STACKEDBARPRESENTER_H
#include "barpresenterbase_p.h"
#include "qstackedbarseries.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class StackedBarPresenter : public BarPresenterBase
{
Q_OBJECT
public:
StackedBarPresenter(QBarSeries *series, QGraphicsItem *parent = 0);
private:
// From BarPresenterBase
void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // STACKEDBARPRESENTER_H