Qml一些技巧

1、从ListView中获取当前选中项
myList.currentItem.children[0].text 可以获取ListView的选择项的一个个元素。注意children的使用。

原文地址:https://www.cnblogs.com/xianqingzh/p/4332615.html