|
|
|
@ -85,11 +85,25 @@ Window {
|
|
|
|
id: _icon
|
|
|
|
id: _icon
|
|
|
|
width: 48
|
|
|
|
width: 48
|
|
|
|
height: width
|
|
|
|
height: width
|
|
|
|
source: "image://icontheme/%1".arg(model.iconName)
|
|
|
|
source: model.iconName ? "image://icontheme/%1".arg(model.iconName)
|
|
|
|
|
|
|
|
: ""
|
|
|
|
sourceSize: Qt.size(width, height)
|
|
|
|
sourceSize: Qt.size(width, height)
|
|
|
|
Layout.alignment: Qt.AlignVCenter
|
|
|
|
Layout.alignment: Qt.AlignVCenter
|
|
|
|
antialiasing: true
|
|
|
|
antialiasing: true
|
|
|
|
smooth: true
|
|
|
|
smooth: true
|
|
|
|
|
|
|
|
visible: status === Image.Ready
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Image {
|
|
|
|
|
|
|
|
id: _defaultIcon
|
|
|
|
|
|
|
|
width: 48
|
|
|
|
|
|
|
|
height: width
|
|
|
|
|
|
|
|
source: "image://icontheme/preferences-desktop-notification"
|
|
|
|
|
|
|
|
sourceSize: Qt.size(width, height)
|
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignVCenter
|
|
|
|
|
|
|
|
antialiasing: true
|
|
|
|
|
|
|
|
smooth: true
|
|
|
|
|
|
|
|
visible: !_icon.visible
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
ColumnLayout {
|
|
|
|
|