改进代码

This commit is contained in:
feiyangqingyun
2021-09-20 12:46:24 +08:00
parent e1065dd361
commit c1137a20ee
35 changed files with 1220 additions and 693 deletions

View File

@@ -6,50 +6,67 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>800</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">
<widget class="QCheckBox" name="ckTimer">
<property name="text">
<string>定时器打印消息</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QCheckBox" name="ckSave">
<property name="text">
<string>保存日志</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="btnDebug">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>手动插入消息</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="4">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextEdit" name="txtMain"/>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="ckNet">
<property name="text">
<string>重定向到网络</string>
</property>
</widget>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="btnDebug">
<property name="minimumSize">
<size>
<width>130</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>手动插入消息</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ckTimer">
<property name="text">
<string>定时器打印消息</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ckNet">
<property name="text">
<string>重定向到网络</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ckSave">
<property name="text">
<string>保存日志</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>