Qpushbutton button evilbutton {background-color: Red}
Qpushbutton # evilbutton {
Background-color: red;
Border-style: outset;
Border-width: 2px;
Border-color: beige;
}
Qpushbutton # evilbutton {
Background-color: red;
Border-style: outset;
Border-width: 2px;
Border-radius: 10px;
Border-color: beige;
Font: bold 14px;
Min-width: 10em;
Padding: 6px;
}
Qpushbutton # evilbutton {
Background-color: red;
Border-style: outset;
Border-width: 2px;
Border-radius: 10px;
Border-color: beige;
Font: bold 14px;
Min-width: 10em;
Padding: 6px;
}
Qcolor color name:
Qframe structure:
---------------------
Example 1:
Border-style: outset;
Border-width: 2px;
Border-radius: 10px;
Border-color: beige;
Font: bold 14px;
Min-width: 10em;
Padding: 6px;
-----
When the mouse does not go through the button:
When the mouse goes over:
More: http://blog.csdn.net/cgzhello1/article/details/8516024