Files
VX5_KRO_GearPump/MainWidget.ui
T
2026-05-08 14:51:35 +08:00

741 lines
24 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWidget</class>
<widget class="QWidget" name="MainWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>589</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>589</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QFrame" name="frame3">
<property name="styleSheet">
<string>background-color:#BCBFC4;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QFrame" name="frame2">
<property name="maximumSize">
<size>
<width>800</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#6A7289;</string>
</property>
<property name="fixedHeight" stdset="0">
<number>30</number>
</property>
<layout class="QHBoxLayout" name="hlayout_topBtn">
<property name="contentsMargins" stdset="0">
<rect>
<x>10</x>
<y>10</y>
<width>0</width>
<height>0</height>
</rect>
</property>
<item>
<widget class="QPushButton" name="m_EditBtn">
<property name="styleSheet">
<string notr="true">QPushButton {background: qlineargradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 #6F9CD6, stop: 1 #A5ABB7);border: none;border-radius: 8px;font-size: 14px;text-align: center;padding-top: 20px;padding-bottom: 1px;}</string>
</property>
<property name="text">
<string>编辑当前文件</string>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>40</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_AddBtn">
<property name="styleSheet">
<string notr="true">QPushButton {background: qlineargradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 #6F9CD6, stop: 1 #A5ABB7);border: none;border-radius: 8px;font-size: 14px;text-align: center;padding-top: 20px;padding-bottom: 1px;}</string>
</property>
<property name="text">
<string>调入文件喷印</string>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>40</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_MainBtn">
<property name="styleSheet">
<string notr="true">QPushButton {background: qlineargradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 #6F9CD6, stop: 1 #A5ABB7);border: none;border-radius: 8px;font-size: 14px;text-align: center;padding-top: 20px;padding-bottom: 1px;}</string>
</property>
<property name="text">
<string>主指令单</string>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>40</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_ManageBtn">
<property name="styleSheet">
<string notr="true">QPushButton {background: qlineargradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 #6F9CD6, stop: 1 #A5ABB7);border: none;border-radius: 8px;font-size: 14px;text-align: center;padding-top: 20px;padding-bottom: 1px;}</string>
</property>
<property name="text">
<string>管理器</string>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>40</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_MsgBtn">
<property name="styleSheet">
<string notr="true">QPushButton {background: qlineargradient(x1: 0.5, y1: 0, x2: 0.5, y2: 1, stop: 0 #6F9CD6, stop: 1 #A5ABB7);border: none;border-radius: 8px;font-size: 14px;text-align: center;padding-top: 20px;padding-bottom: 1px;}</string>
</property>
<property name="text">
<string>信息</string>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>40</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="frame4">
<property name="minimumSize">
<size>
<width>781</width>
<height>171</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>295</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#CACCC9;</string>
</property>
<widget class="PrintTextDisplay" name="widgetPrintTextDisplay" native="true">
<property name="geometry">
<rect>
<x>9</x>
<y>9</y>
<width>761</width>
<height>150</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>746</width>
<height>150</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>150</height>
</size>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>335</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QFrame" name="fra_state">
<property name="maximumSize">
<size>
<width>180</width>
<height>150</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>42</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lb_generalState">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>42</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<widget class="QFrame" name="sub3">
<property name="minimumSize">
<size>
<width>200</width>
<height>150</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>150</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#BBBBBD;border-radius:3px;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="sub3_lb1">
<property name="styleSheet">
<string notr="true">color:#000000;font-size:18px;</string>
</property>
<property name="text">
<string>产品计数器</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="indent">
<number>-1</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelProductCnt">
<property name="font">
<font>
<pointsize>-1</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_counter">
<property name="text">
<string>达到数量后停止:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelTotalProductCnt">
<property name="styleSheet">
<string>color:#000000;font-size:28px;font-weight:bold;</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="m_StartBtn">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>140</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border:0px;</string>
</property>
<property name="text">
<string>开始打印</string>
</property>
<property name="iconSize">
<size>
<width>130</width>
<height>130</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>130</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="m_CloseBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string>border:0px;</string>
</property>
<property name="icon">
<iconset resource="image.qrc">
<normaloff>:/image/power.png</normaloff>:/image/power.png</iconset>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QFrame" name="sub2">
<property name="maximumSize">
<size>
<width>250</width>
<height>130</height>
</size>
</property>
<property name="styleSheet">
<string>background-color:#BBBBBD;border-radius:3px;</string>
</property>
<layout class="QVBoxLayout" name="vlayout_sub2">
<item>
<widget class="QLabel" name="sub2_lb1">
<property name="styleSheet">
<string>color:#000000;font-size:18px;</string>
</property>
<property name="text">
<string>速度 米/分</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="indent">
<number>-1</number>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<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>
<layout class="QHBoxLayout" name="hlayout_lb1">
<item>
<widget class="QLabel" name="sub2_lb2">
<property name="styleSheet">
<string>color:#3CB371;font-size:18px;</string>
</property>
<property name="text">
<string>当前</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_1">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="sub2_lb3">
<property name="styleSheet">
<string>color:#E72F28;font-size:18px;</string>
</property>
<property name="text">
<string>最大</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="hlayout_lb2">
<item>
<widget class="QLabel" name="lb_curSpeed">
<property name="styleSheet">
<string>color:#3CB371;font-size:24px;</string>
</property>
<property name="text">
<string>0007.9</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="lb_maxSpeed">
<property name="styleSheet">
<string>color:#E72F28;font-size:24px;</string>
</property>
<property name="text">
<string>0020.3</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>8</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="m_StopBtn">
<property name="minimumSize">
<size>
<width>0</width>
<height>140</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">border:0px;</string>
</property>
<property name="text">
<string>停止打印</string>
</property>
<property name="iconSize">
<size>
<width>130</width>
<height>130</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>130</width>
<height>130</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="1,0,0">
<property name="spacing">
<number>5</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<item>
<widget class="QFrame" name="frame_2">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" stretch="1,0">
<item>
<widget class="QLabel" name="lb_reclaimtanl">
<property name="maximumSize">
<size>
<width>200</width>
<height>150</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="image.qrc">:/image/tool.png</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lb_nozzleState">
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_RightBtn">
<property name="minimumSize">
<size>
<width>200</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>喷嘴开启</string>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_LeftBtn">
<property name="minimumSize">
<size>
<width>200</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>444</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>喷嘴关闭</string>
</property>
<property name="iconSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="fixedSize" stdset="0">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PrintTextDisplay</class>
<extends>QWidget</extends>
<header>PrintTextDisplay.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="image.qrc"/>
</resources>
<connections/>
</ui>