<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Warning</class> <widget class="QDialog" name="Warning"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>448</width> <height>249</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="styleSheet"> <string notr="true">QDialog#Warning { background:transparent; }</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>16</number> </property> <property name="topMargin"> <number>16</number> </property> <property name="rightMargin"> <number>16</number> </property> <property name="bottomMargin"> <number>16</number> </property> <item> <widget class="QWidget" name="widget" native="true"> <property name="styleSheet"> <string notr="true">QWidget{ background: #FFFFFF; border-radius: 8px; font-family: 思源黑体R; font-weight: 400; font-size: 18px; color: #3A3F63; line-height: 21px; text-align: left; font-style: normal; } QLabel#label_NC1 { font-family: 思源黑体M; font-weight: bold; font-size: 18px; color: #3A3F63; line-height: 27px; text-transform: uppercase; } QLabel#label_line { background: #E6E9F4; } QLabel#label_Warn { } QPushButton#pBtn_close{ border-image: url(:/ESM-8C_ICON/Dialog_close.png); } QPushButton#pBtn_close:hover{ border-image: url(:/ESM-8C_ICON/Dialog_close2.png); } QPushButton { background: #FFFFFF; border: 1px solid #E6E9F4; text-align: center; } /********* 普通方框按钮三种状态效果 *********/ QPushButton#pBtn_cancel { background: #FFFFFF; border-radius: 16px; border: 1px solid #E6E9F4; color: #3A3F63; } QPushButton#pBtn_cancel:hover { background: #FFFFFF; border-radius: 16px; border: 1px solid #4458FE; color: #4458FE; } /********* 带有底色按钮三种状态效果 *********/ QPushButton#pBtn_ok { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF); border-radius: 16px; } QPushButton#pBtn_ok:hover { color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF); border-radius: 16px; } </string> </property> <widget class="QLabel" name="label_NC1"> <property name="geometry"> <rect> <x>32</x> <y>18</y> <width>90</width> <height>18</height> </rect> </property> <property name="text"> <string>提示</string> </property> </widget> <widget class="QLabel" name="label_line"> <property name="geometry"> <rect> <x>0</x> <y>56</y> <width>416</width> <height>1</height> </rect> </property> <property name="text"> <string/> </property> </widget> <widget class="QPushButton" name="pBtn_close"> <property name="geometry"> <rect> <x>368</x> <y>12</y> <width>32</width> <height>32</height> </rect> </property> <property name="text"> <string/> </property> </widget> <widget class="QLabel" name="label_Warn"> <property name="geometry"> <rect> <x>40</x> <y>78</y> <width>331</width> <height>61</height> </rect> </property> <property name="text"> <string>删除该设备,“执行计划”中与之对应的计划也会删除!</string> </property> </widget> <widget class="QPushButton" name="pBtn_cancel"> <property name="geometry"> <rect> <x>248</x> <y>153</y> <width>60</width> <height>32</height> </rect> </property> <property name="text"> <string>取消</string> </property> </widget> <widget class="QPushButton" name="pBtn_ok"> <property name="geometry"> <rect> <x>324</x> <y>153</y> <width>60</width> <height>32</height> </rect> </property> <property name="text"> <string>确定</string> </property> </widget> </widget> </item> </layout> </widget> <resources/> <connections/> </ui>