i have run the follwing code (This is the sample code for SelectionListItem)
SelectionListItem {
id: item
title: "City"
subTitle: selectionDialog.selectedIndex >= 0[B][/B]
? selectionDialog.model.get(selectionDialog.selectedIndex).name
: "Please select"
onClicked: selectionDialog.open()
SelectionDialog {
id: selectionDialog
titleText: "Select one of the values"
selectedIndex: -1
model: ListModel {
ListElement { name: "Helsinki" }
ListElement { name: "Oulu" }
ListElement { name: "Rovaniemi" }
ListElement { name: "Tampere" }
ListElement { name: "Vaasa" }
}
}
}
SelectionListItem {
id: item
title: "City"
subTitle: selectionDialog.selectedIndex >= 0[B][/B]
? selectionDialog.model.get(selectionDialog.selectedIndex).name
: "Please select"
onClicked: selectionDialog.open()
SelectionDialog {
id: selectionDialog
titleText: "Select one of the values"
selectedIndex: -1
model: ListModel {
ListElement { name: "Helsinki" }
ListElement { name: "Oulu" }
ListElement { name: "Rovaniemi" }
ListElement { name: "Tampere" }
ListElement { name: "Vaasa" }
}
}
}
To copy to clipboard, switch view to plain text mode
But when i click on , the figure just fade in , no element was pop up in window ??
Somebody can help me fix this bug 
Thank u so much
Bookmarks