ColorDialog
0
0
752
415
ColorDialog
/*主界面样式表*/
QWidget
{
border:none;
color:white;
font-family:微软雅黑;
font-size:14px;
outline:0px;
background:transparent;
}
#topWgt
{
border-width:4 4 4 4;
}
/*
主体背景
*/
#mainWgt
{
border-width:4 4 4 4;
}
QLineEdit
{
background:#25272b;
border:1px solid #276d94;
padding-left:5px;
}
QGroupBox
{
border:2px solid #276d94;
margin-top:10px;
}
QGroupBox::title
{
left:10px;
bottom:10px;
}
/*1-按钮开始*/
QPushButton
{
background:#b82525;
border-radius:3px;
padding-top:-2px;
}
QPushButton:hover
{
background:#d4352d;
}
QPushButton:pressed
{
background:#ab2922;
}
/*1-按钮结束*/
QSpinBox
{
border:1px solid #276d94;
background-color:#25272b;
min-height: 26px;
min-width: 70px;
}
QSpinBox::up-arrow
{
border-left:8px solid #25272b;
border-right:8px solid #25272b;
border-bottom:8px solid #276d94;
width:0px;
height: 0px;
}
QSpinBox::up-arrow:pressed
{
border-bottom:9px solid #81c3d7;
}
QSpinBox::up-button
{
margin-right:4px;
min-width: 16px;
min-height: 13px;
background-color:#25272b;
}
QSpinBox::down-arrow
{
border-left:8px solid #25272b;
border-right:8px solid #25272b;
border-top:8px solid #276d94;
width:0px;
height: 0px;
}
QSpinBox::down-arrow:pressed
{
border-top:9px solid #81c3d7;
}
QSpinBox::down-button
{
margin-right:4px;
min-width:16px;
min-height:13px;
background-color:#25272b;
}
0
0
0
0
0
-
0
35
16777215
35
background-color: rgb(216, 216, 216);
250
0
66
26
66
26
66
26
Tone(H):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
330
0
66
26
66
26
66
26
Saturation(S):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
400
0
66
26
66
26
66
26
Brightness(V):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
480
0
72
28
72
28
70
26
true
度
360
560
0
72
28
72
28
70
26
true
255
630
0
72
28
72
28
70
26
true
255
-
background-color: rgb(216, 216, 216);
color: rgb(0, 0, 0);
12
5
228
216
Basic color
5
10
5
1
-
214
191
214
191
12
232
228
81
Custom color
5
10
5
5
-
214
52
214
52
17
327
220
30
12
-
2
-
12
26
12
26
#
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
72
26
72
26
-
0
26
16777215
26
Add to custom
253
7
491
272
9
-
256
256
256
256
-
34
270
34
270
-
-
12
-
72
28
70
26
true
255
-
66
26
66
26
Blue(B):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
66
26
66
26
Green(G):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
72
28
70
26
true
255
-
72
28
70
26
true
255
-
66
26
66
26
Red(R):
false
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
16777215
2
border-top: 1px solid gray;
Qt::Horizontal
-
-
transparency:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
-
72
28
70
26
true
255
266
290
260
70
-
40
40
40
40
Cur color
Qt::AlignCenter
true
-
166
68
166
68
-
40
40
40
40
New color
Qt::AlignCenter
true
590
320
138
28
12
-
62
26
62
26
Ok
false
-
62
26
62
26
Cancel
BasicColorArea
QWidget
ColorDialog\basiccolorarea.h
1
CustomColorArea
QWidget
ColorDialog\customcolorarea.h
1
SVColorArea
QWidget
ColorDialog\svcolorarea.h
1
HColorArea
QWidget
1
PreviewColorArea
QWidget
ColorDialog\previewcolorarea.h
1