update 日志模块初见

This commit is contained in:
FrankCV2048
2024-09-08 22:27:26 +08:00
parent ab2545895b
commit 55227fc898
6 changed files with 162 additions and 53 deletions

View File

@ -125,7 +125,7 @@ border-radius: 10px;</string>
</rect>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="page_6">
<widget class="QFrame" name="frame_2">
@ -171,7 +171,7 @@ border-radius: 10px;</string>
<x>10</x>
<y>10</y>
<width>481</width>
<height>261</height>
<height>201</height>
</rect>
</property>
<property name="styleSheet">
@ -1162,33 +1162,6 @@ font: 10pt &quot;楷体&quot;;
</property>
</widget>
</widget>
<widget class="QTextEdit" name="textEdit_log">
<property name="geometry">
<rect>
<x>10</x>
<y>280</y>
<width>481</width>
<height>191</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-image: url(:/bg/Image/robot.png);
background-color: #E6ECF5;
}</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;2024-08-06 10:10:10当前正在运行。。。&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;2024-08-06 11:10:10移动机械臂至所示位置&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QComboBox" name="comboBox_lineIndex">
<property name="geometry">
<rect>
@ -1753,6 +1726,82 @@ font: 10pt &quot;楷体&quot;;
<string>PushButton</string>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>220</y>
<width>491</width>
<height>251</height>
</rect>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>日志</string>
</attribute>
<widget class="QTextEdit" name="textEdit_log_info">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>491</width>
<height>231</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
background-color: #D3D3D3;
}</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>报警</string>
</attribute>
<widget class="QTextEdit" name="textEdit_log_error">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>491</width>
<height>231</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">*{
color: red;
background-color: #D3D3D3;
}
</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
</widget>
</widget>
</widget>
</widget>