TG-PlatformPlus/qml/Instruction/Scpi.qml

62 lines
1.3 KiB
QML

import QtQuick 2.0
import QtQuick.Controls
import "./common"
Base {
aJsText: scpiJs
Column
{
anchors.fill: parent
spacing: 2
GroupBox
{
title: "发送"
width: parent.width
Column{
anchors.fill: parent
spacing: 2
MutiInput
{
title: "指令数据"
key: "data"
}
}
}
GroupBox
{
title: "接收"
width: parent.width
Column{
anchors.fill: parent
spacing: 2
LineInput
{
title: "超时(ms)"
key: "rsp_timeout"
}
}
}
Row
{
width: parent.width
spacing: 5
Item
{
width: parent.width - jsBtn.width - 5
height: 30
LineInput
{
title: "备注"
key: "remark"
}
}
ScriptButton{
id: jsBtn
title: "脚本编辑"
key: "script"
}
}
}
}