一、思维导图


二、代码
*{
background-color: rgb(255, 255, 255);
}
QFrame#frame{
border-image: url(:/作业2/9957.gif_wh860.gif);
border-radius:30px;
}
#frame_2{
background-color: rgba(95, 95, 95, 120);
border-radius:30px;
}
QLabel#label{
border-radius:30px;
background-color: rgba(83, 83, 83, 120);
}
#label_2{
border-radius:30px;
border-image: url(:/作业2/IXlPQOQCFe.png);
}
#label_3{
border-image: url(:/作业2/userName.jpg);
}
#label_4{
border-image: url(:/作业2/passwd.jpg);
}
QLineEdit{
background:transparent;
border:none;
border-bottom:1px solid rgba rgba(95, 95, 95, 120);
color: rgba(255, 255, 255, 130);
font: 12pt "等线";
}
QPushButton{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 13, 100, 255), stop:1 rgba(255, 255, 255, 255));
font: 12pt "等线";
border-radius:5px;
color: rgba(255, 255, 255, 130);
}
QPushButton:hover{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(40, 13, 100, 255), stop:1 rgba(255, 255, 255, 255));
font: 12pt "等线";
border-radius:5px;
color: rgba(255, 255, 255, 130);
}
QPushButton:pressed{
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 13, 100, 255), stop:1 rgba(255, 255, 255, 255));
font: 12pt "等线";
border-radius:5px;
color: rgba(255, 255, 255, 130);
padding-top:5px;
padding-left:5px;
}
三、结果
