615 lines
14 KiB
XML
615 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Widget</class>
|
|
<widget class="QWidget" name="Widget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>721</width>
|
|
<height>622</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Widget</string>
|
|
</property>
|
|
<widget class="QListView" name="listView">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>90</y>
|
|
<width>701</width>
|
|
<height>461</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">background-color: rgba(255, 255, 255, 20);
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lightPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>110</y>
|
|
<width>91</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="lightBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>210</y>
|
|
<width>93</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>灯光</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="airconditionPicyureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>110</y>
|
|
<width>91</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="airconditionBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>210</y>
|
|
<width>93</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>空调</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="cameraBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>210</y>
|
|
<width>93</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>摄像头</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="cameraPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>110</y>
|
|
<width>91</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="switchPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>100</y>
|
|
<width>331</width>
|
|
<height>161</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="Line" name="line">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>350</x>
|
|
<y>100</y>
|
|
<width>20</width>
|
|
<height>441</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="Line" name="line_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>260</y>
|
|
<width>321</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="humidityDisplayLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>330</y>
|
|
<width>101</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lightIntensityDisplayLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>390</y>
|
|
<width>101</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="temperationSymbolLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>280</y>
|
|
<width>61</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="humiditySymbolLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>330</y>
|
|
<width>61</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lightIntensitySymbolLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>390</y>
|
|
<width>61</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>10</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Lux/lx</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="Line" name="line_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>450</y>
|
|
<width>331</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="historyDataBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>470</y>
|
|
<width>121</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>历史数据</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="setSecureValueBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>220</x>
|
|
<y>470</y>
|
|
<width>121</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>设置安全阈值</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>100</y>
|
|
<width>331</width>
|
|
<height>441</height>
|
|
</rect>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>1</number>
|
|
</property>
|
|
<widget class="QWidget" name="lightPage">
|
|
<widget class="QLabel" name="livingLightONOFFPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>190</x>
|
|
<y>150</y>
|
|
<width>101</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="livingLightONOFFBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>150</y>
|
|
<width>121</width>
|
|
<height>71</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>客厅灯 ON</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="bedroomLightONOFFPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>190</x>
|
|
<y>350</y>
|
|
<width>101</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="bedroomLightONOFFBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>350</y>
|
|
<width>121</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>卧室灯 ON</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lightTitleLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>131</x>
|
|
<y>10</y>
|
|
<width>71</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 85, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>灯光</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="airconditionPage">
|
|
<widget class="QLabel" name="airconditionTitleLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>130</x>
|
|
<y>10</y>
|
|
<width>72</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 85, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>空调</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="airconditionONOFFBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>310</y>
|
|
<width>131</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>空调 ON</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="airconditionONOFFPictureLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>170</y>
|
|
<width>131</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="cameraPage">
|
|
<widget class="QLabel" name="cameraTitleLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>130</x>
|
|
<y>10</y>
|
|
<width>72</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>16</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(0, 85, 255);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>摄像头</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="cameraShowPageLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>40</y>
|
|
<width>331</width>
|
|
<height>401</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="cameraStartBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>380</y>
|
|
<width>93</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>开始</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="cameraStopBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>220</x>
|
|
<y>380</y>
|
|
<width>93</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>暂停</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>220</x>
|
|
<y>20</y>
|
|
<width>281</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>20</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">color: rgb(255, 0, 0);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string> 智能家居控制平台</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="temperationLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>280</y>
|
|
<width>121</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>温 度:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="humidityLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>330</y>
|
|
<width>121</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>湿 度:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lightIntensityLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>390</y>
|
|
<width>121</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>华文行楷</family>
|
|
<pointsize>14</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>光照强度:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="TemDisplayLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>280</y>
|
|
<width>101</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<zorder>switchPictureLabel</zorder>
|
|
<zorder>listView</zorder>
|
|
<zorder>lightPictureLabel</zorder>
|
|
<zorder>lightBtn</zorder>
|
|
<zorder>airconditionPicyureLabel</zorder>
|
|
<zorder>airconditionBtn</zorder>
|
|
<zorder>cameraBtn</zorder>
|
|
<zorder>cameraPictureLabel</zorder>
|
|
<zorder>line</zorder>
|
|
<zorder>line_2</zorder>
|
|
<zorder>humidityDisplayLabel</zorder>
|
|
<zorder>lightIntensityDisplayLabel</zorder>
|
|
<zorder>temperationSymbolLabel</zorder>
|
|
<zorder>humiditySymbolLabel</zorder>
|
|
<zorder>lightIntensitySymbolLabel</zorder>
|
|
<zorder>line_3</zorder>
|
|
<zorder>historyDataBtn</zorder>
|
|
<zorder>setSecureValueBtn</zorder>
|
|
<zorder>stackedWidget</zorder>
|
|
<zorder>label_2</zorder>
|
|
<zorder>temperationLabel</zorder>
|
|
<zorder>humidityLabel</zorder>
|
|
<zorder>lightIntensityLabel</zorder>
|
|
<zorder>TemDisplayLabel</zorder>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|