KDeclarative
19 Q_PROPERTY(
bool smooth READ smooth WRITE setSmooth NOTIFY smoothChanged)
20 Q_PROPERTY(
int implicitWidth READ implicitWidth CONSTANT)
21 Q_PROPERTY(
int implicitHeight READ implicitHeight CONSTANT)
22 Q_PROPERTY(State state READ state WRITE setState NOTIFY stateChanged)
23 Q_PROPERTY(
bool enabled READ enabled WRITE setEnabled NOTIFY stateChanged)
35 explicit QIconItem(
QQuickItem *parent=
nullptr);
36 ~QIconItem() override;
41 QIconItem::State state() const;
42 void setState(State state);
44 int implicitWidth() const;
45 int implicitHeight() const;
47 void setSmooth(const
bool smooth);
50 void setEnabled(
bool enabled = true);
53 QSGNode* updatePaintNode(
QSGNode* node, UpdatePaintNodeData* data) override;
58 void stateChanged(State state);
61 void geometryChanged(const
QRectF &newGeometry, const
QRectF &oldGeometry) override;
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 22:44:28 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.