19 Q_PROPERTY(
int status READ status() WRITE setStatus NOTIFY statusChanged )
20 Q_PROPERTY(
int graphicRole READ graphicRole
21 WRITE setGraphicRole RESET resetGraphicRole NOTIFY graphicRoleChanged )
26 QSK_SUBCONTROLS( Graphic )
31 Q_INVOKABLE QUrl source(
int status )
const;
32 Q_INVOKABLE
void setSource(
int status,
const QUrl& url );
33 void setSource(
int status,
const QString& );
36 void setGraphic(
int status,
const QskGraphic& );
38 void setGraphicRole(
int role );
39 void resetGraphicRole();
40 int graphicRole()
const;
43 virtual QskGraphic loadSource(
const QUrl& )
const;
46 bool hasStatus(
int status )
const;
48 QList< int > statusList()
const;
51 void setStatus(
int status );
54 void statusChanged(
int status );
55 void graphicRoleChanged(
int );
59 void updateLayout()
override;
63 std::unique_ptr< PrivateData > m_data;