mirror of
https://github.com/pythonguis/pythonguis-examples.git
synced 2025-01-20 16:52:54 +08:00
541 lines
16 KiB
Plaintext
541 lines
16 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>330</width>
|
||
|
<height>417</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Raindar</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralwidget">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="lineEdit">
|
||
|
<property name="text">
|
||
|
<string>Utrecht,the Netherlands</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="icon">
|
||
|
<iconset>
|
||
|
<normaloff>images/arrow-circle-225.png</normaloff>images/arrow-circle-225.png</iconset>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="weatherIcon">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="weatherLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="1" column="3">
|
||
|
<widget class="QLabel" name="forecastIcon4">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLabel" name="forecastTemp2">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="4">
|
||
|
<widget class="QLabel" name="forecastTemp5">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="3">
|
||
|
<widget class="QLabel" name="forecastTemp4">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLabel" name="forecastIcon2">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="4">
|
||
|
<widget class="QLabel" name="forecastIcon5">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="forecastIcon1">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="2">
|
||
|
<widget class="QLabel" name="forecastIcon3">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>16</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>200</width>
|
||
|
<height>16</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="baseSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="2">
|
||
|
<widget class="QLabel" name="forecastTemp3">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLabel" name="forecastTemp1">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="forecastTime1">
|
||
|
<property name="text">
|
||
|
<string>+3h</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLabel" name="forecastTime2">
|
||
|
<property name="text">
|
||
|
<string>+6h</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<widget class="QLabel" name="forecastTime3">
|
||
|
<property name="text">
|
||
|
<string>+9h</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="3">
|
||
|
<widget class="QLabel" name="forecastTime4">
|
||
|
<property name="text">
|
||
|
<string>+12h</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="4">
|
||
|
<widget class="QLabel" name="forecastTime5">
|
||
|
<property name="text">
|
||
|
<string>+15h</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="1" column="0">
|
||
|
<layout class="QFormLayout" name="formLayout">
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<weight>75</weight>
|
||
|
<bold>true</bold>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Barometer</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="0">
|
||
|
<widget class="QLabel" name="label_6">
|
||
|
<property name="text">
|
||
|
<string>Temperature</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="1">
|
||
|
<widget class="QLabel" name="temperatureLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="0">
|
||
|
<widget class="QLabel" name="label_7">
|
||
|
<property name="text">
|
||
|
<string>Humidity</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="1">
|
||
|
<widget class="QLabel" name="humidityLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="5" column="0">
|
||
|
<widget class="QLabel" name="label_8">
|
||
|
<property name="text">
|
||
|
<string>Pressure</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="5" column="1">
|
||
|
<widget class="QLabel" name="pressureLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="6" column="0">
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<weight>75</weight>
|
||
|
<bold>true</bold>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Location</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="7" column="0">
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>Longitude</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="7" column="1">
|
||
|
<widget class="QLabel" name="longitudeLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="8" column="0">
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>Latitude</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="8" column="1">
|
||
|
<widget class="QLabel" name="latitudeLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="9" column="0">
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="text">
|
||
|
<string>Sunrise</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="9" column="1">
|
||
|
<widget class="QLabel" name="sunriseLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="label_9">
|
||
|
<property name="text">
|
||
|
<string>Speed</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_10">
|
||
|
<property name="font">
|
||
|
<font>
|
||
|
<weight>75</weight>
|
||
|
<bold>true</bold>
|
||
|
</font>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Wind</string>
|
||
|
</property>
|
||
|
<property name="alignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLabel" name="windLabel">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QLabel" name="label_11">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="6" column="1">
|
||
|
<widget class="QLabel" name="label_13">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLabel" name="label_12">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|