9f17d59e
陈明泉
no message
|
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
/*QCheckbox 通用样式*/
QCheckBox{
background-color: transparent;
color: #999999;
font: 12px "Arial";
background: transparent;
}
QCheckBox::indicator:unchecked:hover {
image: url(:Images/Logon/img_checkbox_hov.png);
}
QCheckBox::indicator:checked {
image: url(:Images/Logon/img_checkbox_pre.png);
}
QCheckBox::indicator:unchecked {
image: url(:Images/Logon/img_checkbox_nor.png);
}
QCheckBox::indicator::disabled {
image: url(:Images/Logon/img_checkbox_nor.png);
}
/*QComboBox 通用样式*/
QComboBox QAbstractItemView::item {
height: 35px;
}
QComboBox {
background-color:#ffffff;
font-size : 12px;
color: #747474;
border-style:solid;
border-width: 1px 1px 1px 1px;
border-color: #999999 #999999 #999999 #999999;
border-radius: 5px;
}
QComboBox::hover{
background-color:#ffffff;
font-size : 12px;
border-style:solid;
border-width: 1px 1px 1px 1px;
border-color: #7f7f7f #d8d4d4 #d8d4d4 #7f7f7f;
}
QComboBox::disabled {
background-color:#d5d5d5;
}
QComboBox::indicator {
width: 24px;
height: 24px;
}
QComboBox::indicator:unchecked {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:unchecked:hover {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:unchecked:pressed {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:checked {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:checked:hover {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:checked:pressed {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:indeterminate:hover {
image: url(:Images/Home/combobox.png);
}
QComboBox::indicator:indeterminate:pressed {
image: url(:Images/Home/combobox.png);
}
QComboBox::drop-down {
width: 24px;
border-radius: 5px;
background-image: url(:Images/Home/combobox.png) 0 0 0 24 repeat repeat
}
QSlider::groove:horizontal {
border: 1px solid #24c123;
height: 2px; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
background: #24c123;
border-radius: 1px;
}
QSlider::handle:horizontal {
width: 18px;
height: 18px;
image:url(:Images/Home/img_vol_circle.png);
margin: -7px 0px -7px 0px;
}
QSlider::sub-page:horizontal{
background: #24c123;
border: 1px solid #24c123;
border-radius: 1px;
}
QSlider::add-page:horizontal{
background:#bbbbbb;
border: 1px solid #bbbbbb;
border-radius: 1px;
}
QSlider::groove:vertical {
background: red;
position: absolute; /* absolutely position 4px from the left and right of the widget. setting margins on the widget should work too... */
left: 4px; right: 4px;
}
QSlider::handle:vertical {
height: 10px;
|
9f17d59e
陈明泉
no message
|
144
145
146
147
148
149
150
|
background:rgba(0,0,0,0%);
margin:0px,0px,0px,0px;
padding-top:0px;
padding-bottom:0px;
}
QScrollBar::handle:vertical
{
|
9f17d59e
陈明泉
no message
|
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
|
border-image:url(:/images/a/2.png);
subcontrol-position:top;
}
QScrollBar::add-page:vertical,QScrollBar::sub-page:vertical
{
background:rgba(0,0,0,10%);
border-radius:4px;
}
/*button
QPushButton::vertical{
/*background-color: qconicalgradient(cx:0.5, cy:0.522909, angle:179.9, stop:0.494318 rgba(214, 214, 214, 255), stop:0.5 rgba(236, 236, 236, 255));*/
border: 1px solid rgb(124, 124, 124);
border-radius:5px;
}
QPushButton::vertical:hover{
background-color: qconicalgradient(cx:0.5, cy:0.522909, angle:179.9, stop:0.494318 rgba(181, 225, 250, 255), stop:0.5 rgba(222, 242, 251, 255));
border-radius:5px;
border: 1px solid #3C80B1;
}
QPushButton::vertical:pressed{
background-color: qconicalgradient(cx:0.5, cy:0.522909, angle:179.9, stop:0.494318 rgba(134, 198, 233, 255), stop:0.5 rgba(206, 234, 248, 255));
border-radius:5px;
border: 1px solid #5F92B2;
}*/
|