174 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged FINAL)
175 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged FINAL)
176 Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged FINAL)
177 Q_PROPERTY(qreal verticalOffset READ verticalOffset WRITE setVerticalOffset NOTIFY verticalOffsetChanged FINAL)
178 Q_PROPERTY(qreal horizontalOffset READ horizontalOffset WRITE setHorizontalOffset NOTIFY horizontalOffsetChanged FINAL)
179 Q_PROPERTY(qreal blur READ blur WRITE setBlur NOTIFY blurChanged FINAL)
180 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged FINAL)
181 Q_PROPERTY(QQmlComponent *delegate READ delegate WRITE setDelegate NOTIFY delegateChanged FINAL)
182 QML_UNCREATABLE(
"This component can only be instantiated by StyleKit")
183 QML_NAMED_ELEMENT(StyleKitShadowProperties)
186 QQStyleKitShadowProperties(QQSK::PropertyGroup group, QQStyleKitControlProperties *parent =
nullptr);
188 template <
typename... CHANGED_SIGNALS>
189 void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals)
const;
191 QColor color()
const;
192 void setColor(QColor color);
194 qreal opacity()
const;
195 void setOpacity(qreal opacity);
198 void setScale(qreal scale);
200 qreal verticalOffset()
const;
201 void setVerticalOffset(qreal verticalOffset);
203 qreal horizontalOffset()
const;
204 void setHorizontalOffset(qreal horizontalOffset);
207 void setBlur(qreal blur);
209 bool visible()
const;
210 void setVisible(
bool visible);
212 QQmlComponent *delegate()
const;
213 void setDelegate(QQmlComponent *delegate);
217 void opacityChanged();
219 void verticalOffsetChanged();
220 void horizontalOffsetChanged();
222 void visibleChanged();
223 void delegateChanged();
231 Q_PROPERTY(qreal implicitWidth READ implicitWidth WRITE setImplicitWidth NOTIFY implicitWidthChanged FINAL)
232 Q_PROPERTY(qreal implicitHeight READ implicitHeight WRITE setImplicitHeight NOTIFY implicitHeightChanged FINAL)
233 Q_PROPERTY(qreal minimumWidth READ minimumWidth WRITE setMinimumWidth NOTIFY minimumWidthChanged FINAL)
234 Q_PROPERTY(qreal margins READ margins WRITE setMargins NOTIFY marginsChanged FINAL)
235 Q_PROPERTY(qreal leftMargin READ leftMargin WRITE setLeftMargin NOTIFY leftMarginChanged FINAL)
236 Q_PROPERTY(qreal rightMargin READ rightMargin WRITE setRightMargin NOTIFY rightMarginChanged FINAL)
237 Q_PROPERTY(qreal topMargin READ topMargin WRITE setTopMargin NOTIFY topMarginChanged FINAL)
238 Q_PROPERTY(qreal bottomMargin READ bottomMargin WRITE setBottomMargin NOTIFY bottomMarginChanged FINAL)
239 Q_PROPERTY(Qt::Alignment alignment READ alignment WRITE setAlignment NOTIFY alignmentChanged FINAL)
240 Q_PROPERTY(qreal radius READ radius WRITE setRadius NOTIFY radiusChanged FINAL)
241 Q_PROPERTY(qreal topLeftRadius READ topLeftRadius WRITE setTopLeftRadius NOTIFY topLeftRadiusChanged FINAL)
242 Q_PROPERTY(qreal topRightRadius READ topRightRadius WRITE setTopRightRadius NOTIFY topRightRadiusChanged FINAL)
243 Q_PROPERTY(qreal bottomLeftRadius READ bottomLeftRadius WRITE setBottomLeftRadius NOTIFY bottomLeftRadiusChanged FINAL)
244 Q_PROPERTY(qreal bottomRightRadius READ bottomRightRadius WRITE setBottomRightRadius NOTIFY bottomRightRadiusChanged FINAL)
245 Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged FINAL)
246 Q_PROPERTY(qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged FINAL)
247 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged FINAL)
248 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged FINAL)
249 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged FINAL)
250 Q_PROPERTY(
bool clip READ clip WRITE setClip NOTIFY clipChanged FINAL)
251 Q_PROPERTY(QQuickGradient *gradient READ gradient WRITE setGradient NOTIFY gradientChanged FINAL)
252 Q_PROPERTY(QQStyleKitImageProperties *image READ image NOTIFY imageChanged FINAL)
253 Q_PROPERTY(QQStyleKitBorderProperties *border READ border NOTIFY borderChanged FINAL)
254 Q_PROPERTY(QQStyleKitShadowProperties *shadow READ shadow NOTIFY shadowChanged FINAL)
255 Q_PROPERTY(QObject *data READ data WRITE setData NOTIFY dataChanged FINAL)
256 Q_PROPERTY(QQmlComponent *delegate READ delegate WRITE setDelegate NOTIFY delegateChanged FINAL)
257 QML_UNCREATABLE(
"This component can only be instantiated by StyleKit")
258 QML_NAMED_ELEMENT(StyleKitDelegateProperties)
261 QQStyleKitDelegateProperties(QQSK::PropertyGroup group, QQStyleKitControlProperties *parent =
nullptr);
263 template <
typename... CHANGED_SIGNALS>
264 void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals)
const;
266 qreal radius()
const;
267 void setRadius(qreal radius);
269 qreal topLeftRadius()
const;
270 void setTopLeftRadius(qreal radius);
272 qreal topRightRadius()
const;
273 void setTopRightRadius(qreal radius);
275 qreal bottomLeftRadius()
const;
276 void setBottomLeftRadius(qreal radius);
278 qreal bottomRightRadius()
const;
279 void setBottomRightRadius(qreal radius);
282 void setScale(qreal scale);
284 qreal rotation()
const;
285 void setRotation(qreal rotation);
287 qreal implicitWidth()
const;
288 void setImplicitWidth(qreal width);
290 qreal implicitHeight()
const;
291 void setImplicitHeight(qreal height);
293 qreal minimumWidth()
const;
294 void setMinimumWidth(qreal width);
296 qreal margins()
const;
297 void setMargins(qreal margins);
299 qreal leftMargin()
const;
300 void setLeftMargin(qreal margin);
302 qreal rightMargin()
const;
303 void setRightMargin(qreal margin);
305 qreal topMargin()
const;
306 void setTopMargin(qreal margin);
308 qreal bottomMargin()
const;
309 void setBottomMargin(qreal margin);
311 Qt::Alignment alignment()
const;
312 void setAlignment(Qt::Alignment alignment);
314 qreal opacity()
const;
315 void setOpacity(qreal opacity);
317 QColor color()
const;
318 void setColor(
const QColor &color);
320 bool visible()
const;
321 void setVisible(
bool visible);
324 void setClip(
bool clip);
326 QQuickGradient *gradient()
const;
327 void setGradient(QQuickGradient *gradient);
329 QObject *data()
const;
330 void setData(QObject *data);
332 QQmlComponent *delegate()
const;
333 void setDelegate(QQmlComponent *delegate);
335 QQStyleKitImageProperties *image()
const;
336 QQStyleKitBorderProperties *border()
const;
337 QQStyleKitShadowProperties *shadow()
const;
341 void radiusChanged();
342 void topLeftRadiusChanged();
343 void topRightRadiusChanged();
344 void bottomLeftRadiusChanged();
345 void bottomRightRadiusChanged();
347 void rotationChanged();
348 void visibleChanged();
350 void borderChanged();
351 void shadowChanged();
353 void gradientChanged();
354 void colorImageChanged();
355 void implicitWidthChanged();
356 void implicitHeightChanged();
357 void minimumWidthChanged();
358 void marginsChanged();
359 void leftMarginChanged();
360 void rightMarginChanged();
361 void topMarginChanged();
362 void bottomMarginChanged();
363 void alignmentChanged();
364 void opacityChanged();
366 void delegateChanged();
369 QPointer<QQuickGradient> m_gradient;
370 QQStyleKitBorderProperties *m_border =
nullptr;
371 QQStyleKitShadowProperties *m_shadow =
nullptr;
372 QQStyleKitImageProperties *m_image =
nullptr;
void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals) const