このqmlコードでは:
Component {
id: userdelegate
PictureBox {
...
icon: model.icon
icon.heigth: 50
}
}
PictureBoxPictureBox.qmlこの方法でシステムファイルから取得されます。
...
Image {
id: icon
...
width: parent.width; height: 150
}
qml を実行すると、タイトルにエラーが表示されます。を使用する必要がありますPictureBox.qmlが、変更できません。PictureBox.qmlアイコンのデフォルトの高さの値を上書きするにはどうすればよいですか?