PDA

View Full Version : How to get value of currentItem in a listview ??



duc_bkav
6th December 2011, 10:16
Hi everybody, please tell me the way to get the value of currentItem in a listview in QML ???
I'm very thank for your help :((
:(

METEOR7
6th December 2011, 15:31
Try This Code For Get Text Of Selected Item


ui->listWidget->selectedItems().at(0)->text()

(listWidget) is Name Of Your List View