warning copy.ui_ 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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>448</width>
  10. <height>249</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. }
  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. QPushButton
  75. {
  76. background: #FFFFFF;
  77. border: 1px solid #E6E9F4;
  78. text-align: center;
  79. }
  80. /********* 普通方框按钮三种状态效果 *********/
  81. QPushButton#pBtn_cancel
  82. {
  83. background: #FFFFFF;
  84. border-radius: 16px;
  85. border: 1px solid #E6E9F4;
  86. color: #3A3F63;
  87. }
  88. QPushButton#pBtn_cancel:hover
  89. {
  90. background: #FFFFFF;
  91. border-radius: 16px;
  92. border: 1px solid #4458FE;
  93. color: #4458FE;
  94. }
  95. /********* 带有底色按钮三种状态效果 *********/
  96. QPushButton#pBtn_ok
  97. {
  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. color:white;
  105. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  106. border-radius: 16px;
  107. }
  108. </string>
  109. </property>
  110. <widget class="QLabel" name="label_NC1">
  111. <property name="geometry">
  112. <rect>
  113. <x>32</x>
  114. <y>18</y>
  115. <width>90</width>
  116. <height>18</height>
  117. </rect>
  118. </property>
  119. <property name="text">
  120. <string>提示</string>
  121. </property>
  122. </widget>
  123. <widget class="QLabel" name="label_line">
  124. <property name="geometry">
  125. <rect>
  126. <x>0</x>
  127. <y>56</y>
  128. <width>416</width>
  129. <height>1</height>
  130. </rect>
  131. </property>
  132. <property name="text">
  133. <string/>
  134. </property>
  135. </widget>
  136. <widget class="QPushButton" name="pBtn_close">
  137. <property name="geometry">
  138. <rect>
  139. <x>368</x>
  140. <y>12</y>
  141. <width>32</width>
  142. <height>32</height>
  143. </rect>
  144. </property>
  145. <property name="text">
  146. <string/>
  147. </property>
  148. </widget>
  149. <widget class="QLabel" name="label_Warn">
  150. <property name="geometry">
  151. <rect>
  152. <x>40</x>
  153. <y>78</y>
  154. <width>331</width>
  155. <height>61</height>
  156. </rect>
  157. </property>
  158. <property name="text">
  159. <string>删除该设备,“执行计划”中与之对应的计划也会删除!</string>
  160. </property>
  161. </widget>
  162. <widget class="QPushButton" name="pBtn_cancel">
  163. <property name="geometry">
  164. <rect>
  165. <x>248</x>
  166. <y>153</y>
  167. <width>60</width>
  168. <height>32</height>
  169. </rect>
  170. </property>
  171. <property name="text">
  172. <string>取消</string>
  173. </property>
  174. </widget>
  175. <widget class="QPushButton" name="pBtn_ok">
  176. <property name="geometry">
  177. <rect>
  178. <x>324</x>
  179. <y>153</y>
  180. <width>60</width>
  181. <height>32</height>
  182. </rect>
  183. </property>
  184. <property name="text">
  185. <string>确定</string>
  186. </property>
  187. </widget>
  188. </widget>
  189. </item>
  190. </layout>
  191. </widget>
  192. <resources/>
  193. <connections/>
  194. </ui>