Kirigami2
icon.h
73 * @note This will only be loaded if source is unavailable (e.g. it doesn't exist, or network issues have prevented loading).
88 Q_PROPERTY(QString placeholder READ placeholder WRITE setPlaceholder NOTIFY placeholderChanged FINAL)
143 * Note that image loading will not be initiated until the item is shown, so if the Icon is not visible,
173 Q_PROPERTY(bool roundToIconSize READ roundToIconSize WRITE setRoundToIconSize NOTIFY roundToIconSizeChanged FINAL)
250 void itemChange(QQuickItem::ItemChange change, const QQuickItem::ItemChangeData &value) override;
QString placeholder
The name of an icon from the icon theme to show while the icon set in source is being loaded.
Definition icon.h:88
bool selected
Whether this icon will use the QIcon::Selected mode when drawing the icon, resulting in a graphical e...
Definition icon.h:122
Icon::Status status
Whether the icon is correctly loaded, is asynchronously loading or there was an error.
Definition icon.h:147
bool roundToIconSize
If set, icon will round the painted size to defined icon sizes.
Definition icon.h:173
QString fallback
The name of a fallback icon to load from the icon theme when the source cannot be found.
Definition icon.h:75
bool active
Whether this icon will use the QIcon::Active mode when drawing the icon, resulting in a graphical eff...
Definition icon.h:103
This class is the base for color management in Kirigami, different platforms can reimplement this cla...
Definition platformtheme.h:34
A set of values to define semantically sizes and durations.
Definition units.h:80
Mode
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
ItemChange
opacity
parent
QSizeF size() const const
visible
transparent
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.