-
Notifications
You must be signed in to change notification settings - Fork 99
/
volumetimepanel.ui
121 lines (113 loc) · 2.42 KB
/
volumetimepanel.ui
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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>VolumeTimePanel</class>
<widget class="QWidget" name="VolumeTimePanel">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>102</width>
<height>20</height>
</rect>
</property>
<widget class="QLabel" name="tick">
<property name="geometry">
<rect>
<x>43</x>
<y>0</y>
<width>32</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>0:00</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="volumeImg">
<property name="geometry">
<rect>
<x>80</x>
<y>0</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="imgs.qrc">:/img/volume.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QSlider" name="volume">
<property name="geometry">
<rect>
<x>25</x>
<y>0</y>
<width>75</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QSlider::groove:horizontal {
background: #727982;
height: 5px;
border-radius: 4px;
}
QSlider::sub-page:horizontal {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #66e, stop: 1 #bbf);
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #bbf, stop: 1 #55f);
border: 1px solid #777;
height: 5px;
border-radius: 4px;
}
QSlider::add-page:horizontal {
background: #fff;
border: 1px solid #777;
height: 5px;
border-radius: 4px;
}
QSlider::handle:horizontal {
width:10px
}
QSlider::handle:horizontal:hover {
width: 10px
}
QSlider::sub-page:horizontal:disabled {
background: #94ad6b;
border-color: #999;
}
QSlider::add-page:horizontal:disabled {
background: #eee;
border-color: #999;
}
QSlider::handle:horizontal:disabled {
width: 0px
}</string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
<resources>
<include location="imgs.qrc"/>
</resources>
<connections/>
</ui>