##// 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
qbarset.cpp
36 lines | 480 B | text/x-c | CppLexer
sauimone
proof of concept implementation for barset and barcategory
r169 #include "qbarset.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QBarSet::QBarSet()
{
}
void QBarSet::setName(QString name)
{
mName = name;
}
sauimone
Barset and barcategory implememtation. Updated test application
r171 QString QBarSet::name()
{
return mName;
}
sauimone
proof of concept implementation for barset and barcategory
r169
QBarSet& QBarSet::operator << (const qreal &value)
{
mValues.append(value);
return *this;
}
sauimone
Barset and barcategory implememtation. Updated test application
r171 int QBarSet::count()
{
return mValues.count();
}
qreal QBarSet::valueAt(int index)
{
return mValues.at(index);
}
sauimone
fixed bug in category implementation. model now owns the category and sets
r173 //TODO?:
//#include "moc_qbarset.cpp"
sauimone
proof of concept implementation for barset and barcategory
r169 QTCOMMERCIALCHART_END_NAMESPACE