340 lines
7.2 KiB
XML
340 lines
7.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NewDeviceFormDialog</class>
|
|
<widget class="QDialog" name="NewDeviceFormDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>726</width>
|
|
<height>526</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>726</width>
|
|
<height>526</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>726</width>
|
|
<height>526</height>
|
|
</size>
|
|
</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="QPushButton" name="pb_OK">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>450</y>
|
|
<width>93</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>OK</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pb_Cancel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>510</x>
|
|
<y>450</y>
|
|
<width>93</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pb_Import">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>600</x>
|
|
<y>50</y>
|
|
<width>93</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>导入</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>50</y>
|
|
<width>551</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>20</y>
|
|
<width>111</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>预定义文件</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cb_device">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>120</y>
|
|
<width>551</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>90</y>
|
|
<width>63</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>设备类型</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>210</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="QComboBox" name="cb_baund">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>450</x>
|
|
<y>250</y>
|
|
<width>201</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>250</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="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>250</y>
|
|
<width>69</width>
|
|
<height>19</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>串口号</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>290</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="QLabel" name="label_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>330</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>140</x>
|
|
<y>330</y>
|
|
<width>181</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cb_serialport">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>250</y>
|
|
<width>181</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cb_data">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>290</y>
|
|
<width>181</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>210</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="QLabel" name="label_10">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>290</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_parity">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>450</x>
|
|
<y>290</y>
|
|
<width>201</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cb_type">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>210</y>
|
|
<width>181</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="slave_id">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>450</x>
|
|
<y>210</y>
|
|
<width>201</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>160</y>
|
|
<width>651</width>
|
|
<height>231</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>端口配置</string>
|
|
</property>
|
|
</widget>
|
|
<zorder>groupBox</zorder>
|
|
<zorder>pb_OK</zorder>
|
|
<zorder>pb_Cancel</zorder>
|
|
<zorder>pb_Import</zorder>
|
|
<zorder>lineEdit</zorder>
|
|
<zorder>label</zorder>
|
|
<zorder>cb_device</zorder>
|
|
<zorder>label_2</zorder>
|
|
<zorder>label_4</zorder>
|
|
<zorder>cb_baund</zorder>
|
|
<zorder>label_6</zorder>
|
|
<zorder>label_5</zorder>
|
|
<zorder>label_8</zorder>
|
|
<zorder>label_9</zorder>
|
|
<zorder>cb_stop</zorder>
|
|
<zorder>cb_serialport</zorder>
|
|
<zorder>cb_data</zorder>
|
|
<zorder>label_7</zorder>
|
|
<zorder>label_10</zorder>
|
|
<zorder>cb_parity</zorder>
|
|
<zorder>cb_type</zorder>
|
|
<zorder>slave_id</zorder>
|
|
</widget>
|
|
<resources>
|
|
<include location="emscfgres.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|