##// END OF EJS Templates
Enabled theme colors in scatter again
Enabled theme colors in scatter again

File last commit:

r173:5bd6f6e4373b
r182:0dd3fe4314e9
Show More
qbarset.h
32 lines | 570 B | text/x-c | CLexer
sauimone
proof of concept implementation for barset and barcategory
r169 #ifndef QBARSET_H
#define QBARSET_H
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
fixed bug in category implementation. model now owns the category and sets
r173 class QTCOMMERCIALCHART_EXPORT QBarSet // TODO? : public QObject
sauimone
proof of concept implementation for barset and barcategory
r169 {
sauimone
fixed bug in category implementation. model now owns the category and sets
r173 //Q_OBJECT;
sauimone
proof of concept implementation for barset and barcategory
r169 public:
QBarSet();
void setName(QString name);
sauimone
Barset and barcategory implememtation. Updated test application
r171 QString name();
sauimone
proof of concept implementation for barset and barcategory
r169 QBarSet& operator << (const qreal &value);
sauimone
Barset and barcategory implememtation. Updated test application
r171 //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:
sauimone
proof of concept implementation for barset and barcategory
r169
QString mName;
QList<qreal> mValues;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARSET_H