-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmystyle.qss
More file actions
55 lines (44 loc) · 945 Bytes
/
mystyle.qss
File metadata and controls
55 lines (44 loc) · 945 Bytes
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
QMenu {
background-color: rgb(255,255,255); /* 白色 */
border: 1px solid black;
}
QMenu::item {
background-color: transparent;
height: 50px;
}
QMenu::item:selected {
background-color: rgb(200,200,200); /* 灰色 */
color:rgb(0,0,0);
}
QMenuBar {
background-image: url(:/image/menubar.png);
}
QMenuBar::item {
spacing: 10px; /* 菜单栏项目空间大小 */
padding: 6px 15px;
font-size:12px;
background: transparent;
color:rgb(255,255,255);
}
QMenuBar::item:selected { /* 当用键盘或者鼠标选择的时候的背景 */
background: rgb(255,255,255);
color:rgb(0,0,0);
}
QMenuBar::item:pressed {
background:(255,255,255);
color:rgb(0,0,0);
}
QStatusBar {
background: rgb(29, 108, 167);
}
QDialog {
background-color: rgb(255,255,255);
}
QSplitter::handle {
background-color: rgb(255,255,255);
}
QTabBar::tab {
height:25px;
width:90px;
font-size:13px;
}