checkperiodwidget.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CheckPeriodWidget</class>
  4. <widget class="QWidget" name="CheckPeriodWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>352</width>
  10. <height>721</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QWidget#widget_2,#widget_3
  18. {
  19. border-bottom: 1px solid #E9E9E9;
  20. }
  21. QLabel
  22. {
  23. font-weight: 400;
  24. font-size: 14px;
  25. color: #3A3F63;
  26. }
  27. QLabel#label,#label_6
  28. {
  29. image: url(:/tip.png);
  30. }
  31. QLabel#label_2,#label_7
  32. {
  33. color: rgba(58,63,99,0.8);
  34. }
  35. QLabel#label_4,#label_5
  36. {
  37. font-weight: 500;
  38. font-size: 16px;
  39. }
  40. QComboBox
  41. {
  42. padding-left: 12px;
  43. font-weight: 400;
  44. font-size: 14px;
  45. color: #3A3F63;
  46. background: #FFFFFF;
  47. border-radius: 4px;
  48. border: 1px solid #E6E9F4;
  49. }
  50. QComboBox:hover,QComboBox:on
  51. {
  52. border: 1px solid #4458FE;
  53. }
  54. QComboBox QAbstractItemView
  55. {
  56. margin-left: 4px;
  57. margin-right: 20px;
  58. margin-bottom: 4px;
  59. font-size: 14px;
  60. background-color: #FFFFFF;
  61. outline:0px;
  62. border-radius: 4px;
  63. }
  64. QComboBox QAbstractItemView::item {
  65. border-radius: 4px;
  66. color: #3A3F63;
  67. height: 40px;
  68. background-color: #FFFFFF;
  69. font-size: 14px;
  70. padding-left: 12px;
  71. }
  72. QComboBox QAbstractItemView::item:hover
  73. {
  74. font-weight: 500;
  75. color: #3A3F63;
  76. background-color: #EEF2FF;
  77. }
  78. QComboBox QAbstractItemView::item:selected
  79. {
  80. font-weight: 500;
  81. color: #3A3F63;
  82. background-color: #EEF2FF;
  83. }
  84. QComboBox::down-arrow
  85. {
  86. width: 16px;
  87. image: url(:/down_arrow.png);
  88. padding-right: 8px;
  89. }
  90. QComboBox::drop-down
  91. {
  92. width: 16px;
  93. background-color: transparent;
  94. }
  95. QPushButton#btnCheckAdd,#btnNoCheckAdd
  96. {
  97. background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #4B5EFF);
  98. border-radius: 4px;
  99. font-weight: 500;
  100. font-size: 14px;
  101. color: #FFFFFF;
  102. }
  103. QPushButton#btnCheckAdd:hover,#btnNoCheckAdd:hover
  104. {
  105. background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 #4F8AFF, stop:1 #7182ff);
  106. }
  107. QPushButton#btnRestore
  108. {
  109. background: #FFFFFF;
  110. border-radius: 4px;
  111. border: 1px solid #E6E9F4;
  112. font-weight: 500;
  113. font-size: 14px;
  114. color: #3A3F63;
  115. }
  116. QPushButton#btnRestore:hover
  117. {
  118. border: 1px solid #4458FE;
  119. color: #4458FE;
  120. }
  121. QCheckBox
  122. {
  123. font-weight: 400;
  124. font-size: 14px;
  125. color: #3A3F63;
  126. }
  127. QCheckBox::indicator
  128. {
  129. width: 16px;
  130. height: 16px;
  131. }
  132. QCheckBox::indicator:unchecked
  133. {
  134. image: url(:/unchecked.png);
  135. }
  136. QCheckBox::indicator:checked
  137. {
  138. image: url(:/checked.png);
  139. }</string>
  140. </property>
  141. <layout class="QVBoxLayout" name="verticalLayout_4">
  142. <property name="spacing">
  143. <number>24</number>
  144. </property>
  145. <property name="leftMargin">
  146. <number>0</number>
  147. </property>
  148. <property name="topMargin">
  149. <number>24</number>
  150. </property>
  151. <property name="rightMargin">
  152. <number>0</number>
  153. </property>
  154. <property name="bottomMargin">
  155. <number>0</number>
  156. </property>
  157. <item>
  158. <widget class="QWidget" name="widget" native="true">
  159. <layout class="QVBoxLayout" name="verticalLayout_3">
  160. <property name="spacing">
  161. <number>16</number>
  162. </property>
  163. <property name="leftMargin">
  164. <number>0</number>
  165. </property>
  166. <property name="topMargin">
  167. <number>0</number>
  168. </property>
  169. <property name="rightMargin">
  170. <number>0</number>
  171. </property>
  172. <property name="bottomMargin">
  173. <number>0</number>
  174. </property>
  175. <item>
  176. <layout class="QHBoxLayout" name="horizontalLayout_5">
  177. <property name="spacing">
  178. <number>4</number>
  179. </property>
  180. <item>
  181. <widget class="QLabel" name="label">
  182. <property name="minimumSize">
  183. <size>
  184. <width>16</width>
  185. <height>16</height>
  186. </size>
  187. </property>
  188. <property name="maximumSize">
  189. <size>
  190. <width>16</width>
  191. <height>16</height>
  192. </size>
  193. </property>
  194. <property name="text">
  195. <string/>
  196. </property>
  197. </widget>
  198. </item>
  199. <item>
  200. <widget class="QLabel" name="label_2">
  201. <property name="text">
  202. <string>起始时间和结束时间相同时,将全天候检测</string>
  203. </property>
  204. </widget>
  205. </item>
  206. </layout>
  207. </item>
  208. <item>
  209. <layout class="QHBoxLayout" name="horizontalLayout_4">
  210. <property name="spacing">
  211. <number>0</number>
  212. </property>
  213. <item>
  214. <widget class="QLabel" name="label_3">
  215. <property name="text">
  216. <string>选择对比项:</string>
  217. </property>
  218. </widget>
  219. </item>
  220. <item>
  221. <widget class="QComboBox" name="comboBox">
  222. <property name="minimumSize">
  223. <size>
  224. <width>268</width>
  225. <height>32</height>
  226. </size>
  227. </property>
  228. <property name="maximumSize">
  229. <size>
  230. <width>268</width>
  231. <height>32</height>
  232. </size>
  233. </property>
  234. </widget>
  235. </item>
  236. </layout>
  237. </item>
  238. </layout>
  239. </widget>
  240. </item>
  241. <item>
  242. <widget class="QWidget" name="widget_2" native="true">
  243. <layout class="QVBoxLayout" name="verticalLayout_2">
  244. <property name="spacing">
  245. <number>16</number>
  246. </property>
  247. <property name="leftMargin">
  248. <number>0</number>
  249. </property>
  250. <property name="topMargin">
  251. <number>0</number>
  252. </property>
  253. <property name="rightMargin">
  254. <number>0</number>
  255. </property>
  256. <property name="bottomMargin">
  257. <number>24</number>
  258. </property>
  259. <item>
  260. <layout class="QHBoxLayout" name="horizontalLayout_3">
  261. <property name="spacing">
  262. <number>0</number>
  263. </property>
  264. <item>
  265. <widget class="QLabel" name="label_4">
  266. <property name="text">
  267. <string>不一致检测计划</string>
  268. </property>
  269. </widget>
  270. </item>
  271. <item>
  272. <widget class="QPushButton" name="btnCheckAdd">
  273. <property name="minimumSize">
  274. <size>
  275. <width>60</width>
  276. <height>32</height>
  277. </size>
  278. </property>
  279. <property name="maximumSize">
  280. <size>
  281. <width>60</width>
  282. <height>32</height>
  283. </size>
  284. </property>
  285. <property name="text">
  286. <string>添加</string>
  287. </property>
  288. </widget>
  289. </item>
  290. </layout>
  291. </item>
  292. <item>
  293. <widget class="QWidget" name="widgetCheckList" native="true"/>
  294. </item>
  295. </layout>
  296. </widget>
  297. </item>
  298. <item>
  299. <widget class="QWidget" name="widget_3" native="true">
  300. <layout class="QVBoxLayout" name="verticalLayout">
  301. <property name="spacing">
  302. <number>16</number>
  303. </property>
  304. <property name="leftMargin">
  305. <number>0</number>
  306. </property>
  307. <property name="topMargin">
  308. <number>0</number>
  309. </property>
  310. <property name="rightMargin">
  311. <number>0</number>
  312. </property>
  313. <property name="bottomMargin">
  314. <number>24</number>
  315. </property>
  316. <item>
  317. <layout class="QHBoxLayout" name="horizontalLayout_2">
  318. <property name="spacing">
  319. <number>0</number>
  320. </property>
  321. <item>
  322. <widget class="QLabel" name="label_5">
  323. <property name="text">
  324. <string>不检测日期列表</string>
  325. </property>
  326. </widget>
  327. </item>
  328. <item>
  329. <widget class="QPushButton" name="btnNoCheckAdd">
  330. <property name="minimumSize">
  331. <size>
  332. <width>60</width>
  333. <height>32</height>
  334. </size>
  335. </property>
  336. <property name="maximumSize">
  337. <size>
  338. <width>60</width>
  339. <height>32</height>
  340. </size>
  341. </property>
  342. <property name="text">
  343. <string>添加</string>
  344. </property>
  345. </widget>
  346. </item>
  347. </layout>
  348. </item>
  349. <item>
  350. <widget class="QWidget" name="widgetNoCheckList" native="true"/>
  351. </item>
  352. <item>
  353. <layout class="QGridLayout" name="gridLayout">
  354. <property name="horizontalSpacing">
  355. <number>0</number>
  356. </property>
  357. <property name="verticalSpacing">
  358. <number>16</number>
  359. </property>
  360. <item row="0" column="1">
  361. <widget class="QCheckBox" name="checkBox_3">
  362. <property name="text">
  363. <string>应用于过载检测</string>
  364. </property>
  365. </widget>
  366. </item>
  367. <item row="1" column="1">
  368. <widget class="QCheckBox" name="checkBox_5">
  369. <property name="text">
  370. <string>应用于噪音检测</string>
  371. </property>
  372. </widget>
  373. </item>
  374. <item row="0" column="0">
  375. <widget class="QCheckBox" name="checkBox_2">
  376. <property name="text">
  377. <string>应用于静音检测</string>
  378. </property>
  379. </widget>
  380. </item>
  381. <item row="1" column="0">
  382. <widget class="QCheckBox" name="checkBox_4">
  383. <property name="text">
  384. <string>应用于反相检测</string>
  385. </property>
  386. </widget>
  387. </item>
  388. </layout>
  389. </item>
  390. <item>
  391. <layout class="QHBoxLayout" name="horizontalLayout">
  392. <property name="spacing">
  393. <number>4</number>
  394. </property>
  395. <item>
  396. <widget class="QLabel" name="label_6">
  397. <property name="minimumSize">
  398. <size>
  399. <width>16</width>
  400. <height>16</height>
  401. </size>
  402. </property>
  403. <property name="maximumSize">
  404. <size>
  405. <width>16</width>
  406. <height>16</height>
  407. </size>
  408. </property>
  409. <property name="text">
  410. <string/>
  411. </property>
  412. </widget>
  413. </item>
  414. <item>
  415. <widget class="QLabel" name="label_7">
  416. <property name="text">
  417. <string>不勾选将无时间限制,一直检测!</string>
  418. </property>
  419. </widget>
  420. </item>
  421. </layout>
  422. </item>
  423. </layout>
  424. </widget>
  425. </item>
  426. <item>
  427. <widget class="QPushButton" name="btnRestore">
  428. <property name="minimumSize">
  429. <size>
  430. <width>102</width>
  431. <height>32</height>
  432. </size>
  433. </property>
  434. <property name="maximumSize">
  435. <size>
  436. <width>102</width>
  437. <height>32</height>
  438. </size>
  439. </property>
  440. <property name="text">
  441. <string>恢复配置项</string>
  442. </property>
  443. </widget>
  444. </item>
  445. <item>
  446. <spacer name="verticalSpacer">
  447. <property name="orientation">
  448. <enum>Qt::Vertical</enum>
  449. </property>
  450. <property name="sizeHint" stdset="0">
  451. <size>
  452. <width>20</width>
  453. <height>40</height>
  454. </size>
  455. </property>
  456. </spacer>
  457. </item>
  458. </layout>
  459. </widget>
  460. <resources/>
  461. <connections/>
  462. </ui>