##// END OF EJS Templates
Added missing properties and NOTIFY's to logvalue and value axes
Marek Rosa -
r2319:0473979ecc50
parent child
Show More
@@ -171,6 +171,7 void QLogValueAxis::setLabelFormat(const QString &format)
171 {
171 {
172 Q_D(QLogValueAxis);
172 Q_D(QLogValueAxis);
173 d->m_format = format;
173 d->m_format = format;
174 emit labelFormatChanged(format);
174 }
175 }
175
176
176 QString QLogValueAxis::labelFormat() const
177 QString QLogValueAxis::labelFormat() const
@@ -34,7 +34,8 class QTCOMMERCIALCHART_EXPORT QLogValueAxis : public QAbstractAxis
34 Q_OBJECT
34 Q_OBJECT
35 Q_PROPERTY(qreal min READ min WRITE setMin NOTIFY minChanged)
35 Q_PROPERTY(qreal min READ min WRITE setMin NOTIFY minChanged)
36 Q_PROPERTY(qreal max READ max WRITE setMax NOTIFY maxChanged)
36 Q_PROPERTY(qreal max READ max WRITE setMax NOTIFY maxChanged)
37 Q_PROPERTY(QString labelFormat READ labelFormat WRITE setLabelFormat)
37 Q_PROPERTY(QString labelFormat READ labelFormat WRITE setLabelFormat NOTIFY labelFormatChanged)
38 Q_PROPERTY(qreal base READ base WRITE setBase NOTIFY baseChanged)
38
39
39 public:
40 public:
40 explicit QLogValueAxis(QObject *parent = 0);
41 explicit QLogValueAxis(QObject *parent = 0);
@@ -63,6 +64,7 Q_SIGNALS:
63 void minChanged(qreal min);
64 void minChanged(qreal min);
64 void maxChanged(qreal max);
65 void maxChanged(qreal max);
65 void rangeChanged(qreal min, qreal max);
66 void rangeChanged(qreal min, qreal max);
67 void labelFormatChanged(const QString &format);
66 void baseChanged(qreal base);
68 void baseChanged(qreal base);
67
69
68 private:
70 private:
@@ -265,6 +265,7 void QValueAxis::setLabelFormat(const QString &format)
265 {
265 {
266 Q_D(QValueAxis);
266 Q_D(QValueAxis);
267 d->m_format = format;
267 d->m_format = format;
268 emit labelFormatChanged(format);
268 }
269 }
269
270
270 QString QValueAxis::labelFormat() const
271 QString QValueAxis::labelFormat() const
@@ -34,7 +34,7 class QTCOMMERCIALCHART_EXPORT QValueAxis : public QAbstractAxis
34 Q_PROPERTY(bool niceNumbersEnabled READ niceNumbersEnabled WRITE setNiceNumbersEnabled)
34 Q_PROPERTY(bool niceNumbersEnabled READ niceNumbersEnabled WRITE setNiceNumbersEnabled)
35 Q_PROPERTY(qreal min READ min WRITE setMin NOTIFY minChanged)
35 Q_PROPERTY(qreal min READ min WRITE setMin NOTIFY minChanged)
36 Q_PROPERTY(qreal max READ max WRITE setMax NOTIFY maxChanged)
36 Q_PROPERTY(qreal max READ max WRITE setMax NOTIFY maxChanged)
37 Q_PROPERTY(QString labelFormat READ labelFormat WRITE setLabelFormat)
37 Q_PROPERTY(QString labelFormat READ labelFormat WRITE setLabelFormat NOTIFY labelFormatChanged)
38
38
39 public:
39 public:
40 explicit QValueAxis(QObject *parent = 0);
40 explicit QValueAxis(QObject *parent = 0);
@@ -72,6 +72,7 Q_SIGNALS:
72 void maxChanged(qreal max);
72 void maxChanged(qreal max);
73 void rangeChanged(qreal min, qreal max);
73 void rangeChanged(qreal min, qreal max);
74 void tickCountChanged(int tickCount);
74 void tickCountChanged(int tickCount);
75 void labelFormatChanged(const QString &format);
75
76
76 private:
77 private:
77 Q_DECLARE_PRIVATE(QValueAxis)
78 Q_DECLARE_PRIVATE(QValueAxis)
General Comments 0
You need to be logged in to leave comments. Login now