616 lines
20 KiB
XML
616 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>COtherConfig</class>
|
|
<widget class="QWidget" name="COtherConfig">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>921</width>
|
|
<height>580</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>50</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>318</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 255, 255);</string>
|
|
</property>
|
|
<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>317</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>触发时间配置</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>219</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>触发时长:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_Trigger"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>秒</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="widget_6" native="true">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>330</y>
|
|
<width>171</width>
|
|
<height>80</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QPushButton" name="pushButto_Trigger">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>20</y>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButto_Trigger { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButto_Trigger:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButto_Trigger:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButto_Trigger:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>确认</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_4" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="title">
|
|
<string>主页配置</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>40</y>
|
|
<width>71</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>项目名称:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEdit_project">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>40</y>
|
|
<width>141</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEdit_version">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>180</y>
|
|
<width>141</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>180</y>
|
|
<width>71</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>项目版本:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_main">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>350</y>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_main { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_main:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_main:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_main:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>确认</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_5" native="true">
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="title">
|
|
<string>其他配置</string>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>20</y>
|
|
<width>260</width>
|
|
<height>166</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>去零漂配置</string>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>25</y>
|
|
<width>240</width>
|
|
<height>133</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
<item>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>转速通道:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_ch">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>参考通道:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_ch2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>115</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>峰峰值:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit_peaktopeak">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>逻辑关系:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="comboBox_logic">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_open">
|
|
<property name="text">
|
|
<string>开</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_close">
|
|
<property name="text">
|
|
<string>关</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>231</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>继电器开关控制</string>
|
|
</property>
|
|
<widget class="QRadioButton" name="radioButton_openIO">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>89</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>开</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="radioButton_closeIO">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>30</y>
|
|
<width>89</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>关</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>290</y>
|
|
<width>251</width>
|
|
<height>131</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>128k配置</string>
|
|
</property>
|
|
<widget class="QPushButton" name="pushButton_open_close">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>80</y>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_open_close { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_open_close:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_open_close:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_open_close:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="radioButton_open_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>40</y>
|
|
<width>37</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>开</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_get">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>40</y>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_get { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_get:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_get:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_get:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>获取</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="radioButton_close_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>180</x>
|
|
<y>40</y>
|
|
<width>37</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>关</string>
|
|
</property>
|
|
<attribute name="buttonGroup">
|
|
<string notr="true">buttonGroup</string>
|
|
</attribute>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_generate">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>430</y>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>96</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">#pushButton_generate { border-image: url(:/image/Btn/normal_Btn.png);
|
|
color:#1f5188 }
|
|
#pushButton_generate:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_generate:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}
|
|
#pushButton_generate:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
|
|
color:#ffffff}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>生成ICD文件</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
<buttongroups>
|
|
<buttongroup name="buttonGroup"/>
|
|
</buttongroups>
|
|
</ui>
|