22 void createIconImage();
27 void updateOrSyncImage();
33 void updateOrSyncLabel();
35 void updateImplicitSize();
38 void watchChanges(QQuickItem *item);
39 void unwatchChanges(QQuickItem *item);
40 void setPositioningDirty();
42 bool isLeftToRight()
const;
44 void itemImplicitWidthChanged(QQuickItem *)
override;
45 void itemImplicitHeightChanged(QQuickItem *)
override;
46 void itemDestroyed(QQuickItem *item)
override;
48 QSize iconSize()
const;
50 bool mirrored =
false;
51 DQuickIconLabel::Display display = DQuickIconLabel::TextBesideIcon;
52 Qt::Alignment alignment = Qt::AlignCenter;
55 qreal leftPadding = 0;
56 qreal rightPadding = 0;
57 qreal bottomPadding = 0;
62 QQuickText *label =
nullptr;