##// 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
#ifndef QBARCATEGORY_H
#define QBARCATEGORY_H
#include "qchartglobal.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QBarCategory // TODO?: : public QObject
{
// Q_OBJECT;
public:
QBarCategory();
QBarCategory& operator << (const QString &label);
// Number of items in category
int count();
QString label(int category);
public:
QList<QString> mList;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARCATEGORY_H