CodeLibrary/06_QtCreator_Cplus_SerialDebug_20240425/widget.ui

479 lines
12 KiB
Plaintext
Raw Permalink Normal View History

2024-06-01 17:39:28 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>692</width>
<height>462</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>692</width>
<height>462</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>692</width>
<height>462</height>
</size>
</property>
<property name="windowTitle">
<string>Widget</string>
</property>
<widget class="QGroupBox" name="receive_groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>441</width>
<height>261</height>
</rect>
</property>
<property name="title">
<string>Receive</string>
</property>
<widget class="QTextBrowser" name="receive_Edit">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>421</width>
<height>191</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="receive_clear_Button">
<property name="geometry">
<rect>
<x>340</x>
<y>220</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
<widget class="QPushButton" name="updateport_Button">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<width>101</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>update port</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="transmission_groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>441</width>
<height>181</height>
</rect>
</property>
<property name="title">
<string>Transmission</string>
</property>
<widget class="QPushButton" name="transmission_send_Button">
<property name="geometry">
<rect>
<x>340</x>
<y>140</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>Send</string>
</property>
</widget>
<widget class="QPushButton" name="transmission_clear_Button">
<property name="geometry">
<rect>
<x>240</x>
<y>140</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
<widget class="QTextEdit" name="transmission_Edit">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>421</width>
<height>111</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="status">
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>211</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Disconnected</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="serialconfig_groupBox">
<property name="geometry">
<rect>
<x>460</x>
<y>10</y>
<width>221</width>
<height>191</height>
</rect>
</property>
<property name="title">
<string>Serial Config</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>201</width>
<height>161</height>
</rect>
</property>
<layout class="QVBoxLayout" name="config_verticalLayout">
<item>
<layout class="QHBoxLayout" name="config_port_horizontalLayout">
<item>
<widget class="QLabel" name="config_port_label">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Port&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="config_port_comboBox"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="config_baud_horizontalLayout">
<item>
<widget class="QLabel" name="config_baud_label">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Baud&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="config_baud_comboBox">
<item>
<property name="text">
<string>4800</string>
</property>
</item>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
<item>
<property name="text">
<string>38400</string>
</property>
</item>
<item>
<property name="text">
<string>115200</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="config_databit_horizontalLayout">
<item>
<widget class="QLabel" name="config_databit_label">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;DataBit&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="config_databit_comboBox">
<property name="currentText">
<string>5</string>
</property>
<item>
<property name="text">
<string>5</string>
</property>
</item>
<item>
<property name="text">
<string>6</string>
</property>
</item>
<item>
<property name="text">
<string>7</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="config_databit_horizontalLayout_2">
<item>
<widget class="QLabel" name="config_stopbit_label">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;StopBit&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="config_stopbit_comboBox">
<item>
<property name="text">
<string>1</string>
</property>
</item>
<item>
<property name="text">
<string>1.5</string>
</property>
</item>
<item>
<property name="text">
<string>2</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="config_check_horizontalLayout">
<item>
<widget class="QLabel" name="config_check_label">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Check&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="config_check_comboBox">
<item>
<property name="text">
<string>no</string>
</property>
</item>
<item>
<property name="text">
<string>odd</string>
</property>
</item>
<item>
<property name="text">
<string>even</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="receiveconfig_groupBox">
<property name="geometry">
<rect>
<x>460</x>
<y>210</y>
<width>221</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Receive Config</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>61</height>
</rect>
</property>
<layout class="QVBoxLayout" name="receiveconfig_verticalLayout">
<item>
<widget class="QRadioButton" name="receive_hexmode">
<property name="text">
<string>Hex</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="receivetextmode">
<property name="text">
<string>Text</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="transmissionconfig_groupBox">
<property name="geometry">
<rect>
<x>460</x>
<y>310</y>
<width>221</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Transmission Config</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget_3">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>61</height>
</rect>
</property>
<layout class="QVBoxLayout" name="transmissionconfig_verticalLayout">
<item>
<widget class="QRadioButton" name="transmission_hexmode">
<property name="text">
<string>Hex</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="transmission_textmode">
<property name="text">
<string>Text</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QPushButton" name="openserial_button">
<property name="geometry">
<rect>
<x>550</x>
<y>410</y>
<width>131</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>Open Serial</string>
</property>
</widget>
<widget class="QPushButton" name="about_button">
<property name="geometry">
<rect>
<x>460</x>
<y>410</y>
<width>81</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>About</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>