qt/LedOK/wProgramManager/wEditProgram/wElement/eweatherattr.ui
2022-01-04 18:11:48 +08:00

793 lines
25 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>eWeatherAttr</class>
<widget class="QWidget" name="eWeatherAttr">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>358</width>
<height>838</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<item>
<widget class="QScrollArea" name="scrollArea">
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>344</width>
<height>821</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="ExtendedGroupBox" name="groupBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">background-color: #0D8D8D8;</string>
</property>
<property name="title">
<string>Basic Properties</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="topMargin">
<number>9</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Country</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="wCountry">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>China</string>
</property>
</item>
<item>
<property name="text">
<string>America</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_17">
<item>
<widget class="QLabel" name="wLabelProvince">
<property name="text">
<string>Province</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="wProvince">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_18">
<item>
<widget class="QLabel" name="wLabelCity">
<property name="text">
<string>City</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="wCity">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="wLabelState">
<property name="text">
<string>State</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="wState">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_19">
<item>
<widget class="QLabel" name="wLabelDistrict">
<property name="text">
<string>District</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="wDistrict">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QCheckBox" name="wWeather">
<property name="text">
<string>Weather</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="wTemp">
<property name="text">
<string>Temp.</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QCheckBox" name="wWind">
<property name="text">
<string>Wind</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="wHumi">
<property name="text">
<string>Humidity</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="wCurTemp">
<property name="text">
<string>Current Temp.</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Temp. Type</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wCelsius">
<property name="text">
<string></string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">gTempType</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wFahrenheit">
<property name="text">
<string></string>
</property>
<attribute name="buttonGroup">
<string notr="true">gTempType</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Temp. Unit</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wDegreeX">
<property name="text">
<string></string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<attribute name="buttonGroup">
<string notr="true">gTempUnit</string>
</attribute>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wDegree">
<property name="text">
<string>°</string>
</property>
<attribute name="buttonGroup">
<string notr="true">gTempUnit</string>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Custom Label</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Weather</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wLabelWeather">
<property name="text">
<string>Weather:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Temp.</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wLabelTemp">
<property name="text">
<string>Temperature:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_8">
<property name="text">
<string>Wind</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wLabelWind">
<property name="text">
<string>Wind:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>Humidity</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wLabelHumi">
<property name="text">
<string>Humidity:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>Current Temp.</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="wLabelCurTemp">
<property name="text">
<string>Current Temperature:</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_11">
<property name="text">
<string>Display Style</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wMultiline">
<property name="text">
<string>Multiline</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wScrollline">
<property name="text">
<string>Singleline(Scrolling)</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="wStaticline">
<property name="text">
<string>Singleline(Static)</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QFontComboBox" name="wFontFamily">
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="wFontSize"/>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_16">
<property name="spacing">
<number>3</number>
</property>
<item>
<widget class="QPushButton" name="wFontBold">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../icons.qrc">
<normaloff>:/res/ProgramManager/EditProgram/FontBold_u.png</normaloff>
<normalon>:/res/ProgramManager/EditProgram/FontBold_s.png</normalon>:/res/ProgramManager/EditProgram/FontBold_u.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="wFontItalics">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../icons.qrc">
<normaloff>:/res/ProgramManager/EditProgram/FontItalics_u.png</normaloff>
<normalon>:/res/ProgramManager/EditProgram/FontItalics_s.png</normalon>:/res/ProgramManager/EditProgram/FontItalics_u.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="wFontUnderline">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../../../icons.qrc">
<normaloff>:/res/ProgramManager/EditProgram/FontUnderline_u.png</normaloff>
<normalon>:/res/ProgramManager/EditProgram/FontUnderline_s.png</normalon>:/res/ProgramManager/EditProgram/FontUnderline_u.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="LoColorSelector" name="wColor">
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>T</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Play</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QLabel" name="label_12">
<property name="text">
<string>Refresh Cycle </string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="wPlayRefresh">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<number>999999999</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_13">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>min.</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>Duration</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="wPlayDuration">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximum">
<number>10000000</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>s</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>LoColorSelector</class>
<extends>QPushButton</extends>
<header>LoQClass\locolorselector.h</header>
</customwidget>
<customwidget>
<class>ExtendedGroupBox</class>
<extends>QGroupBox</extends>
<header location="global">LoQClass\extendedgroupbox.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../../../icons.qrc"/>
</resources>
<connections>
<connection>
<sender>wCelsius</sender>
<signal>toggled(bool)</signal>
<receiver>eWeatherAttr</receiver>
<slot>onCelsiusChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>133</x>
<y>174</y>
</hint>
<hint type="destinationlabel">
<x>133</x>
<y>400</y>
</hint>
</hints>
</connection>
<connection>
<sender>wFahrenheit</sender>
<signal>toggled(bool)</signal>
<receiver>eWeatherAttr</receiver>
<slot>onFahrenheitChecked(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>217</x>
<y>174</y>
</hint>
<hint type="destinationlabel">
<x>133</x>
<y>400</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onCelsiusChecked(bool)</slot>
<slot>onFahrenheitChecked(bool)</slot>
</slots>
<buttongroups>
<buttongroup name="gTempUnit"/>
<buttongroup name="gTempType"/>
</buttongroups>
</ui>