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(
![]()
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(
![]()
Try This Code For Get Text Of Selected Item
Qt Code:
ui->listWidget->selectedItems().at(0)->text()To copy to clipboard, switch view to plain text mode
(listWidget) is Name Of Your List View
Bookmarks