##// END OF EJS Templates
Fixed several documentation issues
Tero Ahola -
r2265:b004c42eda51
parent child
Show More
@@ -174,6 +174,42 QTCOMMERCIALCHART_BEGIN_NAMESPACE
174 */
174 */
175
175
176 /*!
176 /*!
177 \property QAbstractAxis::titleVisible
178 The visibility of the axis title. By default the value is true.
179 */
180 /*!
181 \qmlproperty bool AbstractAxis::titleVisible
182 The visibility of the axis title. By default the value is true.
183 */
184
185 /*!
186 \property QAbstractAxis::titleFont
187 The font of the title of the axis.
188 */
189 /*!
190 \qmlproperty Font AbstractAxis::title
191 The font of the title of the axis.
192 */
193
194 /*!
195 \property QAbstractAxis::title
196 The title of the axis. Empty by default.
197 */
198 /*!
199 \qmlproperty string AbstractAxis::title
200 The title of the axis. Empty string by default.
201 */
202
203 /*!
204 \property QAbstractAxis::alignment
205 The alignment of the axis. Either Qt::AlignLeft or Qt::AlignBottom.
206 */
207 /*!
208 \qmlproperty alignment AbstractAxis::alignment
209 The alignment of the axis. Either Qt.AlignLeft or Qt.AlignBottom.
210 */
211
212 /*!
177 \fn void QAbstractAxis::visibleChanged(bool visible)
213 \fn void QAbstractAxis::visibleChanged(bool visible)
178 Visibility of the axis has changed to \a visible.
214 Visibility of the axis has changed to \a visible.
179 */
215 */
@@ -41,7 +41,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
41 */
41 */
42
42
43 /*!
43 /*!
44 Constructor
44 \internal
45 */
45 */
46 QAreaLegendMarker::QAreaLegendMarker(QAreaSeries *series, QLegend *legend, QObject *parent) :
46 QAreaLegendMarker::QAreaLegendMarker(QAreaSeries *series, QLegend *legend, QObject *parent) :
47 QLegendMarker(*new QAreaLegendMarkerPrivate(this,series,legend), parent)
47 QLegendMarker(*new QAreaLegendMarkerPrivate(this,series,legend), parent)
@@ -41,6 +41,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
41 */
41 */
42
42
43 /*!
43 /*!
44 \internal
44 Constructor
45 Constructor
45 */
46 */
46 QBarLegendMarker::QBarLegendMarker(QAbstractBarSeries *series, QBarSet *barset, QLegend *legend, QObject *parent) :
47 QBarLegendMarker::QBarLegendMarker(QAbstractBarSeries *series, QBarSet *barset, QLegend *legend, QObject *parent) :
@@ -156,10 +156,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE
156 This signal is emitted when the color of brush used to draw labels has changed to \a color.
156 This signal is emitted when the color of brush used to draw labels has changed to \a color.
157 */
157 */
158
158
159 /*!
160 Constructs the legend object and sets the parent to \a parent
161 */
162
163 QLegend::QLegend(QChart *chart): QGraphicsWidget(chart),
159 QLegend::QLegend(QChart *chart): QGraphicsWidget(chart),
164 d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this))
160 d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this))
165 {
161 {
@@ -78,6 +78,36 QTCOMMERCIALCHART_BEGIN_NAMESPACE
78 */
78 */
79
79
80 /*!
80 /*!
81 \fn void QLegendMarker::labelChanged()
82 This signal is emitted when the label of the legend marker has changed.
83 */
84
85 /*!
86 \fn void QLegendMarker::labelBrushChanged()
87 This signal is emitted when the label brush of the legend marker has changed.
88 */
89
90 /*!
91 \fn void QLegendMarker::fontChanged()
92 This signal is emitted when the (label) font of the legend marker has changed.
93 */
94
95 /*!
96 \fn void QLegendMarker::penChanged()
97 This signal is emitted when the pen of the legend marker has changed.
98 */
99
100 /*!
101 \fn void QLegendMarker::brushChanged()
102 This signal is emitted when the brush of the legend marker has changed.
103 */
104
105 /*!
106 \fn void QLegendMarker::visibleChanged()
107 This signal is emitted when the visibility of the legend marker has changed.
108 */
109
110 /*!
81 \property QLegendMarker::label
111 \property QLegendMarker::label
82 Label of the marker. This is the text that is shown in legend.
112 Label of the marker. This is the text that is shown in legend.
83 */
113 */
@@ -109,7 +139,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
109
139
110
140
111 /*!
141 /*!
112 Constructor of marker
142 \internal
113 */
143 */
114 QLegendMarker::QLegendMarker(QLegendMarkerPrivate &d, QObject *parent) :
144 QLegendMarker::QLegendMarker(QLegendMarkerPrivate &d, QObject *parent) :
115 QObject(parent),
145 QObject(parent),
@@ -41,7 +41,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
41 */
41 */
42
42
43 /*!
43 /*!
44 Constructor
44 \internal
45 */
45 */
46 QPieLegendMarker::QPieLegendMarker(QPieSeries *series, QPieSlice *slice, QLegend *legend, QObject *parent) :
46 QPieLegendMarker::QPieLegendMarker(QPieSeries *series, QPieSlice *slice, QLegend *legend, QObject *parent) :
47 QLegendMarker(*new QPieLegendMarkerPrivate(this,series,slice,legend), parent)
47 QLegendMarker(*new QPieLegendMarkerPrivate(this,series,slice,legend), parent)
@@ -41,7 +41,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
41 */
41 */
42
42
43 /*!
43 /*!
44 Constructor
44 \internal
45 */
45 */
46 QXYLegendMarker::QXYLegendMarker(QXYSeries *series, QLegend *legend, QObject *parent) :
46 QXYLegendMarker::QXYLegendMarker(QXYSeries *series, QLegend *legend, QObject *parent) :
47 QLegendMarker(*new QXYLegendMarkerPrivate(this,series,legend), parent)
47 QLegendMarker(*new QXYLegendMarkerPrivate(this,series,legend), parent)
General Comments 0
You need to be logged in to leave comments. Login now