qbarset.h
31 lines
| 573 B
| text/x-c
|
CLexer
sauimone
|
r169 | #ifndef QBARSET_H | ||
#define QBARSET_H | ||||
#include "qchartglobal.h" | ||||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class QTCOMMERCIALCHART_EXPORT QBarSet // : pubclic QObject // TODO: Need for this? | ||||
{ | ||||
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 | ||||