import QtQuick 2.0 import QtQuick.Controls import "./common" Base { aJsText: generalJs Column { anchors.fill: parent spacing: 2 GroupBox { title: "发送" width: parent.width Column{ anchors.fill: parent spacing: 2 CxCheckBox { title: "HEX发送" key: "req_is_hex" } CxCheckBox { title: "校验" key: "req_is_check" } MutiInput { title: "指令数据" key: "data" } } } GroupBox { title: "接收" width: parent.width Column{ anchors.fill: parent spacing: 2 CxCheckBox { title: "校验" key: "rsp_is_check" } LineInput { title: "超时(ms)" key: "rsp_timeout" } LineInput { title: "期望应答长度" key: "rsp_len" } } } 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" } } } }