forked from analogdevicesinc/scopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdropdown_switch_list.qss
65 lines (55 loc) · 1.36 KB
/
dropdown_switch_list.qss
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
adiscope--DropdownSwitchList {
height: 30px;
border: 0px;
font-size: 18px;
border-radius: 4px;
padding-left: 20px;
}
adiscope--DropdownSwitchList:editable{
background-color: white;
color: rgba(0, 0, 0, 200);
}
adiscope--DropdownSwitchList::drop-down {
subcontrol-position: center right;
width: 10px;
height: 6px;
border-image: url(:/icons/scopy-default/icons/sba_cmb_box_arrow.svg);
margin-right: 20px;
}
adiscope--DropdownSwitchList QAbstractItemView {
border: 0px;
background-color: white;
font-size: 18px;
outline: 0px;
/* Add left space. Color should match background-color*/
border-left: 0px solid white; /* setting to 0 for now */
}
adiscope--DropdownSwitchList QAbstractItemView::item {
color: rgba(0, 0, 0, 200);
height: 60px;
}
adiscope--DropdownSwitchList QAbstractItemView::item:hover {
background-color: #EDEDED;
font-weight: bold;
border-bottom: 0px solid none;
}
QHeaderView {
/* Cancel the effect of the QAbstractItemView border-left property. It's
necessary because the border (or padding) of the QAbstractItemView applies to
this element as well. */
padding-left: -0px;
}
QHeaderView:section {
color: rgba(0, 0, 0, 200);
background-color: white;
border: 0px;
font: 14px;
}
QCheckBox {
background-color: white;
}
QCheckBox::indicator {
width: 16px;
height: 16px;
subcontrol-position: center;
}