##// 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
qbarcategory.h
28 lines | 466 B | text/x-c | CLexer
sauimone
proof of concept implementation for barset and barcategory
r169 #ifndef QBARCATEGORY_H
#define QBARCATEGORY_H
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
fixed bug in category implementation. model now owns the category and sets
r173 class QTCOMMERCIALCHART_EXPORT QBarCategory // 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:
QBarCategory();
QBarCategory& operator << (const QString &label);
// Number of items in category
int count();
sauimone
removed barchartseriesbase. functionality is now in model
r172 QString label(int category);
sauimone
proof of concept implementation for barset and barcategory
r169
public:
QList<QString> mList;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARCATEGORY_H