Qt Designer Ui设计

发布于:2024-12-06 ⋅ 阅读:(36) ⋅ 点赞:(0)

*{
	background-color: rgb(255, 255, 255);
}
QFrame#frame{
	border-image: url(:/lxh/lxh_back.jpg);
	border-radius:20px;
/*整体背景*/
}
#frame_title{
	border-image: url(:/lxh/zz.gif);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
/*上半部分背景*/
}
#frame_text{
	background-color: rgba(79, 158, 0, 120);
	border-radius:20px;
}
QLabel#label{
	background:transparent;/*完全透明*/
	color: rgba(0, 255, 255,130);
	font: 17pt "Onyx";
}
QLineEdit{
	background:transparent;
	border:none;
	border-bottom:1px solid rgba(255,255,255,130);
	color: rgba(0, 0, 0, 250);
	font: 13pt "Lucida Sans Unicode";
}
#btn_head{
	border-image: url(:/lxh/lxh_title.jpg);
	border-radius: 35px;
	background-color: rgba(255, 255, 255, 0);
	background:transparent;
}
QPushButton{
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(111, 175, 73, 255), stop:1 rgba(255, 255, 255, 255));
	border-radius:4px;
	color: rgba(33, 33, 255,130);
	font: 11pt "等线";
}
QPushButton:hover{
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(111, 175, 73, 255), stop:1 rgba(255, 255, 255, 255));
	border-radius:4px;
	color: rgba(33, 33, 255,130);
	font: 11pt "等线";
}
QPushButton:pressed{
	
	background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(111, 175, 73, 255), stop:1 rgba(255, 255, 255, 255));
	border-radius:4px;
	color: rgba(33, 33, 255,130);
	font: 11pt "等线";
	padding-top:5px;
	padding-left:5px;
}


网站公告

今日签到

点亮在社区的每一天
去签到