2014-06-28 13:14:38 +08:00
|
|
|
QPushButton
|
|
|
|
{
|
2015-02-12 20:18:04 +08:00
|
|
|
background-color: #6bc260;
|
|
|
|
background-image: url(":/ui/fileButton/fileButton.svg");
|
|
|
|
background-repeat: none;
|
|
|
|
background-position: center;
|
|
|
|
border-bottom-right-radius: 5px;
|
2014-06-28 13:14:38 +08:00
|
|
|
border: none;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
2015-02-12 20:18:04 +08:00
|
|
|
|
2015-03-10 01:32:30 +08:00
|
|
|
QAbstractButton:hover
|
2014-06-28 13:14:38 +08:00
|
|
|
{
|
2015-02-12 20:18:04 +08:00
|
|
|
background-color: #79c76f;
|
2014-06-28 13:14:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
QPushButton:pressed
|
|
|
|
{
|
2015-02-12 20:18:04 +08:00
|
|
|
background-color: #51b244;
|
2014-06-28 15:41:19 +08:00
|
|
|
}
|
|
|
|
|
2014-09-05 23:05:57 +08:00
|
|
|
QPushButton[enabled="false"]
|
|
|
|
{
|
2015-02-12 20:18:04 +08:00
|
|
|
background-color: #919191;
|
2014-09-05 23:05:57 +08:00
|
|
|
}
|
|
|
|
|
2015-03-10 01:32:30 +08:00
|
|
|
QPushButton:focus {
|
2014-06-28 15:41:19 +08:00
|
|
|
outline: none;
|
|
|
|
}
|