import QtQuick 2.11 Item { id:root anchors.fill: parent anchors.margins: 10 property int resultHeight: 25 //property string titlestr property string state_str1 property string state_str2 //property string valvePressure_delta //property string negativeSysPressure //property string negativeValvePressure Column{ anchors.centerIn: parent ResultDisplayText{ width: root.width height: root.resultHeight color: "white" paraName: "系统运行状态:" paraResult:"" paraUnit:"" } ResultDisplayText{ width: root.width height: root.resultHeight color: "#D2D5D9" paraName: "" paraResult:state_str1 paraResult_fontColor: "green" paraUnit:"" } ResultDisplayText{ width: root.width height: root.resultHeight color: "#D2D5D9" paraName: "" paraResult:state_str2 paraResult_fontColor: "green" paraUnit:"" } /* ResultDisplayText{ width: root.width height: root.resultHeight color: "#DFE2E6" paraName: "阀门密封性:" paraResult:valvePressure_delta paraUnit:"kPa" } ResultDisplayText{ width: root.width height: root.resultHeight color: "white" paraName: "" paraResult:"" paraUnit:"" } ResultDisplayText{ width: root.width height: root.resultHeight color: "white" paraName: "负压测试" paraResult:"" paraUnit:"" } ResultDisplayText{ width: root.width height: root.resultHeight color: "#DFE2E6" paraName: "系统密封性:" paraResult:negativeSysPressure paraUnit:"kPa" } ResultDisplayText{ width: root.width height: root.resultHeight color: "#D2D5D9" paraName: "阀门密封性:" paraResult:negativeValvePressure paraUnit:"kPa" } */ } }