k
Size: a a a
k
k
DS
AS
ПК
ComboBox {
model: someView.model
textRole: "name"
valueRole: "id"
}
ПК
ПК
DS
ПК
ПК
ComboBox {
model: someView.model
textRole: "name"
valueRole: "id"
}
ПК
count
и currentIndex
ПК
VF
ПК
ПК
ApplicationWindow {
id: _root
visible: true
//visibility: Window.Maximized
width: 940
height: 880
property var someModel: ListModel{}
ComboBox {
id: _portfolioInput
implicitWidth: 200
model: someModel
textRole: "name"
//valueRole: "id"
}
Component.onCompleted: {
someModel.append({ name: "1" })
}
}
ПК
ApplicationWindow {
id: _root
visible: true
//visibility: Window.Maximized
width: 940
height: 880
property var someModel: ListModel{ ListElement{ name: "1" } }
ComboBox {
id: _portfolioInput
implicitWidth: 200
model: someModel
textRole: "name"
//valueRole: "id"
}
Component.onCompleted: {
//someModel.append({ name: "1" })
}
}
ПК
AB
AS
IZ