| 1 |
/* dummy stylesheet to reproduce QTBUG-100433 for QToolButton |
| 2 |
QDummyView { |
| 3 |
alternate-background-color: yellow; |
| 4 |
} |
| 5 |
|
| 6 |
QDummyView { |
| 7 |
show-decoration-selected: 1; |
| 8 |
} |
| 9 |
|
| 10 |
QDummyView::item { |
| 11 |
border: 1px solid #d9d9d9; |
| 12 |
border-top-color: transparent; |
| 13 |
border-bottom-color: transparent; |
| 14 |
} |
| 15 |
|
| 16 |
QDummyView::item:hover { |
| 17 |
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); |
| 18 |
border: 1px solid #bfcde4; |
| 19 |
} |
| 20 |
|
| 21 |
QDummyView::item:selected { |
| 22 |
border: 1px solid #567dbc; |
| 23 |
} |
| 24 |
|
| 25 |
QDummyView::item:selected:active{ |
| 26 |
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc); |
| 27 |
} |
| 28 |
|
| 29 |
QDummyView::item:selected:!active { |
| 30 |
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf); |
| 31 |
} |