107 lines
2.5 KiB
Plaintext
107 lines
2.5 KiB
Plaintext
![]() |
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<ui version="4.0">
|
|||
|
<class>message_box_ui</class>
|
|||
|
<widget class="QDialog" name="message_box_ui">
|
|||
|
<property name="geometry">
|
|||
|
<rect>
|
|||
|
<x>0</x>
|
|||
|
<y>0</y>
|
|||
|
<width>487</width>
|
|||
|
<height>385</height>
|
|||
|
</rect>
|
|||
|
</property>
|
|||
|
<property name="windowTitle">
|
|||
|
<string>提示</string>
|
|||
|
</property>
|
|||
|
<layout class="QGridLayout" name="gridLayout">
|
|||
|
<item row="0" column="0">
|
|||
|
<widget class="QLabel" name="info_label">
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true">QLabel
|
|||
|
{
|
|||
|
/*字体为微软雅黑*/
|
|||
|
font-family:Microsoft Yahei;
|
|||
|
/*字体大小为20点*/
|
|||
|
font-size:30pt;
|
|||
|
/*字体颜色为白色*/
|
|||
|
/*color:white;*/
|
|||
|
/*背景颜色*/
|
|||
|
/*background-color:rgb(14 , 150 , 254);*/
|
|||
|
/*边框圆角半径为8像素*/
|
|||
|
/*border-radius:8px;*/
|
|||
|
}</string>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string>提示信息</string>
|
|||
|
</property>
|
|||
|
<property name="alignment">
|
|||
|
<set>Qt::AlignCenter</set>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item row="1" column="0">
|
|||
|
<widget class="QPushButton" name="confirm_bt">
|
|||
|
<property name="sizePolicy">
|
|||
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|||
|
<horstretch>0</horstretch>
|
|||
|
<verstretch>0</verstretch>
|
|||
|
</sizepolicy>
|
|||
|
</property>
|
|||
|
<property name="minimumSize">
|
|||
|
<size>
|
|||
|
<width>0</width>
|
|||
|
<height>130</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
<property name="acceptDrops">
|
|||
|
<bool>false</bool>
|
|||
|
</property>
|
|||
|
<property name="styleSheet">
|
|||
|
<string notr="true">/*按钮普通态*/
|
|||
|
QPushButton
|
|||
|
{
|
|||
|
/*字体为微软雅黑*/
|
|||
|
font-family:Microsoft Yahei;
|
|||
|
/*字体大小为20点*/
|
|||
|
font-size:25pt;
|
|||
|
/*字体颜色为白色*/
|
|||
|
/*color:white;*/
|
|||
|
/*背景颜色*/
|
|||
|
background-color:rgb(225 , 225 , 225);
|
|||
|
/*边框圆角半径为8像素*/
|
|||
|
border-radius:20px;
|
|||
|
}
|
|||
|
|
|||
|
/*按钮停留态*/
|
|||
|
QPushButton:hover
|
|||
|
{
|
|||
|
/*背景颜色*/
|
|||
|
background-color:rgb(44 , 137 , 255);
|
|||
|
/*边框圆角半径为8像素*/
|
|||
|
/*border-radius:20px;*/
|
|||
|
}
|
|||
|
|
|||
|
/*按钮按下态*/
|
|||
|
QPushButton:pressed
|
|||
|
{
|
|||
|
/*背景颜色*/
|
|||
|
background-color:rgb(255 , 0 , 0);
|
|||
|
|
|||
|
/*左内边距为3像素,让按下时字向右移动3像素*/
|
|||
|
padding-left:3px;
|
|||
|
|
|||
|
/*上内边距为3像素,让按下时字向下移动3像素*/
|
|||
|
padding-top:3px;
|
|||
|
}</string>
|
|||
|
</property>
|
|||
|
<property name="text">
|
|||
|
<string>确定</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
<resources/>
|
|||
|
<connections/>
|
|||
|
</ui>
|