摘要:
1、var uiRecord: [];//QML语法 2、删除并返回最后一个元素 uiRecord.pop(); 3、清空所有 uiRecord.splice(0,uiRecord.length); uiRecord = []; uiRecord.length = 0; 4、删除第一个元素并返回 u 阅读全文
posted @ 2020-08-07 14:47
朱小勇
阅读(157)
评论(0)
推荐(0)
摘要:
SwipeView { id: swipeView z:0; width: parent.width-listView.width; height: parent.height; anchors.left: listView.right; interactive: false;//禁止手拖动 cur 阅读全文
posted @ 2020-08-07 11:40
朱小勇
阅读(1857)
评论(0)
推荐(0)
摘要:
RadioButton { id:root2 checked: false property color checkedColor: "#E5F012" property int node_id: 2; onClicked: { if(root2.checked) { swipeView.curre 阅读全文
posted @ 2020-08-07 10:52
朱小勇
阅读(604)
评论(0)
推荐(0)
摘要:
1、例子1 import QtQuick 2.7 import QtQuick.Controls 2.0 import QtQuick.Layouts 1.0 import QtQuick.Window 2.2 Window { visible: true width: 300 height: 45 阅读全文
posted @ 2020-08-07 09:53
朱小勇
阅读(1860)
评论(0)
推荐(0)