摘要:
import QtQuick 2.0 Rectangle { width: 480 height: 300 color: "white" ListModel { id: theModel ListElement { number: 0 } ListElement { number: 1 } List 阅读全文
posted @ 2021-08-12 15:03
缘随风烬
阅读(490)
评论(0)
推荐(0)
摘要:
import QtQuick 2.0 Rectangle{ width: 240; height: 300; color: "white" GridView{ anchors.fill: parent anchors.margins: 20 clip: true // 设置clip属性为true,来 阅读全文
posted @ 2021-08-12 14:35
缘随风烬
阅读(896)
评论(0)
推荐(0)
摘要:
1、对于用户,ListView是一个滚动区域,支持惯性滚动。(代理项delegates) import QtQuick 2.0 Rectangle{ width: 80 height: 300 color: "white" ListView{ anchors.fill: parent anchors 阅读全文
posted @ 2021-08-12 09:47
缘随风烬
阅读(3212)
评论(0)
推荐(0)
浙公网安备 33010602011771号