##// END OF EJS Templates
Revert barseries thought to be only model related
Revert barseries thought to be only model related

File last commit:

r1313:a90564adf9b7
r1333:415d595f93c9
Show More
qvbarmodelmapper.h
31 lines | 856 B | text/x-c | CLexer
/ src / barchart / qvbarmodelmapper.h
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294 #ifndef QVBARMODELMAPPER_H
#define QVBARMODELMAPPER_H
#include <QBarModelMapper>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QVBarModelMapper : public QBarModelMapper
{
Q_OBJECT
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 Q_PROPERTY(int firstBarSetColumn READ firstBarSetColumn WRITE setFirstBarSetColumn)
Q_PROPERTY(int lastBarSetColumn READ lastBarSetColumn WRITE setLastBarSetColumn)
Tero Ahola
Bar model mapper to Qml custom model demo
r1313 Q_PROPERTY(int categoriesColumn READ categoriesColumn WRITE setCategoriesColumn)
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
public:
explicit QVBarModelMapper(QObject *parent = 0);
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 int firstBarSetColumn() const;
void setFirstBarSetColumn(int firstBarSetColumn);
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 int lastBarSetColumn() const;
void setLastBarSetColumn(int lastBarSetColumn);
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
int categoriesColumn() const;
void setCategoriesColumn(int categoriesColumn);
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QVBARMODELMAPPER_H