1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>opmap_zoom_slider_widget
</class>
4 <widget class=
"QWidget" name=
"opmap_zoom_slider_widget">
5 <property name=
"geometry">
13 <property name=
"sizePolicy">
14 <sizepolicy hsizetype=
"Minimum" vsizetype=
"Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
19 <property name=
"windowTitle">
22 <property name=
"styleSheet">
23 <string notr=
"true">background-color: rgba(
0,
0,
0,
0);
27 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
28 <property name=
"spacing">
31 <property name=
"margin">
35 <widget class=
"QFrame" name=
"frame">
36 <property name=
"sizePolicy">
37 <sizepolicy hsizetype=
"Fixed" vsizetype=
"Preferred">
38 <horstretch>0</horstretch>
39 <verstretch>0</verstretch>
42 <property name=
"styleSheet">
43 <string notr=
"true">background-color: rgba(
0,
0,
0,
100);
45 border-radius:
12px;
</string>
47 <property name=
"frameShape">
48 <enum>QFrame::StyledPanel
</enum>
50 <property name=
"frameShadow">
51 <enum>QFrame::Raised
</enum>
53 <layout class=
"QVBoxLayout" name=
"verticalLayout">
54 <property name=
"spacing">
57 <property name=
"margin">
61 <widget class=
"QToolButton" name=
"toolButton">
62 <property name=
"sizePolicy">
63 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
64 <horstretch>0</horstretch>
65 <verstretch>0</verstretch>
68 <property name=
"styleSheet">
69 <string notr=
"true">QToolButton { /* all types of tool button */
70 background-color: rgba(
255,
255,
255,
0);
71 color: rgb(
255,
255,
255);
72 /*border-style: none;*/
76 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
255,
160,
0,
255), stop:
1 rgba(
160,
100,
0,
255));
77 color: rgb(
255,
255,
255);
80 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
48,
48,
48,
255), stop:
1 rgba(
120,
120,
120,
255));
81 color: rgb(
255,
255,
255);
85 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
48,
48,
48,
255), stop:
1 rgba(
120,
120,
120,
255));
86 color: rgb(
255,
255,
255);
90 <property name=
"text">
93 <property name=
"icon">
94 <iconset resource=
"opmap.qrc">
95 <normaloff>:/opmap/images/plus.png
</normaloff>:/opmap/images/plus.png
</iconset>
97 <property name=
"autoRaise">
103 <widget class=
"QSlider" name=
"verticalSlider">
104 <property name=
"sizePolicy">
105 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Expanding">
106 <horstretch>0</horstretch>
107 <verstretch>0</verstretch>
110 <property name=
"styleSheet">
111 <string notr=
"true">QSlider {
112 background-color: rgba(
0,
0,
0,
0);
115 QSlider::groove:horizontal {
118 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
48,
48,
48,
255), stop:
1 rgba(
80,
80,
80,
255));
122 QSlider::handle:horizontal {
123 border:
1px solid #
5c5c5c;
124 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
255,
255,
255,
255), stop:
1 rgba(
128,
128,
128,
255));
131 <property name=
"minimum">
134 <property name=
"maximum">
137 <property name=
"pageStep">
140 <property name=
"orientation">
141 <enum>Qt::Vertical
</enum>
146 <widget class=
"QToolButton" name=
"toolButton_2">
147 <property name=
"sizePolicy">
148 <sizepolicy hsizetype=
"Preferred" vsizetype=
"Fixed">
149 <horstretch>0</horstretch>
150 <verstretch>0</verstretch>
153 <property name=
"styleSheet">
154 <string notr=
"true">QToolButton { /* all types of tool button */
155 background-color: rgba(
255,
255,
255,
0);
156 color: rgb(
255,
255,
255);
157 /*border-style: none;*/
161 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
255,
160,
0,
255), stop:
1 rgba(
160,
100,
0,
255));
162 color: rgb(
255,
255,
255);
164 QToolButton:pressed {
165 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
48,
48,
48,
255), stop:
1 rgba(
120,
120,
120,
255));
166 color: rgb(
255,
255,
255);
169 QToolButton:checked {
170 background-color: qlineargradient(spread:pad, x1:
0.5, y1:
0, x2:
0.5, y2:
1, stop:
0 rgba(
48,
48,
48,
255), stop:
1 rgba(
120,
120,
120,
255));
171 color: rgb(
255,
255,
255);
175 <property name=
"text">
178 <property name=
"icon">
179 <iconset resource=
"opmap.qrc">
180 <normaloff>:/opmap/images/minus.png
</normaloff>:/opmap/images/minus.png
</iconset>
182 <property name=
"autoRaise">
193 <include location=
"opmap.qrc"/>