Qml一些技巧时间:2023-03-09 16:03:15 1、从ListView中获取当前选中项 myList.currentItem.children[0].text 可以获取ListView的选择项的一个个元素。注意children的使用。