ukui-clock/clock.ui

776 lines
21 KiB
Plaintext
Raw Permalink Normal View History

2022-06-08 13:42:09 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Clock</class>
<widget class="QWidget" name="Clock">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>390</width>
<height>580</height>
</rect>
</property>
<property name="windowTitle">
<string>Alarm</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="titileWidget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="titleIcon">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="clockTitleLabel">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Alarm</string>
</property>
</widget>
</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="QPushButton" name="muteBtn">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="menuBtn">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="minmizeBtn">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="closeTitleBtn">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="switchWidget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer_2">
<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="QPushButton" name="switchClock">
<property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Alarm</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>26</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="switchCountdown">
<property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Count down</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>26</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="switchStopwatch">
<property name="minimumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Watch</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="mainWidget">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="countdownPage">
<widget class="QStackedWidget" name="countdownStackedW">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>390</width>
<height>477</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="countdownSetPage"/>
<widget class="Countdown_Animation" name="countdownRunPage">
<widget class="QWidget" name="tinyWidget" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>180</y>
<width>371</width>
<height>40</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QPushButton" name="tinyWindowBtn">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="timeWidget" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>361</width>
<height>77</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
<widget class="QLabel" name="remainTime">
<property name="styleSheet">
<string notr="true">font-size:40px;</string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="alarmWidget" native="true">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>361</width>
<height>70</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<spacer name="horizontalSpacer_7">
<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="QLabel" name="countdownAlarmIcon">
<property name="minimumSize">
<size>
<width>13</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>26</width>
<height>26</height>
</size>
</property>
<property name="text">
<string>icon</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="countdownAlarmTime">
<property name="font">
<font>
<pointsize>-1</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(176, 176, 176);
font-size:18px;
</string>
</property>
<property name="text">
<string>PM</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="btnWidget" native="true">
<property name="geometry">
<rect>
<x>9</x>
<y>386</y>
<width>361</width>
<height>48</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QPushButton" name="startCountdownBtn">
<property name="minimumSize">
<size>
<width>120</width>
<height>34</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>start</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="suspendCountdownBtn">
<property name="minimumSize">
<size>
<width>120</width>
<height>34</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>suspend</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</widget>
<widget class="QWidget" name="alarmPage">
<widget class="QPushButton" name="addAlarmBtn">
<property name="geometry">
<rect>
<x>135</x>
<y>401</y>
<width>120</width>
<height>34</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>add</string>
</property>
</widget>
<widget class="QListWidget" name="alarmListWidget">
<property name="geometry">
<rect>
<x>25</x>
<y>0</y>
<width>340</width>
<height>354</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
<widget class="QLabel" name="noAlarmIcon">
<property name="geometry">
<rect>
<x>115</x>
<y>76</y>
<width>149</width>
<height>170</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="noAlarm">
<property name="geometry">
<rect>
<x>125</x>
<y>262</y>
<width>140</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgba(49, 66, 89, 0.6);
font-size:16px;</string>
</property>
<property name="text">
<string>no alarm</string>
</property>
</widget>
<zorder>noAlarm</zorder>
<zorder>noAlarmIcon</zorder>
<zorder>addAlarmBtn</zorder>
<zorder>alarmListWidget</zorder>
</widget>
<widget class="QWidget" name="stopwatchPage">
<widget class="QPushButton" name="startStopwatch">
<property name="geometry">
<rect>
<x>210</x>
<y>401</y>
<width>120</width>
<height>34</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>start</string>
</property>
</widget>
<widget class="QLabel" name="timeShowSmall">
<property name="geometry">
<rect>
<x>90</x>
<y>55</y>
<width>210</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(176, 176, 176);
font: 19pt
</string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
</widget>
<widget class="QLabel" name="timeShowBig">
<property name="geometry">
<rect>
<x>90</x>
<y>0</y>
<width>210</width>
<height>70</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font: 30pt </string>
</property>
<property name="text">
<string>00:00:00</string>
</property>
</widget>
<widget class="QPushButton" name="ringBtn">
<property name="geometry">
<rect>
<x>65</x>
<y>401</y>
<width>120</width>
<height>34</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>count</string>
</property>
</widget>
<widget class="QListWidget" name="timeListWidget">
<property name="geometry">
<rect>
<x>25</x>
<y>109</y>
<width>340</width>
<height>277</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</widget>
<widget class="QWidget" name="addAlarmPage">
<widget class="QWidget" name="editAlarmPage" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>390</width>
<height>477</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<widget class="QPushButton" name="cancelbtnOnEditAlarm">
<property name="geometry">
<rect>
<x>65</x>
<y>425</y>
<width>120</width>
<height>34</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>cancel</string>
</property>
</widget>
<widget class="QPushButton" name="saveBtnOnEditAlarm">
<property name="geometry">
<rect>
<x>210</x>
<y>425</y>
<width>120</width>
<height>34</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>save</string>
</property>
</widget>
<widget class="QLabel" name="timeFormatOnTimeWheel">
<property name="geometry">
<rect>
<x>60</x>
<y>80</y>
<width>41</width>
<height>22</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
</widget>
</widget>
</item>
</layout>
<action name="actionOn">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>:/Images/Images/NO.png</normaloff>:/Images/Images/NO.png</iconset>
</property>
<property name="text">
<string>On</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>Countdown_Animation</class>
<extends>QWidget</extends>
<header>countdownAnimation.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>