warning.ui 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Warning</class>
  4. <widget class="QDialog" name="Warning">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>440</width>
  10. <height>302</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QDialog#Warning
  18. {
  19. background:transparent;
  20. }</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <property name="spacing">
  24. <number>0</number>
  25. </property>
  26. <property name="leftMargin">
  27. <number>16</number>
  28. </property>
  29. <property name="topMargin">
  30. <number>16</number>
  31. </property>
  32. <property name="rightMargin">
  33. <number>16</number>
  34. </property>
  35. <property name="bottomMargin">
  36. <number>16</number>
  37. </property>
  38. <item>
  39. <widget class="QWidget" name="widget" native="true">
  40. <property name="styleSheet">
  41. <string notr="true">QWidget{
  42. background: #FFFFFF;
  43. border-radius: 8px;
  44. font-family: 思源黑体R;
  45. font-weight: 400;
  46. font-size: 18px;
  47. color: #3A3F63;
  48. line-height: 21px;
  49. text-align: left;
  50. font-style: normal;
  51. }
  52. QLabel#label_NC1
  53. {
  54. font-family: 思源黑体M;
  55. font-weight: bold;
  56. font-size: 18px;
  57. color: #3A3F63;
  58. line-height: 27px;
  59. text-transform: uppercase;
  60. }
  61. QLabel#label_line
  62. {
  63. background: #E6E9F4;
  64. }
  65. QLabel#label_Warn
  66. {
  67. font-family: 思源黑体R;
  68. font-weight: 400;
  69. font-size: 18px;
  70. color: #3A3F63;
  71. line-height: 27px;
  72. }
  73. QPushButton#pBtn_close{
  74. border-image: url(:/ESM-8C_ICON/Dialog_close.png);
  75. }
  76. QPushButton#pBtn_close:hover{
  77. border-image: url(:/ESM-8C_ICON/Dialog_close2.png);
  78. }
  79. QPushButton
  80. {
  81. background: #FFFFFF;
  82. border: 1px solid #E6E9F4;
  83. text-align: center;
  84. }
  85. /********* 普通方框按钮三种状态效果 *********/
  86. QPushButton#pBtn_cancel
  87. {
  88. background: #FFFFFF;
  89. border-radius: 16px;
  90. border: 1px solid #E6E9F4;
  91. color: #3A3F63;
  92. }
  93. QPushButton#pBtn_cancel:hover
  94. {
  95. background: #FFFFFF;
  96. border-radius: 16px;
  97. border: 1px solid #4458FE;
  98. color: #4458FE;
  99. }
  100. /********* 带有底色按钮三种状态效果 *********/
  101. QPushButton#pBtn_ok
  102. {
  103. color:white;
  104. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  105. border-radius: 16px;
  106. }
  107. QPushButton#pBtn_ok:hover
  108. {
  109. color:white;
  110. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  111. border-radius: 16px;
  112. }
  113. </string>
  114. </property>
  115. <widget class="QLabel" name="label_NC1">
  116. <property name="geometry">
  117. <rect>
  118. <x>32</x>
  119. <y>18</y>
  120. <width>90</width>
  121. <height>18</height>
  122. </rect>
  123. </property>
  124. <property name="text">
  125. <string>提示</string>
  126. </property>
  127. </widget>
  128. <widget class="QLabel" name="label_line">
  129. <property name="geometry">
  130. <rect>
  131. <x>0</x>
  132. <y>56</y>
  133. <width>416</width>
  134. <height>1</height>
  135. </rect>
  136. </property>
  137. <property name="text">
  138. <string/>
  139. </property>
  140. </widget>
  141. <widget class="QPushButton" name="pBtn_close">
  142. <property name="geometry">
  143. <rect>
  144. <x>368</x>
  145. <y>12</y>
  146. <width>32</width>
  147. <height>32</height>
  148. </rect>
  149. </property>
  150. <property name="text">
  151. <string/>
  152. </property>
  153. </widget>
  154. <widget class="QLabel" name="label_Warn">
  155. <property name="geometry">
  156. <rect>
  157. <x>50</x>
  158. <y>78</y>
  159. <width>308</width>
  160. <height>120</height>
  161. </rect>
  162. </property>
  163. <property name="text">
  164. <string>删除该设备,“执行计划”中与之对应的计划也会删除!</string>
  165. </property>
  166. </widget>
  167. <widget class="QPushButton" name="pBtn_cancel">
  168. <property name="geometry">
  169. <rect>
  170. <x>248</x>
  171. <y>216</y>
  172. <width>60</width>
  173. <height>32</height>
  174. </rect>
  175. </property>
  176. <property name="text">
  177. <string>取消</string>
  178. </property>
  179. </widget>
  180. <widget class="QPushButton" name="pBtn_ok">
  181. <property name="geometry">
  182. <rect>
  183. <x>324</x>
  184. <y>216</y>
  185. <width>60</width>
  186. <height>32</height>
  187. </rect>
  188. </property>
  189. <property name="text">
  190. <string>确定</string>
  191. </property>
  192. </widget>
  193. <widget class="QLabel" name="label_warnIcon">
  194. <property name="geometry">
  195. <rect>
  196. <x>10</x>
  197. <y>130</y>
  198. <width>20</width>
  199. <height>20</height>
  200. </rect>
  201. </property>
  202. <property name="text">
  203. <string/>
  204. </property>
  205. </widget>
  206. </widget>
  207. </item>
  208. </layout>
  209. </widget>
  210. <resources/>
  211. <connections/>
  212. </ui>