##// END OF EJS Templates
Updated barchart documentation
Updated barchart documentation

File last commit:

r288:5f68000bea7a
r319:c54c34ca0b57
Show More
stackedbarpresenter.h
27 lines | 554 B | text/x-c | CLexer
/ src / barchart / stackedbarpresenter.h
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 #ifndef STACKEDBARPRESENTER_H
#define STACKEDBARPRESENTER_H
sauimone
added missing example files :)
r96
sauimone
Common naming convention for barcharts
r216 #include "barpresenterbase.h"
#include "qstackedbarchartseries.h"
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #include <QGraphicsItem>
sauimone
added missing example files :)
r96
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Common naming convention for barcharts
r216 class StackedBarPresenter : public BarPresenterBase
sauimone
added missing example files :)
r96 {
sauimone
moved tooltip to presenter
r288 Q_OBJECT
sauimone
added missing example files :)
r96 public:
sauimone
moved tooltip to presenter
r288 StackedBarPresenter(QBarChartSeries *series, QGraphicsItem *parent = 0);
sauimone
added missing example files :)
r96
private:
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 // From BarPresenterBase
sauimone
added missing example files :)
r96 void layoutChanged(); // layout has changed -> need to recalculate bar sizes
private:
// Data
};
QTCOMMERCIALCHART_END_NAMESPACE
sauimone
Bug fix for bar presenters. It appears that order of childItems may change. Relying on order caused crash
r256 #endif // STACKEDBARPRESENTER_H