##// END OF EJS Templates
Minor fixes to documentation...
Titta Heikkala -
r2686:621541cc9f04
parent child
Show More
@@ -96,7 +96,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
96 When setting this property the max is adjusted if necessary, to ensure that the range remains valid.
96 When setting this property the max is adjusted if necessary, to ensure that the range remains valid.
97 */
97 */
98 /*!
98 /*!
99 \qmlproperty real DateTimeAxis::min
99 \qmlproperty datetime DateTimeAxis::min
100 Defines the minimum value on the axis.
100 Defines the minimum value on the axis.
101 When setting this property the max is adjusted if necessary, to ensure that the range remains valid.
101 When setting this property the max is adjusted if necessary, to ensure that the range remains valid.
102 */
102 */
@@ -107,7 +107,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
107 When setting this property the min is adjusted if necessary, to ensure that the range remains valid.
107 When setting this property the min is adjusted if necessary, to ensure that the range remains valid.
108 */
108 */
109 /*!
109 /*!
110 \qmlproperty real DateTimeAxis::max
110 \qmlproperty datetime DateTimeAxis::max
111 Defines the maximum value on the axis.
111 Defines the maximum value on the axis.
112 When setting this property the min is adjusted if necessary, to ensure that the range remains valid.
112 When setting this property the min is adjusted if necessary, to ensure that the range remains valid.
113 */
113 */
@@ -117,7 +117,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
117 Axis emits signal when \a min of axis has changed.
117 Axis emits signal when \a min of axis has changed.
118 */
118 */
119 /*!
119 /*!
120 \qmlsignal DateTimeAxis::onMinChanged(QDateTime min)
120 \qmlsignal DateTimeAxis::onMinChanged(datetime min)
121 Axis emits signal when \a min of axis has changed.
121 Axis emits signal when \a min of axis has changed.
122 */
122 */
123
123
@@ -126,7 +126,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
126 Axis emits signal when \a max of axis has changed.
126 Axis emits signal when \a max of axis has changed.
127 */
127 */
128 /*!
128 /*!
129 \qmlsignal DateTimeAxis::onMaxChanged(QDateTime max)
129 \qmlsignal DateTimeAxis::onMaxChanged(datetime max)
130 Axis emits signal when \a max of axis has changed.
130 Axis emits signal when \a max of axis has changed.
131 */
131 */
132
132
@@ -192,7 +192,7 QDateTimeAxis::QDateTimeAxis(QDateTimeAxisPrivate &d, QObject *parent) : QAbstra
192 }
192 }
193
193
194 /*!
194 /*!
195 Destroys the object
195 Destroys the object.
196 */
196 */
197 QDateTimeAxis::~QDateTimeAxis()
197 QDateTimeAxis::~QDateTimeAxis()
198 {
198 {
@@ -269,7 +269,7 void QDateTimeAxis::setTickCount(int count)
269
269
270 /*!
270 /*!
271 \fn int QDateTimeAxis::tickCount() const
271 \fn int QDateTimeAxis::tickCount() const
272 Return number of ticks on the axis
272 Return number of ticks on the axis.
273 */
273 */
274 int QDateTimeAxis::tickCount() const
274 int QDateTimeAxis::tickCount() const
275 {
275 {
@@ -278,7 +278,7 int QDateTimeAxis::tickCount() const
278 }
278 }
279
279
280 /*!
280 /*!
281 Returns the type of the axis
281 Returns the type of the axis.
282 */
282 */
283 QAbstractAxis::AxisType QDateTimeAxis::type() const
283 QAbstractAxis::AxisType QDateTimeAxis::type() const
284 {
284 {
@@ -112,11 +112,11 QTCOMMERCIALCHART_BEGIN_NAMESPACE
112
112
113 /*!
113 /*!
114 \property QLegend::font
114 \property QLegend::font
115 The font of markers used by legend
115 The font of markers used by legend.
116 */
116 */
117 /*!
117 /*!
118 \qmlproperty Font Legend::font
118 \qmlproperty Font Legend::font
119 The font of markers used by legend
119 The font of markers used by legend.
120 */
120 */
121
121
122 /*!
122 /*!
@@ -124,7 +124,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
124 The color of brush used to draw labels.
124 The color of brush used to draw labels.
125 */
125 */
126 /*!
126 /*!
127 \qmlproperty color QLegend::labelColor
127 \qmlproperty color Legend::labelColor
128 The color of brush used to draw labels.
128 The color of brush used to draw labels.
129 */
129 */
130
130
@@ -162,6 +162,11 QTCOMMERCIALCHART_BEGIN_NAMESPACE
162 This signal is emitted when the color of brush used to draw labels has changed to \a color.
162 This signal is emitted when the color of brush used to draw labels has changed to \a color.
163 */
163 */
164
164
165 /*!
166 \fn void QLegend::reverseMarkersChanged(bool)
167 The use of reverse order for the markers in legend is changed to \a reverseMarkers.
168 */
169
165 QLegend::QLegend(QChart *chart): QGraphicsWidget(chart),
170 QLegend::QLegend(QChart *chart): QGraphicsWidget(chart),
166 d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this))
171 d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this))
167 {
172 {
@@ -245,7 +250,7 void QLegend::setPen(const QPen &pen)
245 }
250 }
246
251
247 /*!
252 /*!
248 Returns the pen used by legend
253 Returns the pen used by legend.
249 */
254 */
250
255
251 QPen QLegend::pen() const
256 QPen QLegend::pen() const
General Comments 0
You need to be logged in to leave comments. Login now