181 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged FINAL)
182 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged FINAL)
183 Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged FINAL)
184 Q_PROPERTY(qreal verticalOffset READ verticalOffset WRITE setVerticalOffset NOTIFY verticalOffsetChanged FINAL)
185 Q_PROPERTY(qreal horizontalOffset READ horizontalOffset WRITE setHorizontalOffset NOTIFY horizontalOffsetChanged FINAL)
186 Q_PROPERTY(qreal blur READ blur WRITE setBlur NOTIFY blurChanged FINAL)
187 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged FINAL)
188 Q_PROPERTY(QQmlComponent *delegate READ delegate WRITE setDelegate NOTIFY delegateChanged FINAL)
189 QML_UNCREATABLE(
"This component can only be instantiated by StyleKit")
190 QML_NAMED_ELEMENT(ShadowStyle)
193 QQStyleKitShadowProperties(QQSK::PropertyGroup group, QQStyleKitControlProperties *parent =
nullptr);
195 template <
typename... CHANGED_SIGNALS>
196 void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals)
const;
198 QColor color()
const;
199 void setColor(QColor color);
201 qreal opacity()
const;
202 void setOpacity(qreal opacity);
205 void setScale(qreal scale);
207 qreal verticalOffset()
const;
208 void setVerticalOffset(qreal verticalOffset);
210 qreal horizontalOffset()
const;
211 void setHorizontalOffset(qreal horizontalOffset);
214 void setBlur(qreal blur);
216 bool visible()
const;
217 void setVisible(
bool visible);
219 QQmlComponent *delegate()
const;
220 void setDelegate(QQmlComponent *delegate);
224 void opacityChanged();
226 void verticalOffsetChanged();
227 void horizontalOffsetChanged();
229 void visibleChanged();
230 void delegateChanged();
238 Q_PROPERTY(qreal implicitWidth READ implicitWidth WRITE setImplicitWidth NOTIFY implicitWidthChanged FINAL)
239 Q_PROPERTY(qreal implicitHeight READ implicitHeight WRITE setImplicitHeight NOTIFY implicitHeightChanged FINAL)
240 Q_PROPERTY(qreal minimumWidth READ minimumWidth WRITE setMinimumWidth NOTIFY minimumWidthChanged FINAL)
241 Q_PROPERTY(qreal margins READ margins WRITE setMargins NOTIFY marginsChanged FINAL)
242 Q_PROPERTY(qreal leftMargin READ leftMargin WRITE setLeftMargin NOTIFY leftMarginChanged FINAL)
243 Q_PROPERTY(qreal rightMargin READ rightMargin WRITE setRightMargin NOTIFY rightMarginChanged FINAL)
244 Q_PROPERTY(qreal topMargin READ topMargin WRITE setTopMargin NOTIFY topMarginChanged FINAL)
245 Q_PROPERTY(qreal bottomMargin READ bottomMargin WRITE setBottomMargin NOTIFY bottomMarginChanged FINAL)
246 Q_PROPERTY(Qt::Alignment alignment READ alignment WRITE setAlignment NOTIFY alignmentChanged FINAL)
247 Q_PROPERTY(qreal radius READ radius WRITE setRadius NOTIFY radiusChanged FINAL)
248 Q_PROPERTY(qreal topLeftRadius READ topLeftRadius WRITE setTopLeftRadius NOTIFY topLeftRadiusChanged FINAL)
249 Q_PROPERTY(qreal topRightRadius READ topRightRadius WRITE setTopRightRadius NOTIFY topRightRadiusChanged FINAL)
250 Q_PROPERTY(qreal bottomLeftRadius READ bottomLeftRadius WRITE setBottomLeftRadius NOTIFY bottomLeftRadiusChanged FINAL)
251 Q_PROPERTY(qreal bottomRightRadius READ bottomRightRadius WRITE setBottomRightRadius NOTIFY bottomRightRadiusChanged FINAL)
252 Q_PROPERTY(qreal scale READ scale WRITE setScale NOTIFY scaleChanged FINAL)
253 Q_PROPERTY(qreal rotation READ rotation WRITE setRotation NOTIFY rotationChanged FINAL)
254 Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged FINAL)
255 Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged FINAL)
256 Q_PROPERTY(
bool visible READ visible WRITE setVisible NOTIFY visibleChanged FINAL)
257 Q_PROPERTY(
bool clip READ clip WRITE setClip NOTIFY clipChanged FINAL)
258 Q_PROPERTY(QQuickGradient *gradient READ gradient WRITE setGradient NOTIFY gradientChanged FINAL)
259 Q_PROPERTY(QQStyleKitImageProperties *image READ image NOTIFY imageChanged FINAL)
260 Q_PROPERTY(QQStyleKitBorderProperties *border READ border NOTIFY borderChanged FINAL)
261 Q_PROPERTY(QQStyleKitShadowProperties *shadow READ shadow NOTIFY shadowChanged FINAL)
262 Q_PROPERTY(QObject *data READ data WRITE setData NOTIFY dataChanged FINAL)
263 Q_PROPERTY(QQmlComponent *delegate READ delegate WRITE setDelegate NOTIFY delegateChanged FINAL)
264 QML_UNCREATABLE(
"This component can only be instantiated by StyleKit")
265 QML_NAMED_ELEMENT(DelegateStyle)
268 QQStyleKitDelegateProperties(QQSK::PropertyGroup group, QQStyleKitControlProperties *parent =
nullptr);
270 template <
typename... CHANGED_SIGNALS>
271 void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals)
const;
273 qreal radius()
const;
274 void setRadius(qreal radius);
276 qreal topLeftRadius()
const;
277 void setTopLeftRadius(qreal radius);
279 qreal topRightRadius()
const;
280 void setTopRightRadius(qreal radius);
282 qreal bottomLeftRadius()
const;
283 void setBottomLeftRadius(qreal radius);
285 qreal bottomRightRadius()
const;
286 void setBottomRightRadius(qreal radius);
289 void setScale(qreal scale);
291 qreal rotation()
const;
292 void setRotation(qreal rotation);
294 qreal implicitWidth()
const;
295 void setImplicitWidth(qreal width);
297 qreal implicitHeight()
const;
298 void setImplicitHeight(qreal height);
300 qreal minimumWidth()
const;
301 void setMinimumWidth(qreal width);
303 qreal margins()
const;
304 void setMargins(qreal margins);
306 qreal leftMargin()
const;
307 void setLeftMargin(qreal margin);
309 qreal rightMargin()
const;
310 void setRightMargin(qreal margin);
312 qreal topMargin()
const;
313 void setTopMargin(qreal margin);
315 qreal bottomMargin()
const;
316 void setBottomMargin(qreal margin);
318 Qt::Alignment alignment()
const;
319 void setAlignment(Qt::Alignment alignment);
321 qreal opacity()
const;
322 void setOpacity(qreal opacity);
324 QColor color()
const;
325 void setColor(
const QColor &color);
327 bool visible()
const;
328 void setVisible(
bool visible);
331 void setClip(
bool clip);
333 QQuickGradient *gradient()
const;
334 void setGradient(QQuickGradient *gradient);
336 QObject *data()
const;
337 void setData(QObject *data);
339 QQmlComponent *delegate()
const;
340 void setDelegate(QQmlComponent *delegate);
342 QQStyleKitImageProperties *image()
const;
343 QQStyleKitBorderProperties *border()
const;
344 QQStyleKitShadowProperties *shadow()
const;
348 void radiusChanged();
349 void topLeftRadiusChanged();
350 void topRightRadiusChanged();
351 void bottomLeftRadiusChanged();
352 void bottomRightRadiusChanged();
354 void rotationChanged();
355 void visibleChanged();
357 void borderChanged();
358 void shadowChanged();
360 void gradientChanged();
361 void colorImageChanged();
362 void implicitWidthChanged();
363 void implicitHeightChanged();
364 void minimumWidthChanged();
365 void marginsChanged();
366 void leftMarginChanged();
367 void rightMarginChanged();
368 void topMarginChanged();
369 void bottomMarginChanged();
370 void alignmentChanged();
371 void opacityChanged();
373 void delegateChanged();
376 QPointer<QQuickGradient> m_gradient;
377 QQStyleKitBorderProperties *m_border =
nullptr;
378 QQStyleKitShadowProperties *m_shadow =
nullptr;
379 QQStyleKitImageProperties *m_image =
nullptr;
void emitGlobally(QQStyleKitExtendableControlType controlType, CHANGED_SIGNALS... changedSignals) const