##// END OF EJS Templates
fixed bug in category implementation. model now owns the category and sets
fixed bug in category implementation. model now owns the category and sets

File last commit:

r173:5bd6f6e4373b
r173:5bd6f6e4373b
Show More
qbarset.h
32 lines | 570 B | text/x-c | CLexer
#ifndef QBARSET_H
#define QBARSET_H
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QBarSet // TODO? : public QObject
{
//Q_OBJECT;
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