qbarset.h
32 lines
| 570 B
| text/x-c
|
CLexer
sauimone
|
r169 | #ifndef QBARSET_H | ||
#define QBARSET_H | ||||
#include "qchartglobal.h" | ||||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
sauimone
|
r173 | class QTCOMMERCIALCHART_EXPORT QBarSet // TODO? : public QObject | ||
sauimone
|
r169 | { | ||
sauimone
|
r173 | //Q_OBJECT; | ||
sauimone
|
r169 | public: | ||
QBarSet(); | ||||
void setName(QString name); | ||||
sauimone
|
r171 | QString name(); | ||
sauimone
|
r169 | QBarSet& operator << (const qreal &value); | ||
sauimone
|
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
|
r169 | |||
QString mName; | ||||
QList<qreal> mValues; | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // QBARSET_H | ||||