addperioddialog.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AddPeriodDialog</class>
  4. <widget class="QDialog" name="AddPeriodDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>416</width>
  10. <height>273</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QWidget#widgetBackground
  18. {
  19. background: #FFFFFF;
  20. border-radius: 8px;
  21. }
  22. QWidget#widgetTop
  23. {
  24. border-bottom: 1px solid #E6E9F4;
  25. }
  26. QLabel
  27. {
  28. font-weight: 400;
  29. font-size: 14px;
  30. color: #3A3F63;
  31. }
  32. QLabel#labelTitle
  33. {
  34. font-weight: 500;
  35. font-size: 18px;
  36. }
  37. QPushButton#btnClose
  38. {
  39. border-image: url(:/close.png);
  40. }
  41. QPushButton#btnClose:hover
  42. {
  43. border-image: url(:/close_hover.png);
  44. }
  45. QPushButton#btnCancel
  46. {
  47. background: #FFFFFF;
  48. border-radius: 16px;
  49. border: 1px solid #E6E9F4;
  50. font-weight: 500;
  51. font-size: 14px;
  52. color: #3A3F63;
  53. }
  54. QPushButton#btnCancel:hover
  55. {
  56. border: 1px solid #4458FE;
  57. color: #4458FE;
  58. }
  59. QPushButton#btnOK
  60. {
  61. background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #4B5EFF);
  62. border-radius: 16px;
  63. font-weight: 500;
  64. font-size: 14px;
  65. color: #FFFFFF;
  66. }
  67. QPushButton#btnOK:hover
  68. {
  69. background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #7182ff);
  70. }
  71. QComboBox
  72. {
  73. padding-left: 12px;
  74. font-weight: 400;
  75. font-size: 14px;
  76. color: #3A3F63;
  77. background: #FFFFFF;
  78. border-radius: 4px;
  79. border: 1px solid #E6E9F4;
  80. }
  81. QComboBox:hover,QComboBox:on
  82. {
  83. border: 1px solid #4458FE;
  84. }
  85. QComboBox QAbstractItemView
  86. {
  87. margin-left: 4px;
  88. margin-right: 20px;
  89. margin-bottom: 4px;
  90. font-size: 14px;
  91. background-color: #FFFFFF;
  92. outline:0px;
  93. border-radius: 4px;
  94. }
  95. QComboBox QAbstractItemView::item
  96. {
  97. border-radius: 4px;
  98. color: #3A3F63;
  99. height: 40px;
  100. background-color: #FFFFFF;
  101. font-size: 14px;
  102. padding-left: 12px;
  103. }
  104. QComboBox QAbstractItemView::item:hover
  105. {
  106. font-weight: 500;
  107. color: #3A3F63;
  108. background-color: #EEF2FF;
  109. }
  110. QComboBox QAbstractItemView::item:selected
  111. {
  112. font-weight: 500;
  113. color: #3A3F63;
  114. background-color: #EEF2FF;
  115. }
  116. QComboBox::down-arrow
  117. {
  118. width: 16px;
  119. image: url(:/down_arrow.png);
  120. padding-right: 8px;
  121. }
  122. QComboBox::drop-down
  123. {
  124. width: 16px;
  125. background-color: transparent;
  126. }</string>
  127. </property>
  128. <layout class="QGridLayout" name="gridLayout">
  129. <property name="leftMargin">
  130. <number>0</number>
  131. </property>
  132. <property name="topMargin">
  133. <number>0</number>
  134. </property>
  135. <property name="rightMargin">
  136. <number>0</number>
  137. </property>
  138. <property name="bottomMargin">
  139. <number>0</number>
  140. </property>
  141. <property name="spacing">
  142. <number>0</number>
  143. </property>
  144. <item row="0" column="0">
  145. <widget class="QWidget" name="widgetBackground" native="true">
  146. <layout class="QVBoxLayout" name="verticalLayout">
  147. <property name="spacing">
  148. <number>0</number>
  149. </property>
  150. <property name="leftMargin">
  151. <number>0</number>
  152. </property>
  153. <property name="topMargin">
  154. <number>0</number>
  155. </property>
  156. <property name="rightMargin">
  157. <number>0</number>
  158. </property>
  159. <property name="bottomMargin">
  160. <number>0</number>
  161. </property>
  162. <item>
  163. <widget class="QWidget" name="widgetTop" native="true">
  164. <property name="minimumSize">
  165. <size>
  166. <width>0</width>
  167. <height>57</height>
  168. </size>
  169. </property>
  170. <property name="maximumSize">
  171. <size>
  172. <width>16777215</width>
  173. <height>57</height>
  174. </size>
  175. </property>
  176. <layout class="QHBoxLayout" name="horizontalLayout_4">
  177. <property name="spacing">
  178. <number>0</number>
  179. </property>
  180. <property name="leftMargin">
  181. <number>32</number>
  182. </property>
  183. <property name="topMargin">
  184. <number>0</number>
  185. </property>
  186. <property name="rightMargin">
  187. <number>16</number>
  188. </property>
  189. <property name="bottomMargin">
  190. <number>0</number>
  191. </property>
  192. <item>
  193. <widget class="QLabel" name="labelTitle">
  194. <property name="text">
  195. <string>添加时段</string>
  196. </property>
  197. </widget>
  198. </item>
  199. <item>
  200. <widget class="QPushButton" name="btnClose">
  201. <property name="minimumSize">
  202. <size>
  203. <width>32</width>
  204. <height>32</height>
  205. </size>
  206. </property>
  207. <property name="maximumSize">
  208. <size>
  209. <width>32</width>
  210. <height>32</height>
  211. </size>
  212. </property>
  213. <property name="text">
  214. <string/>
  215. </property>
  216. </widget>
  217. </item>
  218. </layout>
  219. </widget>
  220. </item>
  221. <item>
  222. <widget class="QWidget" name="widgetContent" native="true">
  223. <layout class="QVBoxLayout" name="verticalLayout_2">
  224. <property name="spacing">
  225. <number>24</number>
  226. </property>
  227. <property name="leftMargin">
  228. <number>32</number>
  229. </property>
  230. <property name="topMargin">
  231. <number>32</number>
  232. </property>
  233. <property name="rightMargin">
  234. <number>32</number>
  235. </property>
  236. <property name="bottomMargin">
  237. <number>32</number>
  238. </property>
  239. <item>
  240. <widget class="QWidget" name="widgetDate" native="true">
  241. <property name="minimumSize">
  242. <size>
  243. <width>0</width>
  244. <height>32</height>
  245. </size>
  246. </property>
  247. <property name="maximumSize">
  248. <size>
  249. <width>16777215</width>
  250. <height>32</height>
  251. </size>
  252. </property>
  253. <layout class="QHBoxLayout" name="horizontalLayout_5">
  254. <property name="spacing">
  255. <number>0</number>
  256. </property>
  257. <property name="leftMargin">
  258. <number>0</number>
  259. </property>
  260. <property name="topMargin">
  261. <number>0</number>
  262. </property>
  263. <property name="rightMargin">
  264. <number>0</number>
  265. </property>
  266. <property name="bottomMargin">
  267. <number>0</number>
  268. </property>
  269. <item>
  270. <widget class="QLabel" name="label_2">
  271. <property name="minimumSize">
  272. <size>
  273. <width>78</width>
  274. <height>0</height>
  275. </size>
  276. </property>
  277. <property name="maximumSize">
  278. <size>
  279. <width>78</width>
  280. <height>16777215</height>
  281. </size>
  282. </property>
  283. <property name="text">
  284. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;日期选择:</string>
  285. </property>
  286. <property name="alignment">
  287. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  288. </property>
  289. </widget>
  290. </item>
  291. <item>
  292. <widget class="QDateTimeEdit" name="dateTimeEdit">
  293. <property name="minimumSize">
  294. <size>
  295. <width>274</width>
  296. <height>32</height>
  297. </size>
  298. </property>
  299. <property name="maximumSize">
  300. <size>
  301. <width>274</width>
  302. <height>32</height>
  303. </size>
  304. </property>
  305. </widget>
  306. </item>
  307. </layout>
  308. </widget>
  309. </item>
  310. <item>
  311. <widget class="QWidget" name="widgetWeek" native="true">
  312. <property name="minimumSize">
  313. <size>
  314. <width>0</width>
  315. <height>32</height>
  316. </size>
  317. </property>
  318. <property name="maximumSize">
  319. <size>
  320. <width>16777215</width>
  321. <height>32</height>
  322. </size>
  323. </property>
  324. <layout class="QHBoxLayout" name="horizontalLayout_7">
  325. <property name="spacing">
  326. <number>0</number>
  327. </property>
  328. <property name="leftMargin">
  329. <number>0</number>
  330. </property>
  331. <property name="topMargin">
  332. <number>0</number>
  333. </property>
  334. <property name="rightMargin">
  335. <number>0</number>
  336. </property>
  337. <property name="bottomMargin">
  338. <number>0</number>
  339. </property>
  340. <item>
  341. <widget class="QLabel" name="label_4">
  342. <property name="minimumSize">
  343. <size>
  344. <width>78</width>
  345. <height>0</height>
  346. </size>
  347. </property>
  348. <property name="maximumSize">
  349. <size>
  350. <width>78</width>
  351. <height>16777215</height>
  352. </size>
  353. </property>
  354. <property name="text">
  355. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#d21f21;&quot;&gt;*&lt;/span&gt;星期选择:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  356. </property>
  357. <property name="alignment">
  358. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  359. </property>
  360. </widget>
  361. </item>
  362. <item>
  363. <widget class="QComboBox" name="comboBox">
  364. <property name="minimumSize">
  365. <size>
  366. <width>274</width>
  367. <height>32</height>
  368. </size>
  369. </property>
  370. <property name="maximumSize">
  371. <size>
  372. <width>274</width>
  373. <height>32</height>
  374. </size>
  375. </property>
  376. </widget>
  377. </item>
  378. </layout>
  379. </widget>
  380. </item>
  381. <item>
  382. <widget class="QWidget" name="widgetTime" native="true">
  383. <property name="minimumSize">
  384. <size>
  385. <width>0</width>
  386. <height>32</height>
  387. </size>
  388. </property>
  389. <property name="maximumSize">
  390. <size>
  391. <width>16777215</width>
  392. <height>32</height>
  393. </size>
  394. </property>
  395. <layout class="QHBoxLayout" name="horizontalLayout_6">
  396. <property name="spacing">
  397. <number>0</number>
  398. </property>
  399. <property name="leftMargin">
  400. <number>0</number>
  401. </property>
  402. <property name="topMargin">
  403. <number>0</number>
  404. </property>
  405. <property name="rightMargin">
  406. <number>0</number>
  407. </property>
  408. <property name="bottomMargin">
  409. <number>0</number>
  410. </property>
  411. <item>
  412. <widget class="QLabel" name="label_3">
  413. <property name="minimumSize">
  414. <size>
  415. <width>78</width>
  416. <height>0</height>
  417. </size>
  418. </property>
  419. <property name="maximumSize">
  420. <size>
  421. <width>78</width>
  422. <height>16777215</height>
  423. </size>
  424. </property>
  425. <property name="text">
  426. <string>&lt;font color = #D21F21 &gt;*&lt;/font&gt;时段选择:</string>
  427. </property>
  428. <property name="alignment">
  429. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  430. </property>
  431. </widget>
  432. </item>
  433. <item>
  434. <widget class="QWidget" name="widget_2" native="true">
  435. <property name="minimumSize">
  436. <size>
  437. <width>125</width>
  438. <height>32</height>
  439. </size>
  440. </property>
  441. <property name="maximumSize">
  442. <size>
  443. <width>125</width>
  444. <height>32</height>
  445. </size>
  446. </property>
  447. </widget>
  448. </item>
  449. <item>
  450. <widget class="QLabel" name="label">
  451. <property name="minimumSize">
  452. <size>
  453. <width>24</width>
  454. <height>0</height>
  455. </size>
  456. </property>
  457. <property name="maximumSize">
  458. <size>
  459. <width>24</width>
  460. <height>16777215</height>
  461. </size>
  462. </property>
  463. <property name="text">
  464. <string>-</string>
  465. </property>
  466. <property name="alignment">
  467. <set>Qt::AlignCenter</set>
  468. </property>
  469. </widget>
  470. </item>
  471. <item>
  472. <widget class="QWidget" name="widget" native="true">
  473. <property name="minimumSize">
  474. <size>
  475. <width>125</width>
  476. <height>32</height>
  477. </size>
  478. </property>
  479. <property name="maximumSize">
  480. <size>
  481. <width>125</width>
  482. <height>32</height>
  483. </size>
  484. </property>
  485. </widget>
  486. </item>
  487. </layout>
  488. </widget>
  489. </item>
  490. </layout>
  491. </widget>
  492. </item>
  493. <item>
  494. <widget class="QWidget" name="widgetBottom" native="true">
  495. <property name="minimumSize">
  496. <size>
  497. <width>0</width>
  498. <height>64</height>
  499. </size>
  500. </property>
  501. <property name="maximumSize">
  502. <size>
  503. <width>16777215</width>
  504. <height>64</height>
  505. </size>
  506. </property>
  507. <layout class="QHBoxLayout" name="horizontalLayout_3">
  508. <property name="spacing">
  509. <number>16</number>
  510. </property>
  511. <property name="leftMargin">
  512. <number>0</number>
  513. </property>
  514. <property name="topMargin">
  515. <number>0</number>
  516. </property>
  517. <property name="rightMargin">
  518. <number>32</number>
  519. </property>
  520. <property name="bottomMargin">
  521. <number>32</number>
  522. </property>
  523. <item>
  524. <spacer name="horizontalSpacer">
  525. <property name="orientation">
  526. <enum>Qt::Horizontal</enum>
  527. </property>
  528. <property name="sizeHint" stdset="0">
  529. <size>
  530. <width>40</width>
  531. <height>20</height>
  532. </size>
  533. </property>
  534. </spacer>
  535. </item>
  536. <item>
  537. <widget class="QPushButton" name="btnCancel">
  538. <property name="minimumSize">
  539. <size>
  540. <width>60</width>
  541. <height>32</height>
  542. </size>
  543. </property>
  544. <property name="maximumSize">
  545. <size>
  546. <width>60</width>
  547. <height>32</height>
  548. </size>
  549. </property>
  550. <property name="text">
  551. <string>取消</string>
  552. </property>
  553. </widget>
  554. </item>
  555. <item>
  556. <widget class="QPushButton" name="btnOK">
  557. <property name="minimumSize">
  558. <size>
  559. <width>60</width>
  560. <height>32</height>
  561. </size>
  562. </property>
  563. <property name="maximumSize">
  564. <size>
  565. <width>60</width>
  566. <height>32</height>
  567. </size>
  568. </property>
  569. <property name="text">
  570. <string>确定</string>
  571. </property>
  572. </widget>
  573. </item>
  574. </layout>
  575. </widget>
  576. </item>
  577. </layout>
  578. </widget>
  579. </item>
  580. </layout>
  581. </widget>
  582. <resources/>
  583. <connections/>
  584. </ui>