##// END OF EJS Templates
removed barchartseriesbase. functionality is now in model
removed barchartseriesbase. functionality is now in model

File last commit:

r171:d4b8c60ed973
r172:aba5dff73719
Show More
qbarset.h
31 lines | 573 B | text/x-c | CLexer
#ifndef QBARSET_H
#define QBARSET_H
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QBarSet // : pubclic QObject // TODO: Need for this?
{
public:
QBarSet();
void setName(QString name);
QString name();
QBarSet& operator << (const qreal &value);
//TODO: What is the way to set a single value to n:th item? Is there need for such functionality?
int count();
qreal valueAt(int index);
private:
QString mName;
QList<qreal> mValues;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARSET_H