| 1 |
QToolButton::menu-button { |
| 2 |
border: 2px solid gray; |
| 3 |
border-top-right-radius: 6px; |
| 4 |
border-bottom-right-radius: 6px; |
| 5 |
/* 16px width + 4px for border = 20px allocated above */ |
| 6 |
width: 16px; |
| 7 |
} |
| 8 |
|
| 9 |
QToolButton::menu-indicator { |
| 10 |
image: url(:/icons/arrow-up.png); |
| 11 |
width: 16px; |
| 12 |
height: 16px; |
| 13 |
subcontrol-position: right bottom; |
| 14 |
} |
| 15 |
|
| 16 |
QToolButton::menu-arrow { |
| 17 |
subcontrol-position: bottom right; |
| 18 |
image: url(:/icons/arrow-up.png); |
| 19 |
} |
| 20 |
QToolButton::down-arrow { |
| 21 |
image: url(:/icons/arrow-up.png); |
| 22 |
background-color: blue |
| 23 |
} |
| 24 |
QToolButton::up-arrow { |
| 25 |
image: url(:/icons/arrow-up.png); |
| 26 |
background-color: green |
| 27 |
} |
| 28 |
QToolButton::left-arrow { |
| 29 |
image: url(:/icons/arrow-up.png); |
| 30 |
background-color: red |
| 31 |
} |
| 32 |
QToolButton::right-arrow { |
| 33 |
image: url(:/icons/arrow-up.png); |
| 34 |
background-color: cyan; |
| 35 |
width: 15px; |
| 36 |
height: 15px; |
| 37 |
subcontrol-position: right bottom; |
| 38 |
} |