##// END OF EJS Templates
Added tests for XYModelMapper
Added tests for XYModelMapper

File last commit:

r1313:a90564adf9b7
r1352:6d51f9f77c12
Show More
qhbarmodelmapper.h
31 lines | 802 B | text/x-c | CLexer
/ src / barchart / qhbarmodelmapper.h
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294 #ifndef QHBARMODELMAPPER_H
#define QHBARMODELMAPPER_H
#include <QBarModelMapper>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QHBarModelMapper : public QBarModelMapper
{
Q_OBJECT
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 Q_PROPERTY(int firstBarSetRow READ firstBarSetRow WRITE setFirstBarSetRow)
Q_PROPERTY(int lastBarSetRow READ lastBarSetRow WRITE setLastBarSetRow)
Tero Ahola
Bar model mapper to Qml custom model demo
r1313 Q_PROPERTY(int categoriesRow READ categoriesRow WRITE setCategoriesRow)
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
public:
explicit QHBarModelMapper(QObject *parent = 0);
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 int firstBarSetRow() const;
void setFirstBarSetRow(int firstBarSetRow);
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
Marek Rosa
Replaced 'Bar' with 'BarSet' in BarModelMapper functions and member variables
r1312 int lastBarSetRow() const;
void setLastBarSetRow(int lastBarSetRow);
Marek Rosa
Added Vertical and Horizontal BarModelMappers
r1294
int categoriesRow() const;
void setCategoriesRow(int categoriesRow);
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QHBARMODELMAPPER_H