123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>AddPeriodDialog</class>
- <widget class="QDialog" name="AddPeriodDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>416</width>
- <height>273</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Dialog</string>
- </property>
- <property name="styleSheet">
- <string notr="true">QWidget#widgetBackground
- {
- background: #FFFFFF;
- border-radius: 8px;
- }
- QWidget#widgetTop
- {
- border-bottom: 1px solid #E6E9F4;
- }
- QLabel
- {
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- }
- QLabel#labelTitle
- {
- font-weight: 500;
- font-size: 18px;
- }
- QPushButton#btnClose
- {
- border-image: url(:/close.png);
- }
- QPushButton#btnClose:hover
- {
- border-image: url(:/close_hover.png);
- }
- QPushButton#btnCancel
- {
- background: #FFFFFF;
- border-radius: 16px;
- border: 1px solid #E6E9F4;
- font-weight: 500;
- font-size: 14px;
- color: #3A3F63;
- }
- QPushButton#btnCancel:hover
- {
- border: 1px solid #4458FE;
- color: #4458FE;
- }
- QPushButton#btnOK
- {
- background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #4B5EFF);
- border-radius: 16px;
- font-weight: 500;
- font-size: 14px;
- color: #FFFFFF;
- }
- QPushButton#btnOK:hover
- {
- background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #7182ff);
- }
- QComboBox
- {
- padding-left: 12px;
- font-weight: 400;
- font-size: 14px;
- color: #3A3F63;
- background: #FFFFFF;
- border-radius: 4px;
- border: 1px solid #E6E9F4;
- }
- QComboBox:hover,QComboBox:on
- {
- border: 1px solid #4458FE;
- }
- QComboBox QAbstractItemView
- {
- margin-left: 4px;
- margin-right: 20px;
- margin-bottom: 4px;
- font-size: 14px;
- background-color: #FFFFFF;
- outline:0px;
- border-radius: 4px;
- }
- QComboBox QAbstractItemView::item
- {
- border-radius: 4px;
- color: #3A3F63;
- height: 40px;
- background-color: #FFFFFF;
- font-size: 14px;
- padding-left: 12px;
- }
- QComboBox QAbstractItemView::item:hover
- {
- font-weight: 500;
- color: #3A3F63;
- background-color: #EEF2FF;
- }
- QComboBox QAbstractItemView::item:selected
- {
- font-weight: 500;
- color: #3A3F63;
- background-color: #EEF2FF;
- }
- QComboBox::down-arrow
- {
- width: 16px;
- image: url(:/down_arrow.png);
- padding-right: 8px;
- }
- QComboBox::drop-down
- {
- width: 16px;
- background-color: transparent;
- }</string>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <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>
- <property name="spacing">
- <number>0</number>
- </property>
- <item row="0" column="0">
- <widget class="QWidget" name="widgetBackground" native="true">
- <layout class="QVBoxLayout" name="verticalLayout">
- <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="widgetTop" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>57</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>57</height>
- </size>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>32</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>16</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="labelTitle">
- <property name="text">
- <string>添加时段</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnClose">
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widgetContent" native="true">
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <property name="spacing">
- <number>24</number>
- </property>
- <property name="leftMargin">
- <number>32</number>
- </property>
- <property name="topMargin">
- <number>32</number>
- </property>
- <property name="rightMargin">
- <number>32</number>
- </property>
- <property name="bottomMargin">
- <number>32</number>
- </property>
- <item>
- <widget class="QWidget" name="widgetDate" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>32</height>
- </size>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <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="QLabel" name="label_2">
- <property name="minimumSize">
- <size>
- <width>78</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>78</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string><font color = #D21F21 >*</font>日期选择:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDateTimeEdit" name="dateTimeEdit">
- <property name="minimumSize">
- <size>
- <width>274</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>274</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widgetWeek" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>32</height>
- </size>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_7">
- <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="QLabel" name="label_4">
- <property name="minimumSize">
- <size>
- <width>78</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>78</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" color:#d21f21;">*</span>星期选择:</p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="comboBox">
- <property name="minimumSize">
- <size>
- <width>274</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>274</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widgetTime" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>32</height>
- </size>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <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="QLabel" name="label_3">
- <property name="minimumSize">
- <size>
- <width>78</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>78</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string><font color = #D21F21 >*</font>时段选择:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget_2" native="true">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>125</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label">
- <property name="minimumSize">
- <size>
- <width>24</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>24</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>-</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget" native="true">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>125</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widgetBottom" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>64</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>64</height>
- </size>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="spacing">
- <number>16</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>32</number>
- </property>
- <property name="bottomMargin">
- <number>32</number>
- </property>
- <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="btnCancel">
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>取消</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnOK">
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>32</height>
- </size>
- </property>
- <property name="text">
- <string>确定</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
- </ui>
|