536 lines
17 KiB
XML
536 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CWokingConditionConfig</class>
|
|
<widget class="QWidget" name="CWokingConditionConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>845</width>
|
|
<height>678</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 10pt "黑体";
|
|
color: rgb(27, 30, 35);</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>393</width>
|
|
<height>9</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>工况逻辑配置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>393</width>
|
|
<height>9</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>工况名称:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_workContion"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>工况参数选择:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_unitType">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>150</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QTableView" name="tableView">
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::DragDrop</enum>
|
|
</property>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_7" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<widget class="QPushButton" name="pushButton_save">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>130</y>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_save { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_save:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_save:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_save:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_addUnit">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>130</y>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_addUnit { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_addUnit:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_addUnit:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_addUnit:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>添加</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_del">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>130</y>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_del { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_del:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_del:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_del:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>删除</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>21</x>
|
|
<y>51</y>
|
|
<width>364</width>
|
|
<height>52</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>描述:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="textEdit_Description">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>21</x>
|
|
<y>10</y>
|
|
<width>284</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>工况判定间隔时间:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_Interval"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QWidget" name="widget_8" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<property name="topMargin">
|
|
<number>20</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Relay Logic Editor</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeView" name="treeView">
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::DragDrop</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_9" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>125</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>27</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_and">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_and { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_and:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_and:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_and:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>添加AND</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pushButton_or">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>120</width>
|
|
<height>35</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_or { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_or:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_or:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_or:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>添加OR</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>27</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|