327 lines
9.4 KiB
Plaintext
327 lines
9.4 KiB
Plaintext
|
|
<?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>1177</width>
|
||
|
|
<height>867</height>
|
||
|
|
</rect>
|
||
|
|
</property>
|
||
|
|
<property name="windowTitle">
|
||
|
|
<string>S727 MQTT 通讯工具</string>
|
||
|
|
</property>
|
||
|
|
<widget class="QWidget" name="centralWidget">
|
||
|
|
<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="QWidget" name="wgtTitleBar" native="true">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>100</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="maximumSize">
|
||
|
|
<size>
|
||
|
|
<width>16777215</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,0,1,0,0">
|
||
|
|
<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="QLabel" name="lblSystemIcon">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>90</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<spacer name="horizontalSpacer_2">
|
||
|
|
<property name="orientation">
|
||
|
|
<enum>Qt::Horizontal</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeType">
|
||
|
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
|
</property>
|
||
|
|
<property name="sizeHint" stdset="0">
|
||
|
|
<size>
|
||
|
|
<width>8</width>
|
||
|
|
<height>20</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
</spacer>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="lblTitle">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>260</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="styleSheet">
|
||
|
|
<string notr="true"/>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>MQTT 客户端</string>
|
||
|
|
</property>
|
||
|
|
<property name="alignment">
|
||
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="labelVersion">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>200</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string> V1.00.00/20240905</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QLabel" name="labelTimeDate">
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>200</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string>2024-09-05 10:08:00</string>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QWidget" name="wgtMenu" native="true">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>0</width>
|
||
|
|
<height>50</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
|
<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="QPushButton" name="btnMenu">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>31</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="cursor">
|
||
|
|
<cursorShape>ArrowCursor</cursorShape>
|
||
|
|
</property>
|
||
|
|
<property name="focusPolicy">
|
||
|
|
<enum>Qt::NoFocus</enum>
|
||
|
|
</property>
|
||
|
|
<property name="toolTip">
|
||
|
|
<string>菜单</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="flat">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btnMaxMenu">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>31</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="cursor">
|
||
|
|
<cursorShape>ArrowCursor</cursorShape>
|
||
|
|
</property>
|
||
|
|
<property name="focusPolicy">
|
||
|
|
<enum>Qt::NoFocus</enum>
|
||
|
|
</property>
|
||
|
|
<property name="toolTip">
|
||
|
|
<string>最大化</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="flat">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btnMinMenu">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>31</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="cursor">
|
||
|
|
<cursorShape>ArrowCursor</cursorShape>
|
||
|
|
</property>
|
||
|
|
<property name="focusPolicy">
|
||
|
|
<enum>Qt::NoFocus</enum>
|
||
|
|
</property>
|
||
|
|
<property name="toolTip">
|
||
|
|
<string>最小化</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="flat">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="QPushButton" name="btnCloseMenu">
|
||
|
|
<property name="sizePolicy">
|
||
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
||
|
|
<horstretch>0</horstretch>
|
||
|
|
<verstretch>0</verstretch>
|
||
|
|
</sizepolicy>
|
||
|
|
</property>
|
||
|
|
<property name="minimumSize">
|
||
|
|
<size>
|
||
|
|
<width>31</width>
|
||
|
|
<height>0</height>
|
||
|
|
</size>
|
||
|
|
</property>
|
||
|
|
<property name="cursor">
|
||
|
|
<cursorShape>ArrowCursor</cursorShape>
|
||
|
|
</property>
|
||
|
|
<property name="focusPolicy">
|
||
|
|
<enum>Qt::NoFocus</enum>
|
||
|
|
</property>
|
||
|
|
<property name="toolTip">
|
||
|
|
<string>关闭</string>
|
||
|
|
</property>
|
||
|
|
<property name="text">
|
||
|
|
<string/>
|
||
|
|
</property>
|
||
|
|
<property name="flat">
|
||
|
|
<bool>true</bool>
|
||
|
|
</property>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</item>
|
||
|
|
<item>
|
||
|
|
<widget class="WidgetMQTT" name="widget" native="true"/>
|
||
|
|
</item>
|
||
|
|
</layout>
|
||
|
|
</widget>
|
||
|
|
</widget>
|
||
|
|
<layoutdefault spacing="6" margin="11"/>
|
||
|
|
<customwidgets>
|
||
|
|
<customwidget>
|
||
|
|
<class>WidgetMQTT</class>
|
||
|
|
<extends>QWidget</extends>
|
||
|
|
<header>widgetmqtt.h</header>
|
||
|
|
<container>1</container>
|
||
|
|
</customwidget>
|
||
|
|
</customwidgets>
|
||
|
|
<resources/>
|
||
|
|
<connections/>
|
||
|
|
</ui>
|