1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>frmMessageBox</class> 4 <widget class="QDialog" name="frmMessageBox"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>303</width> 10 <height>143</height> 11 </rect> 12 </property> 13 <property name="minimumSize"> 14 <size> 15 <width>303</width> 16 <height>143</height> 17 </size> 18 </property> 19 <property name="maximumSize"> 20 <size> 21 <width>303</width> 22 <height>143</height> 23 </size> 24 </property> 25 <property name="windowTitle"> 26 <string>提示</string> 27 </property> 28 <property name="styleSheet"> 29 <string notr="true">border:0px;</string> 30 </property> 31 <layout class="QVBoxLayout" name="verticalLayout"> 32 <property name="spacing"> 33 <number>0</number> 34 </property> 35 <property name="leftMargin"> 36 <number>0</number> 37 </property> 38 <property name="topMargin"> 39 <number>0</number> 40 </property> 41 <property name="rightMargin"> 42 <number>0</number> 43 </property> 44 <property name="bottomMargin"> 45 <number>0</number> 46 </property> 47 <item> 48 <widget class="QWidget" name="widget_title" native="true"> 49 <property name="sizePolicy"> 50 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 51 <horstretch>0</horstretch> 52 <verstretch>0</verstretch> 53 </sizepolicy> 54 </property> 55 <property name="minimumSize"> 56 <size> 57 <width>100</width> 58 <height>28</height> 59 </size> 60 </property> 61 <property name="styleSheet"> 62 <string notr="true"> 63background-color: rgba(32, 121, 255,255); 64background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 blue, stop:1 skyblue); 65color:white; 66border-radius:0px; 67</string> 68 </property> 69 <layout class="QHBoxLayout" name="horizontalLayout_2"> 70 <property name="spacing"> 71 <number>0</number> 72 </property> 73 <property name="leftMargin"> 74 <number>0</number> 75 </property> 76 <property name="topMargin"> 77 <number>0</number> 78 </property> 79 <property name="rightMargin"> 80 <number>0</number> 81 </property> 82 <property name="bottomMargin"> 83 <number>0</number> 84 </property> 85 <item> 86 <widget class="QLabel" name="lab_Ico"> 87 <property name="sizePolicy"> 88 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 89 <horstretch>0</horstretch> 90 <verstretch>0</verstretch> 91 </sizepolicy> 92 </property> 93 <property name="minimumSize"> 94 <size> 95 <width>31</width> 96 <height>0</height> 97 </size> 98 </property> 99 <property name="text"> 100 <string/> 101 </property> 102 <property name="alignment"> 103 <set>Qt::AlignCenter</set> 104 </property> 105 </widget> 106 </item> 107 <item> 108 <widget class="QLabel" name="lab_Title"> 109 <property name="sizePolicy"> 110 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 111 <horstretch>0</horstretch> 112 <verstretch>0</verstretch> 113 </sizepolicy> 114 </property> 115 <property name="styleSheet"> 116 <string notr="true">font: 10pt "微软雅黑"; 117QLabel#lab_Ico,QLabel#lab_Title{ 118 border-radius:0px; 119 color: #F0F0F0; 120 background-color:rgba(0,0,0,0); 121 border-style:none; 122} 123QWidget#widget_title{ 124 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 125} 126</string> 127 </property> 128 <property name="text"> 129 <string>提示</string> 130 </property> 131 <property name="alignment"> 132 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 133 </property> 134 </widget> 135 </item> 136 <item> 137 <widget class="QWidget" name="widget_menu" native="true"> 138 <property name="sizePolicy"> 139 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 140 <horstretch>0</horstretch> 141 <verstretch>0</verstretch> 142 </sizepolicy> 143 </property> 144 <layout class="QHBoxLayout" name="horizontalLayout"> 145 <property name="spacing"> 146 <number>0</number> 147 </property> 148 <property name="leftMargin"> 149 <number>0</number> 150 </property> 151 <property name="topMargin"> 152 <number>0</number> 153 </property> 154 <property name="rightMargin"> 155 <number>0</number> 156 </property> 157 <property name="bottomMargin"> 158 <number>0</number> 159 </property> 160 <item> 161 <widget class="QPushButton" name="btnMenu_Close"> 162 <property name="sizePolicy"> 163 <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> 164 <horstretch>0</horstretch> 165 <verstretch>0</verstretch> 166 </sizepolicy> 167 </property> 168 <property name="minimumSize"> 169 <size> 170 <width>40</width> 171 <height>0</height> 172 </size> 173 </property> 174 <property name="cursor"> 175 <cursorShape>ArrowCursor</cursorShape> 176 </property> 177 <property name="focusPolicy"> 178 <enum>Qt::NoFocus</enum> 179 </property> 180 <property name="toolTip"> 181 <string>关闭</string> 182 </property> 183 <property name="styleSheet"> 184 <string notr="true">QPushButton{ 185 border-radius:0px; 186 color: #F0F0F0; 187 background-color:rgba(0,0,0,0); 188 border-style:none; 189} 190QPushButton#btnMenu_Close:hover{ 191 background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:0, y2:0, stop:0 rgba(238, 0, 0, 128), stop:1 rgba(238, 44, 44, 255)); 192}</string> 193 </property> 194 <property name="text"> 195 <string/> 196 </property> 197 <property name="flat"> 198 <bool>true</bool> 199 </property> 200 </widget> 201 </item> 202 </layout> 203 </widget> 204 </item> 205 </layout> 206 </widget> 207 </item> 208 <item> 209 <widget class="QWidget" name="widget_main" native="true"> 210 <property name="styleSheet"> 211 <string notr="true">font: 11pt "微软雅黑"; 212background-color:skyblue; 213background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 skyblue, stop:1 rgb(69, 190, 255)); 214border-radius:0px;</string> 215 </property> 216 <layout class="QVBoxLayout" name="verticalLayout_2"> 217 <property name="spacing"> 218 <number>5</number> 219 </property> 220 <property name="leftMargin"> 221 <number>5</number> 222 </property> 223 <property name="topMargin"> 224 <number>5</number> 225 </property> 226 <property name="rightMargin"> 227 <number>5</number> 228 </property> 229 <property name="bottomMargin"> 230 <number>5</number> 231 </property> 232 <item> 233 <widget class="QGroupBox" name="groupBox"> 234 <property name="title"> 235 <string/> 236 </property> 237 <widget class="QLabel" name="labIcoMain"> 238 <property name="geometry"> 239 <rect> 240 <x>10</x> 241 <y>10</y> 242 <width>45</width> 243 <height>45</height> 244 </rect> 245 </property> 246 <property name="styleSheet"> 247 <string notr="true">border-image: url(:/image/info.png); 248background-color: rgba(255, 255, 255,0);</string> 249 </property> 250 <property name="text"> 251 <string/> 252 </property> 253 </widget> 254 <widget class="QLabel" name="labInfo"> 255 <property name="geometry"> 256 <rect> 257 <x>70</x> 258 <y>10</y> 259 <width>211</width> 260 <height>41</height> 261 </rect> 262 </property> 263 <property name="styleSheet"> 264 <string notr="true">background-color: rgba(255, 255, 255,0);</string> 265 </property> 266 <property name="text"> 267 <string>确定要删除吗?</string> 268 </property> 269 <property name="scaledContents"> 270 <bool>false</bool> 271 </property> 272 <property name="wordWrap"> 273 <bool>true</bool> 274 </property> 275 </widget> 276 <widget class="QWidget" name="layoutWidget"> 277 <property name="geometry"> 278 <rect> 279 <x>10</x> 280 <y>60</y> 281 <width>271</width> 282 <height>34</height> 283 </rect> 284 </property> 285 <layout class="QHBoxLayout" name="horizontalLayout_3"> 286 <item> 287 <spacer name="horizontalSpacer"> 288 <property name="orientation"> 289 <enum>Qt::Horizontal</enum> 290 </property> 291 <property name="sizeHint" stdset="0"> 292 <size> 293 <width>40</width> 294 <height>20</height> 295 </size> 296 </property> 297 </spacer> 298 </item> 299 <item> 300 <widget class="QPushButton" name="btnOk"> 301 <property name="cursor"> 302 <cursorShape>PointingHandCursor</cursorShape> 303 </property> 304 <property name="focusPolicy"> 305 <enum>Qt::NoFocus</enum> 306 </property> 307 <property name="styleSheet"> 308 <string notr="true">.QPushButton{ 309 border-style: none; 310 border: 0px; 311 color: #F0F0F0; 312 padding: 5px; 313 min-height: 20px; 314 border-radius:5px; 315 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 316} 317 318.QPushButton[focusPolicy="0"] { 319 border-style: none; 320 border: 0px; 321 color: #F0F0F0; 322 padding: 0px; 323 min-height: 10px; 324 border-radius:3px; 325 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 326} 327 328.QPushButton:hover{ 329 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA); 330} 331 332.QPushButton:pressed{ 333 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 334}</string> 335 </property> 336 <property name="text"> 337 <string>确定(&O)</string> 338 </property> 339 <property name="icon"> 340 <iconset> 341 <normaloff>:/image/update.png</normaloff>:/image/update.png</iconset> 342 </property> 343 <property name="iconSize"> 344 <size> 345 <width>20</width> 346 <height>20</height> 347 </size> 348 </property> 349 </widget> 350 </item> 351 <item> 352 <widget class="QPushButton" name="btnCancel"> 353 <property name="cursor"> 354 <cursorShape>PointingHandCursor</cursorShape> 355 </property> 356 <property name="focusPolicy"> 357 <enum>Qt::NoFocus</enum> 358 </property> 359 <property name="styleSheet"> 360 <string notr="true">.QPushButton{ 361 border-style: none; 362 border: 0px; 363 color: #F0F0F0; 364 padding: 5px; 365 min-height: 20px; 366 border-radius:5px; 367 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 368} 369 370.QPushButton[focusPolicy="0"] { 371 border-style: none; 372 border: 0px; 373 color: #F0F0F0; 374 padding: 0px; 375 min-height: 10px; 376 border-radius:3px; 377 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 378} 379 380.QPushButton:hover{ 381 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #50A3F0, stop:1 #489CEA); 382} 383 384.QPushButton:pressed{ 385 background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 #0F7DBE, stop:1 #1582C3); 386}</string> 387 </property> 388 <property name="text"> 389 <string>取消(&C)</string> 390 </property> 391 <property name="icon"> 392 <iconset> 393 <normaloff>:/image/close.png</normaloff>:/image/close.png</iconset> 394 </property> 395 <property name="iconSize"> 396 <size> 397 <width>20</width> 398 <height>20</height> 399 </size> 400 </property> 401 </widget> 402 </item> 403 </layout> 404 </widget> 405 </widget> 406 </item> 407 </layout> 408 </widget> 409 </item> 410 </layout> 411 </widget> 412 <resources/> 413 <connections/> 414</ui> 415