代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>WeatherWidget</class>
<widget class="QWidget" name="WeatherWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>674</width>
<height>364</height>
</rect>
</property>
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
</font>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout_4" columnstretch="2,3">
<item row="0" column="0">
<widget class="QWidget" name="widget" native="true">
<property name="styleSheet">
<string notr="true">color: #2f3640;
background-color: #999999;
border-radius: 15px;
border-style: solid;
padding: 5px;</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_city">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>25</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 25pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>广州</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="maximumSize">
<size>
<width>2</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(200, 200, 200);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_week">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>25</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 25pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>星期一</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_date">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>12</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 12pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>2022/03/11</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_10">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>2</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(200, 200, 200);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<layout class="QGridLayout" name="gridLayout" rowstretch="1,1">
<item row="0" column="1">
<widget class="QLabel" name="label_tem">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>25</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 25pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>29度</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_humLog">
<property name="styleSheet">
<string notr="true">image: url(:/new/prefix1/resource/hum.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_hum">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>15</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 15pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>55%</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_sky">
<property name="styleSheet">
<string notr="true">image: url(:/new/prefix1/resource/weather/qingtian.bmp);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<layout class="QVBoxLayout" name="verticalLayout" stretch="2,1">
<item>
<widget class="QLabel" name="label_windLog">
<property name="styleSheet">
<string notr="true">image: url(:/new/prefix1/resource/run.png);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_wind">
<property name="font">
<font>
<family>Microsoft YaHei UI</family>
<pointsize>12</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 12pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>西北风</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>2</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(200, 200, 200);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">color: rgb(244, 244, 244);
font: 12pt "Microsoft YaHei UI";</string>
</property>
<property name="text">
<string>注意:- -</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="WeatherItem" name="widget_1" native="true">
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="WeatherItem" name="widget_2" native="true"/>
</item>
<item row="0" column="2">
<widget class="WeatherItem" name="widget_3" native="true"/>
</item>
<item row="1" column="0">
<widget class="WeatherItem" name="widget_4" native="true"/>
</item>
<item row="1" column="1">
<widget class="WeatherItem" name="widget_5" native="true"/>
</item>
<item row="1" column="2">
<widget class="WeatherItem" name="widget_6" native="true">
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>WeatherItem</class>
<extends>QWidget</extends>
<header>weatheritem.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。