summaryrefslogtreecommitdiffstats
path: root/tests/baseline/stylesheet/qss/dummy.qss
blob: 7f09309153492de30d7044e929084fc5221a9816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* dummy stylesheet to reproduce QTBUG-100433 for QToolButton
QDummyView {
    alternate-background-color: yellow;
}

QDummyView {
    show-decoration-selected: 1;
}

QDummyView::item {
     border: 1px solid #d9d9d9;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

QDummyView::item:hover {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
    border: 1px solid #bfcde4;
}

QDummyView::item:selected {
    border: 1px solid #567dbc;
}

QDummyView::item:selected:active{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
}

QDummyView::item:selected:!active {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
}