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