<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1024</width> <height>800</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>1024</width> <height>800</height> </size> </property> <property name="maximumSize"> <size> <width>1024</width> <height>800</height> </size> </property> <property name="windowTitle"> <string>北京燃气调压箱管控系统</string> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <widget class="QWidget" name="centralwidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <layout class="QHBoxLayout" name="topBar"> <property name="spacing"> <number>0</number> </property> <property name="sizeConstraint"> <enum>QLayout::SetDefaultConstraint</enum> </property> <item> <widget class="QLabel" name="logo"> <property name="enabled"> <bool>true</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>180</width> <height>70</height> </size> </property> <property name="sizeIncrement"> <size> <width>0</width> <height>0</height> </size> </property> <property name="baseSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="autoFillBackground"> <bool>false</bool> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(127, 176, 249);padding:10px; </string> </property> <property name="text"> <string/> </property> <property name="textFormat"> <enum>Qt::AutoText</enum> </property> <property name="pixmap"> <pixmap resource="SurgeTankControl.qrc">:/Images/logo.png</pixmap> </property> <property name="scaledContents"> <bool>true</bool> </property> <property name="wordWrap"> <bool>false</bool> </property> <property name="margin"> <number>0</number> </property> <property name="indent"> <number>-1</number> </property> </widget> </item> <item> <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <family>微软雅黑</family> <pointsize>18</pointsize> <weight>50</weight> <bold>false</bold> </font> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(127, 176, 249);padding-left:3px; </string> </property> <property name="text"> <string>调压箱管控系统</string> </property> <property name="textFormat"> <enum>Qt::AutoText</enum> </property> <property name="scaledContents"> <bool>false</bool> </property> </widget> </item> <item> <widget class="QWidget" name="widget" native="true"> <property name="styleSheet"> <string notr="true">#widget{background-color: rgb(127, 176, 249); } </string> </property> <widget class="QLineEdit" name="ip"> <property name="geometry"> <rect> <x>250</x> <y>20</y> <width>151</width> <height>35</height> </rect> </property> <property name="font"> <font> <family>微软雅黑</family> <pointsize>11</pointsize> </font> </property> <property name="text"> <string>127.0.0.1</string> </property> <property name="placeholderText"> <string>IP地址</string> </property> </widget> <widget class="QLabel" name="label_2"> <property name="geometry"> <rect> <x>190</x> <y>20</y> <width>61</width> <height>35</height> </rect> </property> <property name="font"> <font> <family>微软雅黑</family> <pointsize>11</pointsize> </font> </property> <property name="text"> <string>IP地址:</string> </property> </widget> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="spacing"> <number>0</number> </property> <item> <widget class="QListView" name="listView"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>140</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>140</width> <height>16777215</height> </size> </property> <property name="layoutDirection"> <enum>Qt::LeftToRight</enum> </property> <property name="styleSheet"> <string notr="true">background-color: rgb(5, 8, 91);</string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="pHBoxLayout"/> </item> </layout> </item> </layout> </widget> <widget class="QMenuBar" name="menubar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1024</width> <height>23</height> </rect> </property> </widget> <widget class="QStatusBar" name="statusbar"/> </widget> <resources> <include location="SurgeTankControl.qrc"/> </resources> <connections/> </ui>