AntiClipSettings/Main.qml

40 lines
825 B
QML
Raw Normal View History

2024-08-13 09:54:41 +08:00
import QtQuick
2024-08-13 20:06:10 +08:00
import QtQuick.Controls
import AntiClipSettings
2024-08-13 09:54:41 +08:00
2024-08-13 20:06:10 +08:00
ApplicationWindow {
2024-08-13 09:54:41 +08:00
width: 640
height: 480
visible: true
title: qsTr("Hello World")
2024-08-13 20:06:10 +08:00
header: Row {
Button {
text: "连接"
onClicked: App.open()
}
Button {
text: "开始"
onClicked: App.start()
}
}
Rectangle {
id: deviceList
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
width: 250
color: "red"
}
DeviceView {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: deviceList.right
anchors.right: parent.right
openDoorAreaPoints: App.currentOpenDoorAreaPoints
}
2024-08-13 09:54:41 +08:00
}