@@ -130,6 +130,15 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
130 | */ |
|
130 | */ | |
131 |
|
131 | |||
132 | /*! |
|
132 | /*! | |
|
133 | \property QLegend::labelColor | |||
|
134 | The color of brush used to draw labels. | |||
|
135 | */ | |||
|
136 | /*! | |||
|
137 | \qmlproperty color QLegend::labelColor | |||
|
138 | The color of brush used to draw labels. | |||
|
139 | */ | |||
|
140 | ||||
|
141 | /*! | |||
133 | \fn void QLegend::backgroundVisibleChanged(bool) |
|
142 | \fn void QLegend::backgroundVisibleChanged(bool) | |
134 | The visibility of the legend background changed to \a visible. |
|
143 | The visibility of the legend background changed to \a visible. | |
135 | */ |
|
144 | */ | |
@@ -150,6 +159,16 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
150 | */ |
|
159 | */ | |
151 |
|
160 | |||
152 | /*! |
|
161 | /*! | |
|
162 | \fn void QLegend::labelBrushChanged(QBrush brush) | |||
|
163 | This signal is emitted when the brush used to draw labels has changed to \a brush. | |||
|
164 | */ | |||
|
165 | ||||
|
166 | /*! | |||
|
167 | \fn void QLegend::labelColorChanged(QColor color) | |||
|
168 | This signal is emitted when the color of brush used to draw labels has changed to \a color. | |||
|
169 | */ | |||
|
170 | ||||
|
171 | /*! | |||
153 | \fn qreal QLegend::minWidth() const |
|
172 | \fn qreal QLegend::minWidth() const | |
154 | Returns minimum width of the legend |
|
173 | Returns minimum width of the legend | |
155 | */ |
|
174 | */ | |
@@ -286,6 +305,9 QFont QLegend::font() const | |||||
286 | return d_ptr->m_font; |
|
305 | return d_ptr->m_font; | |
287 | } |
|
306 | } | |
288 |
|
307 | |||
|
308 | /*! | |||
|
309 | Set brush used to draw labels to \a brush. | |||
|
310 | */ | |||
289 | void QLegend::setLabelBrush(const QBrush &brush) |
|
311 | void QLegend::setLabelBrush(const QBrush &brush) | |
290 | { |
|
312 | { | |
291 | if (d_ptr->m_labelBrush != brush) { |
|
313 | if (d_ptr->m_labelBrush != brush) { | |
@@ -294,6 +316,9 void QLegend::setLabelBrush(const QBrush &brush) | |||||
294 | } |
|
316 | } | |
295 | } |
|
317 | } | |
296 |
|
318 | |||
|
319 | /*! | |||
|
320 | Brush used to draw labels. | |||
|
321 | */ | |||
297 | QBrush QLegend::labelBrush() const |
|
322 | QBrush QLegend::labelBrush() const | |
298 | { |
|
323 | { | |
299 | return d_ptr->m_labelBrush; |
|
324 | return d_ptr->m_labelBrush; |
@@ -237,7 +237,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
237 |
|
237 | |||
238 | /*! |
|
238 | /*! | |
239 | \fn void QPieSlice::labelBrushChanged() |
|
239 | \fn void QPieSlice::labelBrushChanged() | |
240 |
This signal is emitted when the label |
|
240 | This signal is emitted when the label brush of the slice has changed. | |
241 | \sa labelBrush |
|
241 | \sa labelBrush | |
242 | */ |
|
242 | */ | |
243 |
|
243 |
General Comments 0
You need to be logged in to leave comments.
Login now