QML Listview 如何获取对应的Column 数据
import QtQuick 1.0Item { id: pyinlist width: 633; height: 62 Component{ id: contactDelegate Chinese_button{ width: 50; height: 50 content1: modelData; [color=#FF0000] content2: ListView.column.toString();//我想获取对于的Column 的数据 如何实现? [/color] } } Component{ id:hightlight Rectangle{color: "lightsteelblue"; radius: 5} } ListView{ x: 0 anchors.fill: parent y: 0 opacity: 1 anchors.bottomMargin: 0 anchors.leftMargin: 0 anchors.rightMargin: 0 anchors.topMargin: 0 model: m_pyin orientation : ListView.Horizontal; delegate: contactDelegate clip: true }}