update 更新框架和控制细节
This commit is contained in:
739
untitled.ui
739
untitled.ui
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>901</width>
|
||||
<height>656</height>
|
||||
<height>665</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
@ -20,32 +20,11 @@
|
||||
<enum>Qt::ToolButtonStyle::ToolButtonIconOnly</enum>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<widget class="QLabel" name="label">
|
||||
<widget class="QLabel" name="label_time">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>613</y>
|
||||
<width>261</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color:#fff;
|
||||
font: 290 12pt "Microsoft YaHei";
|
||||
font: 700 12pt "Microsoft YaHei UI";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>中联</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>690</x>
|
||||
<y>610</y>
|
||||
<x>780</x>
|
||||
<y>640</y>
|
||||
<width>91</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
@ -59,33 +38,13 @@ font: 700 9pt "Microsoft YaHei UI";</string>
|
||||
<string>08:00:00</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>670</x>
|
||||
<y>630</y>
|
||||
<width>91</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color:#5188BE;
|
||||
font: 290 9pt "Microsoft YaHei";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>2024-08-01</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>901</width>
|
||||
<height>601</height>
|
||||
<height>631</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
@ -109,9 +68,9 @@ font: 290 9pt "Microsoft YaHei";</string>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<y>10</y>
|
||||
<width>877</width>
|
||||
<height>555</height>
|
||||
<height>541</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
@ -231,7 +190,7 @@ background-repeat:no-repeat;</string>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QSlider
|
||||
<string notr="true">/**QSlider
|
||||
{
|
||||
background-color: #FFFFFF;
|
||||
border-style: outset;
|
||||
@ -254,6 +213,45 @@ QSlider::handle:horizontal
|
||||
border-radius:5px;
|
||||
border: 3px solid #007900;
|
||||
}
|
||||
**/
|
||||
/*第一种风格*/
|
||||
/**
|
||||
groove表示槽的部分
|
||||
handle表示滑块
|
||||
add-page表示未滑过的槽部分
|
||||
sub-page表示已滑过的槽部分
|
||||
在辅助控制器后面可以设置状态,horizontal就是QSS生效的QSlider的状态
|
||||
**/
|
||||
|
||||
QSlider::groove:horizontal
|
||||
{
|
||||
height:10px;
|
||||
border-radius: 5px;
|
||||
background-color:rgb(219,219,219);
|
||||
}
|
||||
|
||||
|
||||
QSlider::handle:horizontal
|
||||
{
|
||||
background: QRadialGradient(cx:0, cy:0, radius: 1, fx:0.5, fy:0.5,stop:0 green, stop:1 green);
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
margin: -5px 3px -5px 6px;
|
||||
border-radius:5px;
|
||||
border: 3px solid #007900;
|
||||
}
|
||||
|
||||
QSlider::add-page:horizontal
|
||||
{
|
||||
border-radius: 5px;
|
||||
background-color: rgb(219,219,219);
|
||||
}
|
||||
|
||||
QSlider::sub-page:horizontal
|
||||
{
|
||||
border-radius: 5px;
|
||||
background-color: rgb(80,166,234);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -281,202 +279,6 @@ QSlider::handle:horizontal
|
||||
<string>10</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_20">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>520</x>
|
||||
<y>70</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>10</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_21">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>70</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>20</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_22">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>660</x>
|
||||
<y>70</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>30</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_23">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>730</x>
|
||||
<y>70</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>40</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_24">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>520</x>
|
||||
<y>110</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>50</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_25">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>110</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>60</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_26">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>660</x>
|
||||
<y>110</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>自定义</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QFrame" name="frame_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
@ -1186,29 +988,7 @@ font: 10pt "楷体";
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>730</x>
|
||||
<y>110</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>123</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextEdit" name="textEdit">
|
||||
<widget class="QTextEdit" name="textEdit_log">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
@ -1286,20 +1066,310 @@ QComboBox QAbstractItemView {
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
<zorder>lineEdit</zorder>
|
||||
<zorder>label_4</zorder>
|
||||
<zorder>horizontalSlider_feedingNum</zorder>
|
||||
<zorder>label_5</zorder>
|
||||
<zorder>pushButton_20</zorder>
|
||||
<zorder>pushButton_21</zorder>
|
||||
<zorder>pushButton_22</zorder>
|
||||
<zorder>pushButton_23</zorder>
|
||||
<zorder>pushButton_24</zorder>
|
||||
<zorder>pushButton_25</zorder>
|
||||
<zorder>pushButton_26</zorder>
|
||||
<zorder>frame_4</zorder>
|
||||
<zorder>textEdit</zorder>
|
||||
<zorder>comboBox_lineIndex</zorder>
|
||||
<widget class="QStackedWidget" name="stackedWidget_num">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>510</x>
|
||||
<y>60</y>
|
||||
<width>291</width>
|
||||
<height>91</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: rgb(255, 255, 255);</string>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_3">
|
||||
<widget class="QPushButton" name="pushButton_num5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>60</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>50</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num1">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>10</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>60</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>60</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>20</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>30</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>20</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>40</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num_free">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>60</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>自定义</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_num2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>20</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">
|
||||
*{background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";
|
||||
}
|
||||
*:hover {
|
||||
background-color: lightgreen;
|
||||
color: black;
|
||||
}*:pressed {
|
||||
background-color: red;
|
||||
color: white;
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>20</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="lineEdit_num">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>150</x>
|
||||
<y>60</y>
|
||||
<width>61</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: #F9FAFC;
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
font: 10pt "楷体";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>123</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>lineEdit_num</zorder>
|
||||
<zorder>pushButton_num5</zorder>
|
||||
<zorder>pushButton_num1</zorder>
|
||||
<zorder>pushButton_num6</zorder>
|
||||
<zorder>pushButton_num3</zorder>
|
||||
<zorder>pushButton_num4</zorder>
|
||||
<zorder>pushButton_num_free</zorder>
|
||||
<zorder>pushButton_num2</zorder>
|
||||
</widget>
|
||||
<widget class="QWidget" name="page_4">
|
||||
<widget class="QPushButton" name="pushButton_AddNum">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>30</y>
|
||||
<width>91</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">*{
|
||||
background-color: #499C54;
|
||||
font: 12pt "楷体";
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
}
|
||||
*:pressed
|
||||
{
|
||||
background-color: #499c8a;
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>补一袋</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="QIcon::ThemeIcon::ListAdd"/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_SubNum">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>170</x>
|
||||
<y>30</y>
|
||||
<width>91</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">*{
|
||||
background-color: rgb(255, 0, 0);
|
||||
font: 12pt "楷体";
|
||||
border: 1px solid #dcdfe6;
|
||||
border-radius: 10px;
|
||||
}
|
||||
*:pressed
|
||||
{
|
||||
background-color: #499c8a;
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>扣一袋</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset theme="QIcon::ThemeIcon::ListRemove"/>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_16">
|
||||
<property name="geometry">
|
||||
@ -1421,7 +1491,7 @@ background-color: #499c8a;
|
||||
<iconset theme="QIcon::ThemeIcon::SystemShutdown"/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_39">
|
||||
<widget class="QPushButton" name="pushButton_reset">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>460</x>
|
||||
@ -1489,10 +1559,107 @@ background-color: #FFF000;
|
||||
</widget>
|
||||
</widget>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_date">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>690</x>
|
||||
<y>640</y>
|
||||
<width>91</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color:#fff;
|
||||
font: 290 9pt "Microsoft YaHei";
|
||||
font: 700 9pt "Microsoft YaHei UI";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>2024-08-01</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QFrame" name="frame">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>300</x>
|
||||
<y>634</y>
|
||||
<width>301</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: #9A9A9A;</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::Shape::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Shadow::Raised</enum>
|
||||
</property>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>7</y>
|
||||
<width>81</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: #F9FFF9;
|
||||
font: 700 9pt "等线";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>设备状态监控</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_connect_status">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>7</y>
|
||||
<width>16</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLabel {
|
||||
background-color: #A2EF4D; /* 设置背景颜色 */
|
||||
color: #ffffff; /* 设置字体颜色 */
|
||||
border-radius: 8px; /* 圆角半径设置为 QLabel 的一半,形成圆形 */
|
||||
border: 1px solid #A2EF4D; /* 设置边框颜色和宽度 */
|
||||
qproperty-alignment: 'AlignCenter'; /* 设置文本居中 */
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>7</y>
|
||||
<width>51</width>
|
||||
<height>16</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">color: #F9FFF9;
|
||||
font: 700 9pt "等线";</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>通信状态</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<zorder>tabWidget</zorder>
|
||||
<zorder>label</zorder>
|
||||
<zorder>label_2</zorder>
|
||||
<zorder>label_3</zorder>
|
||||
<zorder>label_time</zorder>
|
||||
<zorder>label_date</zorder>
|
||||
<zorder>frame</zorder>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
|
||||
Reference in New Issue
Block a user