updatedlg.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>UpdateDlg</class>
  4. <widget class="QWidget" name="UpdateDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>500</width>
  10. <height>500</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>500</width>
  22. <height>0</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>500</width>
  28. <height>16777215</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>UpdateDlg</string>
  33. </property>
  34. <property name="styleSheet">
  35. <string notr="true">#pushButton_3:hover,#pushButton_4:hover,#pushButton_5:hover {
  36. color: #FFFFFF;
  37. background-color: rgb(100, 129, 255);
  38. border: 1px solid #C9D0D4;
  39. border-radius: 4px;
  40. }
  41. #pushButton_3,#pushButton_4,#pushButton_5
  42. {
  43. border: 1px solid #C9D0D4;
  44. border-radius: 4px;
  45. color: rgb(74, 85, 94);
  46. color:#4A555E;
  47. background-color: rgb(255, 255, 255);
  48. }
  49. #widget_bottom{
  50. background-color: rgb(255, 255, 255);
  51. }
  52. #UpdateDlg{
  53. border: 1px solid #dde5e1;
  54. background-color: rgb(255, 255, 255);
  55. }</string>
  56. </property>
  57. <layout class="QVBoxLayout" name="verticalLayout_3">
  58. <property name="leftMargin">
  59. <number>2</number>
  60. </property>
  61. <property name="topMargin">
  62. <number>2</number>
  63. </property>
  64. <property name="rightMargin">
  65. <number>2</number>
  66. </property>
  67. <item>
  68. <widget class="QWidget" name="widget_head" native="true">
  69. <property name="sizePolicy">
  70. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  71. <horstretch>0</horstretch>
  72. <verstretch>0</verstretch>
  73. </sizepolicy>
  74. </property>
  75. <property name="minimumSize">
  76. <size>
  77. <width>0</width>
  78. <height>42</height>
  79. </size>
  80. </property>
  81. <property name="maximumSize">
  82. <size>
  83. <width>16777215</width>
  84. <height>42</height>
  85. </size>
  86. </property>
  87. <property name="styleSheet">
  88. <string notr="true">/*background-image:url(:/CHJUnHandle/Resources/logo_update.png);*/
  89. background-color: rgb(100, 129, 255);</string>
  90. </property>
  91. <layout class="QHBoxLayout" name="horizontalLayout">
  92. <property name="leftMargin">
  93. <number>0</number>
  94. </property>
  95. <property name="topMargin">
  96. <number>0</number>
  97. </property>
  98. <property name="rightMargin">
  99. <number>0</number>
  100. </property>
  101. <property name="bottomMargin">
  102. <number>0</number>
  103. </property>
  104. <item>
  105. <widget class="QLabel" name="label_3">
  106. <property name="minimumSize">
  107. <size>
  108. <width>100</width>
  109. <height>0</height>
  110. </size>
  111. </property>
  112. <property name="font">
  113. <font>
  114. <family>微软雅黑</family>
  115. <pointsize>13</pointsize>
  116. </font>
  117. </property>
  118. <property name="styleSheet">
  119. <string notr="true">color: rgb(255, 255, 255);
  120. background:rgba(0, 255, 0, 0)</string>
  121. </property>
  122. <property name="text">
  123. <string>发现新版本:1.0.1</string>
  124. </property>
  125. <property name="alignment">
  126. <set>Qt::AlignCenter</set>
  127. </property>
  128. </widget>
  129. </item>
  130. </layout>
  131. </widget>
  132. </item>
  133. <item>
  134. <widget class="QWidget" name="widget_content" native="true">
  135. <property name="minimumSize">
  136. <size>
  137. <width>0</width>
  138. <height>0</height>
  139. </size>
  140. </property>
  141. <property name="styleSheet">
  142. <string notr="true">background-color: rgb(255, 255, 255);</string>
  143. </property>
  144. <layout class="QVBoxLayout" name="verticalLayout_2">
  145. <property name="leftMargin">
  146. <number>40</number>
  147. </property>
  148. <property name="topMargin">
  149. <number>30</number>
  150. </property>
  151. <property name="rightMargin">
  152. <number>40</number>
  153. </property>
  154. <item>
  155. <widget class="QPushButton" name="pushButton_2">
  156. <property name="sizePolicy">
  157. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  158. <horstretch>0</horstretch>
  159. <verstretch>0</verstretch>
  160. </sizepolicy>
  161. </property>
  162. <property name="minimumSize">
  163. <size>
  164. <width>24</width>
  165. <height>24</height>
  166. </size>
  167. </property>
  168. <property name="maximumSize">
  169. <size>
  170. <width>24</width>
  171. <height>24</height>
  172. </size>
  173. </property>
  174. <property name="styleSheet">
  175. <string notr="true">QPushButton
  176. {
  177. border:none;
  178. background: url(:/updator/Resources/update_close.png);
  179. }
  180. </string>
  181. </property>
  182. <property name="text">
  183. <string/>
  184. </property>
  185. <property name="flat">
  186. <bool>true</bool>
  187. </property>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QLabel" name="label">
  192. <property name="font">
  193. <font>
  194. <family>宋体</family>
  195. <pointsize>11</pointsize>
  196. </font>
  197. </property>
  198. <property name="styleSheet">
  199. <string notr="true">color: rgb(89, 89, 89);</string>
  200. </property>
  201. <property name="text">
  202. <string/>
  203. </property>
  204. <property name="alignment">
  205. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  206. </property>
  207. <property name="wordWrap">
  208. <bool>true</bool>
  209. </property>
  210. </widget>
  211. </item>
  212. </layout>
  213. </widget>
  214. </item>
  215. <item>
  216. <widget class="QLabel" name="label_2">
  217. <property name="minimumSize">
  218. <size>
  219. <width>0</width>
  220. <height>25</height>
  221. </size>
  222. </property>
  223. <property name="maximumSize">
  224. <size>
  225. <width>16777215</width>
  226. <height>25</height>
  227. </size>
  228. </property>
  229. <property name="styleSheet">
  230. <string notr="true">color: rgb(255, 128, 55);</string>
  231. </property>
  232. <property name="text">
  233. <string> 提示:更新前请确认没有扫描作业,并且异常记录均已处理完成。</string>
  234. </property>
  235. <property name="margin">
  236. <number>0</number>
  237. </property>
  238. </widget>
  239. </item>
  240. <item>
  241. <widget class="QWidget" name="widget_bottom" native="true">
  242. <property name="sizePolicy">
  243. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  244. <horstretch>0</horstretch>
  245. <verstretch>0</verstretch>
  246. </sizepolicy>
  247. </property>
  248. <property name="minimumSize">
  249. <size>
  250. <width>0</width>
  251. <height>100</height>
  252. </size>
  253. </property>
  254. <property name="maximumSize">
  255. <size>
  256. <width>16777215</width>
  257. <height>100</height>
  258. </size>
  259. </property>
  260. <property name="styleSheet">
  261. <string notr="true"/>
  262. </property>
  263. <layout class="QVBoxLayout" name="verticalLayout">
  264. <item>
  265. <widget class="QProgressBar" name="progressBar">
  266. <property name="maximumSize">
  267. <size>
  268. <width>16777215</width>
  269. <height>16</height>
  270. </size>
  271. </property>
  272. <property name="styleSheet">
  273. <string notr="true">
  274. QProgressBar
  275. {
  276. font: 12px &quot;Microsoft YaHei&quot;;
  277. background-color: #dddddd;
  278. border-radius:8px;
  279. text-align:center; /*文本的位置*/
  280. color: rgb(32, 32, 32); /*文本颜色*/
  281. }
  282. QProgressBar::chunk {
  283. background: rgb(100, 129, 255);
  284. border-radius:8px;
  285. }
  286. </string>
  287. </property>
  288. <property name="value">
  289. <number>24</number>
  290. </property>
  291. </widget>
  292. </item>
  293. <item>
  294. <layout class="QHBoxLayout" name="horizontalLayout_2">
  295. <item>
  296. <widget class="QPushButton" name="pushButton_3">
  297. <property name="sizePolicy">
  298. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  299. <horstretch>0</horstretch>
  300. <verstretch>0</verstretch>
  301. </sizepolicy>
  302. </property>
  303. <property name="minimumSize">
  304. <size>
  305. <width>80</width>
  306. <height>36</height>
  307. </size>
  308. </property>
  309. <property name="maximumSize">
  310. <size>
  311. <width>80</width>
  312. <height>36</height>
  313. </size>
  314. </property>
  315. <property name="styleSheet">
  316. <string notr="true"/>
  317. </property>
  318. <property name="text">
  319. <string>忽略</string>
  320. </property>
  321. <property name="flat">
  322. <bool>true</bool>
  323. </property>
  324. </widget>
  325. </item>
  326. <item>
  327. <widget class="QPushButton" name="pushButton_4">
  328. <property name="sizePolicy">
  329. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  330. <horstretch>0</horstretch>
  331. <verstretch>0</verstretch>
  332. </sizepolicy>
  333. </property>
  334. <property name="minimumSize">
  335. <size>
  336. <width>100</width>
  337. <height>36</height>
  338. </size>
  339. </property>
  340. <property name="maximumSize">
  341. <size>
  342. <width>100</width>
  343. <height>36</height>
  344. </size>
  345. </property>
  346. <property name="styleSheet">
  347. <string notr="true"/>
  348. </property>
  349. <property name="text">
  350. <string>下次再说</string>
  351. </property>
  352. <property name="flat">
  353. <bool>true</bool>
  354. </property>
  355. </widget>
  356. </item>
  357. <item>
  358. <widget class="QPushButton" name="pushButton_5">
  359. <property name="sizePolicy">
  360. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  361. <horstretch>0</horstretch>
  362. <verstretch>0</verstretch>
  363. </sizepolicy>
  364. </property>
  365. <property name="minimumSize">
  366. <size>
  367. <width>100</width>
  368. <height>36</height>
  369. </size>
  370. </property>
  371. <property name="maximumSize">
  372. <size>
  373. <width>100</width>
  374. <height>36</height>
  375. </size>
  376. </property>
  377. <property name="styleSheet">
  378. <string notr="true"/>
  379. </property>
  380. <property name="text">
  381. <string>立即更新</string>
  382. </property>
  383. <property name="flat">
  384. <bool>true</bool>
  385. </property>
  386. </widget>
  387. </item>
  388. </layout>
  389. </item>
  390. </layout>
  391. </widget>
  392. </item>
  393. </layout>
  394. </widget>
  395. <layoutdefault spacing="6" margin="11"/>
  396. <resources>
  397. <include location="hjunhandle.qrc"/>
  398. </resources>
  399. <connections/>
  400. </ui>