qhbarmodelmapper.h
31 lines
| 802 B
| text/x-c
|
CLexer
Marek Rosa
|
r1294 | #ifndef QHBARMODELMAPPER_H | ||
#define QHBARMODELMAPPER_H | ||||
#include <QBarModelMapper> | ||||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class QTCOMMERCIALCHART_EXPORT QHBarModelMapper : public QBarModelMapper | ||||
{ | ||||
Q_OBJECT | ||||
Marek Rosa
|
r1312 | Q_PROPERTY(int firstBarSetRow READ firstBarSetRow WRITE setFirstBarSetRow) | ||
Q_PROPERTY(int lastBarSetRow READ lastBarSetRow WRITE setLastBarSetRow) | ||||
Tero Ahola
|
r1313 | Q_PROPERTY(int categoriesRow READ categoriesRow WRITE setCategoriesRow) | ||
Marek Rosa
|
r1294 | |||
public: | ||||
explicit QHBarModelMapper(QObject *parent = 0); | ||||
Marek Rosa
|
r1312 | int firstBarSetRow() const; | ||
void setFirstBarSetRow(int firstBarSetRow); | ||||
Marek Rosa
|
r1294 | |||
Marek Rosa
|
r1312 | int lastBarSetRow() const; | ||
void setLastBarSetRow(int lastBarSetRow); | ||||
Marek Rosa
|
r1294 | |||
int categoriesRow() const; | ||||
void setCategoriesRow(int categoriesRow); | ||||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif // QHBARMODELMAPPER_H | ||||