⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myserialport.ui

📁 QT 串口代码,支持windows,unix
💻 UI
📖 第 1 页 / 共 3 页
字号:
<ui version="4.0" > <class>MySerialPortClass</class> <widget class="QDialog" name="MySerialPortClass" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>677</width>    <height>514</height>   </rect>  </property>  <property name="windowIcon" >   <iconset resource="myserialport.qrc" >    <normaloff>:/MySerialPort/Resources/icon_big.bmp</normaloff>:/MySerialPort/Resources/icon_big.bmp</iconset>  </property>  <widget class="QGroupBox" name="groupBox_SerialPort" >   <property name="geometry" >    <rect>     <x>10</x>     <y>10</y>     <width>151</width>     <height>204</height>    </rect>   </property>   <property name="title" >    <string>串口设置</string>   </property>   <layout class="QGridLayout" name="gridLayout" >    <item row="0" column="1" >     <widget class="QComboBox" name="comboBox_Comm" />    </item>    <item rowspan="2" row="1" column="1" >     <widget class="QComboBox" name="comboBox_BaudRate" />    </item>    <item rowspan="2" row="3" column="1" >     <widget class="QComboBox" name="comboBox_Parity" />    </item>    <item rowspan="2" row="5" column="1" >     <widget class="QComboBox" name="comboBox_DataBits" />    </item>    <item row="7" column="0" >     <widget class="QLabel" name="label_5" >      <property name="text" >       <string>停止位</string>      </property>     </widget>    </item>    <item row="7" column="1" >     <widget class="QComboBox" name="comboBox_StopBits" />    </item>    <item row="8" column="0" colspan="2" >     <widget class="QPushButton" name="pushButton_Open" >      <property name="text" >       <string>打开串口(&amp;O)</string>      </property>     </widget>    </item>    <item row="6" column="0" >     <widget class="QLabel" name="label_4" >      <property name="text" >       <string>数据位</string>      </property>     </widget>    </item>    <item row="4" column="0" >     <widget class="QLabel" name="label_3" >      <property name="text" >       <string>校验位</string>      </property>     </widget>    </item>    <item row="2" column="0" >     <widget class="QLabel" name="label_2" >      <property name="text" >       <string>波特率</string>      </property>     </widget>    </item>    <item row="0" column="0" >     <widget class="QLabel" name="label" >      <property name="text" >       <string>串口号</string>      </property>     </widget>    </item>   </layout>  </widget>  <widget class="QGroupBox" name="groupBox_SendBuf" >   <property name="geometry" >    <rect>     <x>10</x>     <y>350</y>     <width>661</width>     <height>151</height>    </rect>   </property>   <property name="title" >    <string>发送缓冲区</string>   </property>   <widget class="QTextEdit" name="textEdit_Send" >    <property name="geometry" >     <rect>      <x>160</x>      <y>20</y>      <width>491</width>      <height>121</height>     </rect>    </property>   </widget>   <widget class="QWidget" name="layoutWidget" >    <property name="geometry" >     <rect>      <x>10</x>      <y>20</y>      <width>131</width>      <height>117</height>     </rect>    </property>    <layout class="QGridLayout" name="gridLayout_3" >     <item row="0" column="0" >      <widget class="QComboBox" name="comboBox_DisplaySend" />     </item>     <item row="0" column="1" >      <widget class="QLCDNumber" name="lcdNumber_SendBytes" >       <property name="palette" >        <palette>         <active>          <colorrole role="WindowText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="Button" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Light" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Midlight" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Dark" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Mid" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Text" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="BrightText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="ButtonText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="Base" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Window" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Shadow" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="AlternateBase" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="ToolTipBase" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>220</blue>            </color>           </brush>          </colorrole>          <colorrole role="ToolTipText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>         </active>         <inactive>          <colorrole role="WindowText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="Button" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Light" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Midlight" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Dark" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Mid" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Text" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="BrightText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="ButtonText" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>255</red>             <green>255</green>             <blue>255</blue>            </color>           </brush>          </colorrole>          <colorrole role="Base" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Window" >           <brush brushstyle="SolidPattern" >            <color alpha="255" >             <red>0</red>             <green>0</green>             <blue>0</blue>            </color>           </brush>          </colorrole>          <colorrole role="Shadow" >

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -