importtemplate.ui 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ImportTemplate</class>
  4. <widget class="QDialog" name="ImportTemplate">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>444</width>
  10. <height>618</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QDialog#ImportTemplate{
  18. background:transparent;
  19. }</string>
  20. </property>
  21. <widget class="QWidget" name="widget" native="true">
  22. <property name="geometry">
  23. <rect>
  24. <x>0</x>
  25. <y>0</y>
  26. <width>444</width>
  27. <height>618</height>
  28. </rect>
  29. </property>
  30. <property name="styleSheet">
  31. <string notr="true">QWidget{
  32. background: #FFFFFF;
  33. border-radius: 8px;
  34. font-family: 思源黑体R;
  35. font-weight: 400;
  36. font-size: 14px;
  37. color: #3A3F63;
  38. line-height: 21px;
  39. text-align: left;
  40. font-style: normal;
  41. }
  42. QLabel#label_NC1{
  43. font-weight: bold;
  44. font-size: 18px;
  45. color: #3A3F63;
  46. line-height: 27px;
  47. text-align: left;
  48. font-style: normal;
  49. text-transform: uppercase;
  50. }
  51. QLabel#label_NC2,QLabel#label_NC3,QLabel#label_NC4
  52. {
  53. font-weight: 400;
  54. font-size: 14px;
  55. color: #5A607F;
  56. line-height: 21px;
  57. text-align: left;
  58. font-style: normal;
  59. }
  60. QLabel#label_line1,QLabel#label_line2,QLabel#label_line3
  61. {
  62. background: #E6E9F4;
  63. }
  64. QLabel#label_warning
  65. {
  66. color:red;
  67. }
  68. QPushButton#pBtn_close{
  69. border-image: url(:/ESM-8C_ICON/Dialog_close.png);
  70. }
  71. QPushButton#pBtn_close:hover{
  72. border-image: url(:/ESM-8C_ICON/Dialog_close2.png);
  73. }
  74. /********* 普通方框按钮三种状态效果 *********/
  75. QPushButton#pBtn_cancel
  76. {
  77. border-radius: 16px;
  78. text-align: center;
  79. background: #FFFFFF;
  80. border-radius: 16px;
  81. border: 1px solid #E6E9F4;
  82. color: #3A3F63;
  83. }
  84. QPushButton#pBtn_cancel:hover
  85. {
  86. border-radius: 16px;
  87. text-align: center;
  88. background: #FFFFFF;
  89. border-radius: 16px;
  90. border: 1px solid #4458FE;
  91. color: #4458FE;
  92. }
  93. /********* 带有底色按钮三种状态效果 *********/
  94. QPushButton#pBtn_ok
  95. {
  96. border-radius: 16px;
  97. text-align: center;
  98. color:white;
  99. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  100. border-radius: 16px;
  101. }
  102. QPushButton#pBtn_ok:hover
  103. {
  104. border-radius: 16px;
  105. text-align: center;
  106. color:white;
  107. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  108. border-radius: 16px;
  109. }
  110. </string>
  111. </property>
  112. <widget class="QLabel" name="label_NC1">
  113. <property name="geometry">
  114. <rect>
  115. <x>32</x>
  116. <y>18</y>
  117. <width>80</width>
  118. <height>18</height>
  119. </rect>
  120. </property>
  121. <property name="text">
  122. <string>导入模板</string>
  123. </property>
  124. </widget>
  125. <widget class="QPushButton" name="pBtn_close">
  126. <property name="geometry">
  127. <rect>
  128. <x>396</x>
  129. <y>12</y>
  130. <width>32</width>
  131. <height>32</height>
  132. </rect>
  133. </property>
  134. <property name="text">
  135. <string/>
  136. </property>
  137. </widget>
  138. <widget class="QLabel" name="label_line1">
  139. <property name="geometry">
  140. <rect>
  141. <x>0</x>
  142. <y>56</y>
  143. <width>444</width>
  144. <height>1</height>
  145. </rect>
  146. </property>
  147. <property name="text">
  148. <string/>
  149. </property>
  150. </widget>
  151. <widget class="QLabel" name="label_line2">
  152. <property name="geometry">
  153. <rect>
  154. <x>32</x>
  155. <y>89</y>
  156. <width>380</width>
  157. <height>1</height>
  158. </rect>
  159. </property>
  160. <property name="text">
  161. <string/>
  162. </property>
  163. </widget>
  164. <widget class="QLabel" name="label_line3">
  165. <property name="geometry">
  166. <rect>
  167. <x>32</x>
  168. <y>137</y>
  169. <width>380</width>
  170. <height>1</height>
  171. </rect>
  172. </property>
  173. <property name="text">
  174. <string/>
  175. </property>
  176. </widget>
  177. <widget class="QLabel" name="label_NC2">
  178. <property name="geometry">
  179. <rect>
  180. <x>44</x>
  181. <y>107</y>
  182. <width>32</width>
  183. <height>14</height>
  184. </rect>
  185. </property>
  186. <property name="text">
  187. <string>序号</string>
  188. </property>
  189. </widget>
  190. <widget class="QLabel" name="label_NC3">
  191. <property name="geometry">
  192. <rect>
  193. <x>92</x>
  194. <y>107</y>
  195. <width>56</width>
  196. <height>14</height>
  197. </rect>
  198. </property>
  199. <property name="text">
  200. <string>模板名称</string>
  201. </property>
  202. </widget>
  203. <widget class="QLabel" name="label_NC4">
  204. <property name="geometry">
  205. <rect>
  206. <x>364</x>
  207. <y>107</y>
  208. <width>28</width>
  209. <height>14</height>
  210. </rect>
  211. </property>
  212. <property name="text">
  213. <string>操作</string>
  214. </property>
  215. </widget>
  216. <widget class="QPushButton" name="pBtn_cancel">
  217. <property name="geometry">
  218. <rect>
  219. <x>276</x>
  220. <y>554</y>
  221. <width>60</width>
  222. <height>32</height>
  223. </rect>
  224. </property>
  225. <property name="text">
  226. <string>取消</string>
  227. </property>
  228. </widget>
  229. <widget class="QPushButton" name="pBtn_ok">
  230. <property name="geometry">
  231. <rect>
  232. <x>352</x>
  233. <y>554</y>
  234. <width>60</width>
  235. <height>32</height>
  236. </rect>
  237. </property>
  238. <property name="text">
  239. <string>确定</string>
  240. </property>
  241. </widget>
  242. <widget class="QTableWidget" name="tableWidget">
  243. <property name="geometry">
  244. <rect>
  245. <x>32</x>
  246. <y>140</y>
  247. <width>380</width>
  248. <height>384</height>
  249. </rect>
  250. </property>
  251. </widget>
  252. <widget class="QLabel" name="label_warning">
  253. <property name="geometry">
  254. <rect>
  255. <x>50</x>
  256. <y>65</y>
  257. <width>351</width>
  258. <height>21</height>
  259. </rect>
  260. </property>
  261. <property name="text">
  262. <string>TextLabel</string>
  263. </property>
  264. </widget>
  265. </widget>
  266. </widget>
  267. <resources/>
  268. <connections/>
  269. </ui>