1 Star 2 Fork 0

涵墨轻笙 / Seril

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainwindow.ui 9.82 KB
一键复制 编辑 原始数据 按行查看 历史
Jordon 提交于 2018-08-16 08:12 . Upload
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>mohan</author>
<class>SerilPort</class>
<widget class="QMainWindow" name="SerilPort">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1023</width>
<height>682</height>
</rect>
</property>
<property name="windowTitle">
<string>SerilPort</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="clean_btn">
<property name="text">
<string>Clean</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="send_btn">
<property name="text">
<string>Send</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="allradio">
<item>
<widget class="QRadioButton" name="cc_rad">
<property name="text">
<string>Character-Character</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">characterchanged_bg</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="ch_rad">
<property name="text">
<string>Character-HEX</string>
</property>
<attribute name="buttonGroup">
<string notr="true">characterchanged_bg</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="cd_rad">
<property name="text">
<string>Character-DEC</string>
</property>
<attribute name="buttonGroup">
<string notr="true">characterchanged_bg</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="dc_rad">
<property name="text">
<string>DEC_Character</string>
</property>
<attribute name="buttonGroup">
<string notr="true">characterchanged_bg</string>
</attribute>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="count_lcd"/>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTextBrowser" name="onput_tex"/>
</item>
<item>
<widget class="QLineEdit" name="input_tex"/>
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="0" rowspan="2">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Serial Name</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="seril_box">
<property name="minimumSize">
<size>
<width>69</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Serial Name&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Serial Name&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>BaudRate</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="baudrate_box">
<property name="minimumSize">
<size>
<width>69</width>
<height>25</height>
</size>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;BaudRate&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>DataBit</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="databit_box"/>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Parity</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="parily_box">
<property name="minimumSize">
<size>
<width>69</width>
<height>25</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Flow Control</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="flow_box">
<property name="minimumSize">
<size>
<width>69</width>
<height>25</height>
</size>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Flow&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Stop Bit</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="stopbit_box">
<property name="minimumSize">
<size>
<width>69</width>
<height>25</height>
</size>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Stop Bits&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="con_cbox">
<property name="text">
<string>Continuous</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Send interval(ms)</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="time_sbox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="maximum">
<number>99999</number>
</property>
<property name="value">
<number>200</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="ocseril_btn">
<property name="text">
<string>Open</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1023</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuOperating">
<property name="title">
<string>Operating</string>
</property>
<addaction name="actionScanning"/>
<addaction name="actionClose_Serial"/>
<addaction name="separator"/>
<addaction name="actionSave"/>
<addaction name="separator"/>
<addaction name="actionRead_interval"/>
<addaction name="actionClean_LCD"/>
<addaction name="separator"/>
<addaction name="actionQuit"/>
</widget>
<addaction name="menuOperating"/>
</widget>
<action name="actionScanning">
<property name="text">
<string>Scanning</string>
</property>
</action>
<action name="actionClose_Serial">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Close Serial</string>
</property>
</action>
<action name="actionSave">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Save</string>
</property>
</action>
<action name="actionRead_interval">
<property name="text">
<string>Read interval</string>
</property>
</action>
<action name="actionClean_LCD">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Clean LCD</string>
</property>
</action>
<action name="actionQuit">
<property name="text">
<string>Quit</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
<buttongroups>
<buttongroup name="characterchanged_bg"/>
</buttongroups>
</ui>
C++
1
https://gitee.com/diyhome/Seril.git
git@gitee.com:diyhome/Seril.git
diyhome
Seril
Seril
master

搜索帮助