/* QPushButton*/
QPushButton
{
border-image: url(:/image/Service_button_30A.png);
color:white;
}
QPushButton:hover
{
border-image: url(:/image/Service_button_30B.png);
}
QPushButton:pressed
{
border-image: url(:/image/Service_button_30A.png);
}
/* QTimeEdit的上下按钮样式*/
QTimeEdit
{
font: 16px "微软雅黑";
color:white;
}
QTimeEdit::up-button
{
border-image: url(:/image/air_time_09a.png);
}
QTimeEdit::up-button:hover
{
border-image: url(:/image/air_time_09b.png) ;
}
QTimeEdit::up-button:pressed
{
border-image: url(:/image/air_time_09apng) ;
}
QTimeEdit::down-button
{
border-image: url(:/image/air_time_10a.png);
}
QTimeEdit::down-button:hover
{
border-image: url(:/image/air_time_10b.png) ;
}
QTimeEdit::down-button:pressed
{
border-image: url(:/image/air_time_10apng) ;
}
QTableView的item项当选择时使用背景图。 QTableView或QTableWidget的选择框使用图片
QTableView
{
font: 16