emsApplication/applications/emsConfigurer/formserialportsettingdialog.ui

550 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FormSerialPortSettingDialog</class>
<widget class="QDialog" name="FormSerialPortSettingDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>706</width>
<height>526</height>
</rect>
</property>
<property name="windowTitle">
<string>设备串口设置</string>
</property>
<property name="windowIcon">
<iconset resource="emscfgres.qrc">
<normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>320</x>
<y>450</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QLineEdit" name="device_name">
<property name="geometry">
<rect>
<x>440</x>
<y>36</y>
<width>201</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>350</x>
<y>40</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>设备名称</string>
</property>
<property name="buddy">
<cstring>device_name</cstring>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>50</x>
<y>40</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>设备序号</string>
</property>
<property name="buddy">
<cstring>device_id</cstring>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>50</x>
<y>120</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>串口类型</string>
</property>
<property name="buddy">
<cstring>cb_type</cstring>
</property>
</widget>
<widget class="QComboBox" name="cb_type">
<property name="geometry">
<rect>
<x>130</x>
<y>120</y>
<width>181</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="device_id">
<property name="geometry">
<rect>
<x>130</x>
<y>36</y>
<width>181</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="slave_id">
<property name="geometry">
<rect>
<x>440</x>
<y>120</y>
<width>201</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>360</x>
<y>120</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>从机地址</string>
</property>
<property name="buddy">
<cstring>slave_id</cstring>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>50</x>
<y>160</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>串口号</string>
</property>
<property name="buddy">
<cstring>port</cstring>
</property>
</widget>
<widget class="QLineEdit" name="port">
<property name="geometry">
<rect>
<x>130</x>
<y>160</y>
<width>181</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>360</x>
<y>160</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>波特率</string>
</property>
<property name="buddy">
<cstring>cb_baund</cstring>
</property>
</widget>
<widget class="QComboBox" name="cb_baund">
<property name="geometry">
<rect>
<x>440</x>
<y>160</y>
<width>201</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>50</x>
<y>200</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>数据位</string>
</property>
<property name="buddy">
<cstring>cb_data</cstring>
</property>
</widget>
<widget class="QComboBox" name="cb_data">
<property name="geometry">
<rect>
<x>130</x>
<y>200</y>
<width>181</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>360</x>
<y>200</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>校验位</string>
</property>
<property name="buddy">
<cstring>cb_parity</cstring>
</property>
</widget>
<widget class="QComboBox" name="cb_parity">
<property name="geometry">
<rect>
<x>440</x>
<y>200</y>
<width>201</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>50</x>
<y>240</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>停止位</string>
</property>
<property name="buddy">
<cstring>cb_stop</cstring>
</property>
</widget>
<widget class="QComboBox" name="cb_stop">
<property name="geometry">
<rect>
<x>130</x>
<y>240</y>
<width>181</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="cb_mode">
<property name="geometry">
<rect>
<x>440</x>
<y>240</y>
<width>201</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>360</x>
<y>240</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>模式</string>
</property>
<property name="buddy">
<cstring>cb_mode</cstring>
</property>
</widget>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>50</x>
<y>280</y>
<width>91</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>响应超时</string>
</property>
<property name="buddy">
<cstring>delay_timeout</cstring>
</property>
</widget>
<widget class="QLineEdit" name="delay_timeout">
<property name="geometry">
<rect>
<x>130</x>
<y>280</y>
<width>113</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>360</x>
<y>280</y>
<width>91</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>轮询间隔</string>
</property>
<property name="buddy">
<cstring>loop_time</cstring>
</property>
</widget>
<widget class="QLineEdit" name="loop_time">
<property name="geometry">
<rect>
<x>440</x>
<y>280</y>
<width>113</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_13">
<property name="geometry">
<rect>
<x>560</x>
<y>283</y>
<width>41</width>
<height>19</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>ms</string>
</property>
</widget>
<widget class="QLabel" name="label_14">
<property name="geometry">
<rect>
<x>250</x>
<y>283</y>
<width>41</width>
<height>19</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>ms</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_DTS">
<property name="geometry">
<rect>
<x>50</x>
<y>320</y>
<width>98</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>DSR</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_CTS">
<property name="geometry">
<rect>
<x>170</x>
<y>320</y>
<width>98</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>CTS</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_DTR">
<property name="geometry">
<rect>
<x>310</x>
<y>320</y>
<width>98</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>DTR</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_15">
<property name="geometry">
<rect>
<x>50</x>
<y>360</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>插件绑定</string>
</property>
</widget>
<widget class="QLineEdit" name="so_file">
<property name="geometry">
<rect>
<x>50</x>
<y>390</y>
<width>581</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QToolButton" name="toolButton">
<property name="geometry">
<rect>
<x>640</x>
<y>391</y>
<width>41</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>...</string>
</property>
<property name="popupMode">
<enum>QToolButton::DelayedPopup</enum>
</property>
</widget>
<widget class="QLabel" name="label_16">
<property name="geometry">
<rect>
<x>50</x>
<y>80</y>
<width>69</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>制造商</string>
</property>
<property name="buddy">
<cstring>device_manufature</cstring>
</property>
</widget>
<widget class="QLineEdit" name="device_manufature">
<property name="geometry">
<rect>
<x>130</x>
<y>80</y>
<width>511</width>
<height>30</height>
</rect>
</property>
</widget>
</widget>
<tabstops>
<tabstop>device_id</tabstop>
<tabstop>device_name</tabstop>
<tabstop>device_manufature</tabstop>
<tabstop>cb_type</tabstop>
<tabstop>slave_id</tabstop>
<tabstop>port</tabstop>
<tabstop>cb_baund</tabstop>
<tabstop>cb_data</tabstop>
<tabstop>cb_parity</tabstop>
<tabstop>cb_stop</tabstop>
<tabstop>cb_mode</tabstop>
<tabstop>delay_timeout</tabstop>
<tabstop>loop_time</tabstop>
<tabstop>checkBox_DTS</tabstop>
<tabstop>checkBox_CTS</tabstop>
<tabstop>checkBox_DTR</tabstop>
<tabstop>toolButton</tabstop>
<tabstop>so_file</tabstop>
</tabstops>
<resources>
<include location="emscfgres.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>FormSerialPortSettingDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>FormSerialPortSettingDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>