500 lines
13 KiB
XML
500 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>dateTimeSelectionPanel</class>
|
|
<widget class="QWidget" name="dateTimeSelectionPanel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>325</width>
|
|
<height>258</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="contentWidget" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #contentWidget
|
|
{
|
|
background-color:rgba(36,43,50,250);
|
|
}</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0">
|
|
<property name="spacing">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="topBar" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #topBar
|
|
{
|
|
background-color: rgb(50, 57, 67);
|
|
}</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_prevMonth">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
border:0px;
|
|
background-color:transparent;
|
|
icon-size:18px;
|
|
icon: url(:/images/icon_left.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(76, 86, 102);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>71</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hLayout_date">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_year">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>46</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>46</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>2024</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_year">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>23</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>23</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 12pt "微软雅黑";
|
|
color:rgb(250,250,250);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>年</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_month">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
font: 12pt "微软雅黑";
|
|
color:rgb(250,250,250);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>10</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_month">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>23</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>23</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">font: 12pt "微软雅黑";
|
|
color:rgb(250,250,250);</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>月</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignmentFlag::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>71</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_nextMonth">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>36</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>26</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
border:0px;
|
|
background-color:transparent;
|
|
icon-size:18px;
|
|
icon: url(:/images/icon_right.png);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color: rgb(76, 86, 102);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:transparent;
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="calendarFrame" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget #calendarFrame
|
|
{
|
|
background-color: transparent;
|
|
}
|
|
</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="vLayout_calendar">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="hLayout_bottom">
|
|
<property name="spacing">
|
|
<number>15</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_currentTime">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>61</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>61</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
color: rgb(90, 188, 231);
|
|
font: 10pt "微软雅黑";
|
|
border:0px;
|
|
border-radius:2px;
|
|
background-color:transparent;
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
color: rgb(64, 229, 240);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
color: rgb(90, 188, 231);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>回到今天</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_confirm">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>51</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>51</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
color: rgb(250, 250, 250);
|
|
font: 10pt "微软雅黑";
|
|
border:0px;
|
|
border-radius:2px;
|
|
background-color:rgb(67,160,249);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgb(55,131,204);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:rgb(67,160,249);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>确定</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_cancle">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>51</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>51</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton
|
|
{
|
|
color: rgb(250, 250, 250);
|
|
font: 10pt "微软雅黑";
|
|
border:1px solid rgb(76, 86, 102);
|
|
border-radius:2px;
|
|
background-color:rgb(24,32,38);
|
|
}
|
|
QPushButton:hover
|
|
{
|
|
background-color:rgb(8,11,13);
|
|
}
|
|
QPushButton:pressed
|
|
{
|
|
background-color:rgb(24,32,38);
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>取消</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../resource/PowerMaster.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|