25 Q_PROPERTY(QString name READ name WRITE setName RESET resetName FINAL)
26 Q_PROPERTY(
int width READ width WRITE setWidth RESET resetWidth FINAL)
27 Q_PROPERTY(
int height READ height WRITE setHeight RESET resetHeight FINAL)
28 Q_PROPERTY(DTK_QUICK_NAMESPACE::
DQMLGlobalObject::ControlState mode READ mode WRITE setMode RESET resetMode FINAL)
29 Q_PROPERTY(DTK_GUI_NAMESPACE::DGuiApplicationHelper::ColorType theme READ theme WRITE setTheme RESET resetTheme FINAL)
30 Q_PROPERTY(DTK_GUI_NAMESPACE::DDciIconPalette palette READ palette WRITE setPalette RESET resetTheme FINAL)
32 Q_PROPERTY(QUrl source READ source WRITE setSource RESET resetSource FINAL)
33 Q_PROPERTY(
bool fallbackToQIcon READ fallbackToQIcon WRITE setFallbackToQIcon RESET resetFallbackToQIcon)
34#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
50 void setName(
const QString &name);
54 void setWidth(
int width);
58 void setHeight(
int height);
61 DQMLGlobalObject::ControlState mode()
const;
62 void setMode(DQMLGlobalObject::ControlState mode);
65 DGuiApplicationHelper::ColorType theme()
const;
66 void setTheme(DTK_GUI_NAMESPACE::DGuiApplicationHelper::ColorType theme);
69 DDciIconPalette palette()
const;
70 void setPalette(
const DDciIconPalette &palette);
73 const QUrl &source()
const;
74 void setSource(
const QUrl &newSource);
77 bool fallbackToQIcon()
const;
78 void setFallbackToQIcon(
bool newFallbackToQIcon);
79 void resetFallbackToQIcon();
82 QSharedDataPointer<DQuickDciIconPrivate> d;