-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtableStyle.qss
139 lines (131 loc) · 2.99 KB
/
tableStyle.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
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
129
130
131
132
133
134
135
136
137
138
139
TableBase
{
background-color:rgb(50,50,50);
}
QHeaderView
{
background:rgb(65,65,65);
}
QTableWidget
{
background:rgb(60,60,60);
border:none;
font-size:9pt;/*12px*/
font-family:Microsoft YaHei;
color:rgb(255,255,255);
}
QTableCornerButton::section
{
background:rgb(100,100,100);
}
QHeaderView::section
{
font-size:8pt;/*11px*/
font-family:"Microsoft YaHei";
color:rgb(235,235,235);
background:rgb(50,50,50);
border:1px solid rgb(150,150,150);
/*min-height:20px;*/
/*max-height:20px;*/
margin-left:0px;
padding-left:0px;
}
QTableWidget::item::selected
{
color:rgb(255,255,255);
background:rgb(150,150,150);
}
QLineEdit
{
color:rgb(255,255,255);
background-color:rgb(100,100,100);
}
QToolButton {
background-color: #333333; /* 背景颜色:深灰色 */
border: 2px solid #555555; /* 边框颜色:稍浅的灰色 */
border-radius: 4px; /* 圆角半径 */
color: white; /* 文字颜色 */
font-size: 18px; /* 字体大小 */
padding: 0px; /* 去掉内边距 */
}
QToolButton:hover {
background-color: #555555; /* 悬停时的背景颜色:稍浅的灰色 */
border: 2px solid #777777; /* 悬停时的边框颜色:更浅的灰色 */
}
QToolButton:pressed {
background-color: #111111; /* 按下时的背景颜色:更深的灰色 */
border: 2px solid #333333; /* 按下时的边框颜色:深灰色 */
}
QToolButton:disabled {
background-color: #777777; /* 禁用时的背景颜色:浅灰色 */
border: 2px solid #999999; /* 禁用时的边框颜色:更浅的灰色 */
color: #cccccc; /* 禁用时的文字颜色:浅灰色 */
}
QScrollBar::handle
{
background: rgb(60,60,60);
border: 0px solid grey;
border-radius:1px;
/*width: 8px;*/
}
QScrollBar
{
border-style: flat;
/*width: 10px;*/
margin:0px 0px 0px 0px;
border-radius:2px;
/*padding-top:7px;
padding-bottom:7px;*/
}
QScrollBar:vertical
{
width: 10px;
}
QScrollBar:horizontal
{
height: 10px;
}
QScrollBar::add-page, QScrollBar::sub-page
{
background:rgb(100,100,100);
}
QDateTimeEdit
{
background-color:rgb(70,70,70);
color:white;
font-size:9pt;
border: 1px solid rgb(90,90,90);
font-family:Consolas
}
QDateTimeEdit::up-button,QDateTimeEdit::down-button {
background-color:rgb(80,80,80);
width:5px
}
QDateTimeEdit::drop-down {
border: 1px solid rgb(100,100,100);
width:5px;
/* height:5px*/
}
QDateTimeEdit::down-arrow{
background-color:rgb(80,80,80);
/*color:transparent*/
width:0px;/*用于隐藏箭头*/
}
QComboBox{
background-color:rgb(70,70,70);
color:white;
font-size:9pt;
font-family:Consolas;
border: 1px solid rgb(90,90,90);
}
QComboBox QAbstractItemView {
background-color:rgb(70,70,70);
color:white;
}
QComboBox::drop-down {
border: 1px solid rgb(100,100,100);
width: 5px;
}
QComboBox::down-arrow{
width:0px;/*用于隐藏箭头*/
}