DtkDeclarative
DTK Declarative module
|
Public 槽 | |
void | setName (const QString &name) |
DQuickIconImage::setName | |
void | setState (State state) |
DQuickIconImage::setState | |
void | setMode (Mode mode) |
DQuickIconImage::setMode | |
void | setColor (const QColor &color) |
DQuickIconImage::setColor | |
void | setFallbackSource (const QUrl &newSource) |
信号 | |
void | nameChanged () |
void | stateChanged () |
void | modeChanged () |
void | colorChanged () |
void | fallbackSourceChanged () |
Public 成员函数 | |
DQuickIconImage (QQuickItem *parent=nullptr) | |
void | componentComplete () override |
QString | name () const |
DQuickIconImage::name | |
State | state () const |
DQuickIconImage::state | |
Mode | mode () const |
DQuickIconImage::mode | |
QColor | color () const |
DQuickIconImage::color | |
const QUrl & | fallbackSource () const |
Protected 成员函数 | |
DQuickIconImage (DQuickIconImagePrivate &dd, QQuickItem *parent) | |
void | itemChange (ItemChange change, const ItemChangeData &value) override |
void | pixmapChange () override |
属性 | |
QString | name |
Mode | mode |
State | state |
QColor | color |
QUrl | fallbackSource |
QColor Dtk::Quick::DQuickIconImage::color | ( | ) | const |
DQuickIconImage::color
DQuickIconImage::Mode Dtk::Quick::DQuickIconImage::mode | ( | ) | const |
DQuickIconImage::mode
QString Dtk::Quick::DQuickIconImage::name | ( | ) | const |
DQuickIconImage::name
|
slot |
color | can set to show the icon used in QML Application. |
|
slot |
mode | can set to show the icon used in QML Application. |
|
slot |
name | can set to show the icon used in QML Application. |
|
slot |
state | can set to show the icon used in QML Application. |
DQuickIconImage::State Dtk::Quick::DQuickIconImage::state | ( | ) | const |
DQuickIconImage::state