##// END OF EJS Templates
Add ownerships takeover to chartaxis
Add ownerships takeover to chartaxis

File last commit:

r173:5bd6f6e4373b
r248:ded845353666
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