StyleSheet

QToolButton{border:0px;border-radius:15px;font-weight:bold;color:white;}
QToolButton:hover{
background:qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(100,100,100,200),
stop: 0.5 rgba(0,255,100,200), 
stop:1 rgba(100,100,100,200));
}
QToolButton:focus{
background:qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(150,150,150,150),
stop: 0.5 rgba(50,50,50,255), 
stop:1 rgba(0,0,0,200));
}";

 

QMainFrame{ border-image: url(./image/Black.jpg);} 
QSplitter::handle{ height: 2px; background: rgb(20,20,20);} 
QPushButton{ margin: -1px; border: none;} /* 换肤按钮 */ QPushButton#pushButton_skin{ border-image: url(./image/SkinButtom.png) 0 66 0 0;} QPushButton#pushButton_skin:hover{ border-image: url(./image/SkinButtom.png) 0 44 0 22;} QPushButton#pushButton_skin:ssed{ border-image: url(./image/SkinButtom.png) 0 22 0 44; }

 

background-color:qlineargradient(spread:pad,x1:0,y1:0,x2:1,y2:0,stop:0rgba(255,255,255,200),stop:0.4rgba(0,204,0,200),stop:0.6rgba(0,204,0,200),stop:1rgba(255,255,255,200));

#pushButtonEnter
{
min-height:50px;
min-width:50px;
border:6pxsolidqlineargradient(spread:pad,x1:0,y1:0,x2:1,y2:0,stop:0rgba(0,0,0,255),stop:1rgba(255,255,255,255));
border-radius:30px;
color:gray;
}
#pushButtonEnter:hover
{
border:4pxsolidqlineargradient(spread:pad,x1:0,y1:0,x2:1,y2:0,stop:0rgba(0,0,0,200),stop:1rgba(255,255,255,200));
}
#pushButtonConf
{
min-width:30px;
min-height:30px;
border-radius:21px;
border:6pxsolidqlineargradient(spread:pad,x1:0,y1:0,x2:1,y2:0,stop:0rgba(0,0,0,255),stop:1rgba(255,255,255,255));
color:white;
}
#pushButtonConf:hover
{
border:4pxsolidqlineargradient(spread:pad,x1:0,y1:0,x2:1,y2:0,stop:0rgba(0,0,0,200),stop:1rgba(255,255,255,200));
}

posted @ 2013-04-11 16:22  wiessharling  阅读(362)  评论(0编辑  收藏  举报