serialicon/mainwindow.ui
2024-10-26 14:40:04 +08:00

479 lines
13 KiB
XML

<?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>662</width>
<height>473</height>
</rect>
</property>
<property name="windowTitle">
<string>Serialicon by Tmithy Yin</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="horizontalLayoutWidget_10">
<property name="geometry">
<rect>
<x>50</x>
<y>360</y>
<width>561</width>
<height>41</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QLabel" name="label_12">
<property name="text">
<string>人体感应情况</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_body_status" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background: rgb(143, 240, 164);</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<widget class="QLabel" name="label_13">
<property name="text">
<string>气体监测状态</string>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_gas_status" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background: rgb(143, 240, 164);</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QFrame" name="frame">
<property name="geometry">
<rect>
<x>40</x>
<y>90</y>
<width>231</width>
<height>261</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>0</y>
<width>211</width>
<height>261</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>系统模式设置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_sys_mode">
<item>
<property name="text">
<string>安防模式</string>
</property>
</item>
<item>
<property name="text">
<string>普通监测</string>
</property>
</item>
<item>
<property name="text">
<string>停止工作</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>采集周期设置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_cycle">
<item>
<property name="text">
<string>500ms</string>
</property>
</item>
<item>
<property name="text">
<string>1s</string>
</property>
</item>
<item>
<property name="text">
<string>2s</string>
</property>
</item>
<item>
<property name="text">
<string>5s</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>温度采集设置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_temp_fetch">
<item>
<property name="text">
<string>开始采集</string>
</property>
</item>
<item>
<property name="text">
<string>停止采集</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>人体感应设置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_body_fetch">
<item>
<property name="text">
<string>LED灯告警</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>气体感应设置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_gas_fetch">
<item>
<property name="text">
<string>采集状态</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QFrame" name="frame_2">
<property name="geometry">
<rect>
<x>280</x>
<y>90</y>
<width>341</width>
<height>261</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>322</width>
<height>241</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>当前温度(C)</string>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="lcdNumber_temp">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="smallDecimalPoint">
<bool>false</bool>
</property>
<property name="digitCount">
<number>6</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::SegmentStyle::Filled</enum>
</property>
<property name="value" stdset="0">
<double>30.125000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_max_temp">
<property name="text">
<string>最高温度: 85C</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_min_temp">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>最低温度: 29.5C</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="pushButton_temp_details">
<property name="text">
<string>温度详细信息</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_gas_current">
<property name="text">
<string>当前气体浓度: 0.00122</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_gas_max">
<property name="text">
<string>最高气体浓度: 0.001220</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item>
<widget class="QPushButton" name="pushButton_gas_details">
<property name="text">
<string>气体监测详情</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QFrame" name="frame_5">
<property name="geometry">
<rect>
<x>39</x>
<y>30</y>
<width>581</width>
<height>51</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::Shape::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Shadow::Raised</enum>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>561</width>
<height>32</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>12</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>串口配置</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_serial">
<property name="placeholderText">
<string>未发现串口</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_baud">
<item>
<property name="text">
<string>2400</string>
</property>
</item>
<item>
<property name="text">
<string>4800</string>
</property>
</item>
<item>
<property name="text">
<string>9600</string>
</property>
</item>
<item>
<property name="text">
<string>115200</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_serial_search">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>搜索串口</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_serial_toggle">
<property name="text">
<string>打开串口</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>662</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources/>
<connections/>
</ui>