-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMyTitle.css
72 lines (60 loc) · 1.29 KB
/
MyTitle.css
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
/*窗口标题栏*/
QLabel#TitleContent
{
color: #FFFFFF;
}
/*最小化按钮*/
QPushButton#ButtonMin
{
border-image:url(:/MyTitle/min.png) 0 81 0 0 ;
}
QPushButton#ButtonMin:hover
{
border-image:url(:/MyTitle/min.png) 0 54 0 27 ;
}
QPushButton#ButtonMin:pressed
{
border-image:url(:/MyTitle/min.png) 0 27 0 54 ;
}
/*最大化按钮*/
QPushButton#ButtonMax
{
border-image:url(:/MyTitle/max.png) 0 81 0 0 ;
}
QPushButton#ButtonMax:hover
{
border-image:url(:/MyTitle/max.png) 0 54 0 27 ;
}
QPushButton#ButtonMax:pressed
{
border-image:url(:/MyTitle/max.png) 0 27 0 54 ;
}
/*还原按钮*/
QPushButton#ButtonRestore
{
border-image:url(:/MyTitle/restore.png) 0 81 0 0 ;
}
QPushButton#ButtonRestore:hover
{
border-image:url(:/MyTitle/restore.png) 0 54 0 27 ;
}
QPushButton#ButtonRestore:pressed
{
border-image:url(:/MyTitle/restore.png) 0 27 0 54 ;
}
/*关闭按钮*/
QPushButton#ButtonClose
{
border-image:url(:/MyTitle/close.png) 0 81 0 0 ;
border-top-right-radius:3 ;
}
QPushButton#ButtonClose:hover
{
border-image:url(:/MyTitle/close.png) 0 54 0 27 ;
border-top-right-radius:3 ;
}
QPushButton#ButtonClose:pressed
{
border-image:url(:/MyTitle/close.png) 0 27 0 54 ;
border-top-right-radius:3 ;
}