##// END OF EJS Templates
BarModelMapper: implemented model updated slots. Some more work needed with categories
BarModelMapper: implemented model updated slots. Some more work needed with categories

File last commit:

r1294:6b4eaf123ca6
r1295:2f3c0756d825
Show More
qhbarmodelmapper.h
30 lines | 690 B | text/x-c | CLexer
#ifndef QHBARMODELMAPPER_H
#define QHBARMODELMAPPER_H
#include <QBarModelMapper>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QHBarModelMapper : public QBarModelMapper
{
Q_OBJECT
Q_PROPERTY(int firstBarRow READ firstBarRow WRITE setFirstBarRow)
Q_PROPERTY(int lastBarRow READ lastBarRow WRITE setLastBarRow)
public:
explicit QHBarModelMapper(QObject *parent = 0);
int firstBarRow() const;
void setFirstBarRow(int firstBarRow);
int lastBarRow() const;
void setLastBarRow(int lastBarRow);
int categoriesRow() const;
void setCategoriesRow(int categoriesRow);
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QHBARMODELMAPPER_H