0
|
1 |
<ui version="4.0" >
|
|
2 |
<class>Dialog</class>
|
|
3 |
<widget class="QDialog" name="Dialog" >
|
|
4 |
<property name="geometry" >
|
|
5 |
<rect>
|
|
6 |
<x>0</x>
|
|
7 |
<y>0</y>
|
|
8 |
<width>400</width>
|
|
9 |
<height>646</height>
|
|
10 |
</rect>
|
|
11 |
</property>
|
|
12 |
<property name="windowTitle" >
|
|
13 |
<string>Dialog</string>
|
|
14 |
</property>
|
|
15 |
<layout class="QVBoxLayout" >
|
|
16 |
<item>
|
|
17 |
<widget class="QTabWidget" name="tabWidget_2" >
|
|
18 |
<property name="styleSheet" >
|
|
19 |
<string>
|
|
20 |
QTabBar::tab:bottom {
|
|
21 |
|
|
22 |
min-width: 15px;
|
|
23 |
padding: 3px 15px 3px 10px;
|
|
24 |
border: 1px solid #7f7f7f;
|
|
25 |
|
|
26 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
27 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
28 |
border-bottom-right-radius: 35px 21px;
|
|
29 |
|
|
30 |
}
|
|
31 |
QTabBar::tab:left {
|
|
32 |
padding: 10px 3px 15px 3px;
|
|
33 |
border: 1px solid #7f7f7f;
|
|
34 |
border-left-width: 0px;
|
|
35 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
36 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
37 |
border-bottom-right-radius: 21px 35px;
|
|
38 |
margin-right: 2px;
|
|
39 |
}
|
|
40 |
QTabBar:right {subcontrol-origin: padding;}
|
|
41 |
QTabBar::tab:right {
|
|
42 |
padding: 10px 3px 15px 5px;
|
|
43 |
border: 1px solid #7f7f7f;
|
|
44 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
45 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
46 |
border-bottom-left-radius: 21px 35px;
|
|
47 |
margin-left: 2px;
|
|
48 |
}
|
|
49 |
QTabBar::tab:bottom:!last { margin-right: -10px;}
|
|
50 |
QTabBar::tab:left:!last { margin-bottom: -10px;}
|
|
51 |
QTabBar::tab:right:!last { margin-bottom: -10px;}
|
|
52 |
|
|
53 |
QTabBar::tab:bottom:selected {
|
|
54 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
55 |
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
|
|
56 |
}
|
|
57 |
QTabBar::tab:left:selected {
|
|
58 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
59 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
60 |
}
|
|
61 |
QTabBar::tab:right:selected {
|
|
62 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
63 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
64 |
}
|
|
65 |
|
|
66 |
|
|
67 |
</string>
|
|
68 |
</property>
|
|
69 |
<property name="tabPosition" >
|
|
70 |
<enum>QTabWidget::South</enum>
|
|
71 |
</property>
|
|
72 |
<property name="currentIndex" >
|
|
73 |
<number>3</number>
|
|
74 |
</property>
|
|
75 |
<widget class="QWidget" name="tab_5" >
|
|
76 |
<attribute name="title" >
|
|
77 |
<string>Tab 1</string>
|
|
78 |
</attribute>
|
|
79 |
</widget>
|
|
80 |
<widget class="QWidget" name="tab_6" >
|
|
81 |
<attribute name="title" >
|
|
82 |
<string>Page</string>
|
|
83 |
</attribute>
|
|
84 |
</widget>
|
|
85 |
<widget class="QWidget" name="tab_7" >
|
|
86 |
<attribute name="title" >
|
|
87 |
<string>Page</string>
|
|
88 |
</attribute>
|
|
89 |
</widget>
|
|
90 |
<widget class="QWidget" name="tab_8" >
|
|
91 |
<attribute name="title" >
|
|
92 |
<string>Tab 2</string>
|
|
93 |
</attribute>
|
|
94 |
</widget>
|
|
95 |
</widget>
|
|
96 |
</item>
|
|
97 |
<item>
|
|
98 |
<widget class="QTabWidget" name="tabWidget_3" >
|
|
99 |
<property name="styleSheet" >
|
|
100 |
<string>
|
|
101 |
QTabBar::tab:bottom {
|
|
102 |
|
|
103 |
min-width: 15px;
|
|
104 |
padding: 3px 15px 3px 10px;
|
|
105 |
border: 1px solid #7f7f7f;
|
|
106 |
|
|
107 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
108 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
109 |
border-bottom-right-radius: 35px 21px;
|
|
110 |
|
|
111 |
}
|
|
112 |
QTabBar::tab:left {
|
|
113 |
padding: 10px 3px 15px 3px;
|
|
114 |
border: 1px solid #7f7f7f;
|
|
115 |
border-left-width: 0px;
|
|
116 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
117 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
118 |
border-bottom-right-radius: 21px 35px;
|
|
119 |
margin-right: 2px;
|
|
120 |
}
|
|
121 |
QTabBar:right {subcontrol-origin: padding;}
|
|
122 |
QTabBar::tab:right {
|
|
123 |
padding: 10px 3px 15px 5px;
|
|
124 |
border: 1px solid #7f7f7f;
|
|
125 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
126 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
127 |
border-bottom-left-radius: 21px 35px;
|
|
128 |
margin-left: 2px;
|
|
129 |
}
|
|
130 |
QTabBar::tab:bottom:!last { margin-right: -10px;}
|
|
131 |
QTabBar::tab:left:!last { margin-bottom: -10px;}
|
|
132 |
QTabBar::tab:right:!last { margin-bottom: -10px;}
|
|
133 |
|
|
134 |
QTabBar::tab:bottom:selected {
|
|
135 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
136 |
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
|
|
137 |
}
|
|
138 |
QTabBar::tab:left:selected {
|
|
139 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
140 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
141 |
}
|
|
142 |
QTabBar::tab:right:selected {
|
|
143 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
144 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
145 |
}
|
|
146 |
|
|
147 |
|
|
148 |
</string>
|
|
149 |
</property>
|
|
150 |
<property name="tabPosition" >
|
|
151 |
<enum>QTabWidget::East</enum>
|
|
152 |
</property>
|
|
153 |
<property name="currentIndex" >
|
|
154 |
<number>3</number>
|
|
155 |
</property>
|
|
156 |
<widget class="QWidget" name="tab_9" >
|
|
157 |
<attribute name="title" >
|
|
158 |
<string>Tab 1</string>
|
|
159 |
</attribute>
|
|
160 |
</widget>
|
|
161 |
<widget class="QWidget" name="tab_10" >
|
|
162 |
<attribute name="title" >
|
|
163 |
<string>Page</string>
|
|
164 |
</attribute>
|
|
165 |
</widget>
|
|
166 |
<widget class="QWidget" name="tab_11" >
|
|
167 |
<attribute name="title" >
|
|
168 |
<string>Page</string>
|
|
169 |
</attribute>
|
|
170 |
</widget>
|
|
171 |
<widget class="QWidget" name="tab_12" >
|
|
172 |
<attribute name="title" >
|
|
173 |
<string>Tab 2</string>
|
|
174 |
</attribute>
|
|
175 |
</widget>
|
|
176 |
</widget>
|
|
177 |
</item>
|
|
178 |
<item>
|
|
179 |
<widget class="QTabWidget" name="tabWidget" >
|
|
180 |
<property name="styleSheet" >
|
|
181 |
<string>
|
|
182 |
QTabBar::tab:bottom {
|
|
183 |
|
|
184 |
min-width: 15px;
|
|
185 |
padding: 3px 15px 3px 10px;
|
|
186 |
border: 1px solid #7f7f7f;
|
|
187 |
|
|
188 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
189 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
190 |
border-bottom-right-radius: 35px 21px;
|
|
191 |
|
|
192 |
}
|
|
193 |
QTabBar::tab:left {
|
|
194 |
padding: 10px 3px 15px 3px;
|
|
195 |
border: 1px solid #7f7f7f;
|
|
196 |
border-left-width: 0px;
|
|
197 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
198 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
199 |
border-bottom-right-radius: 21px 35px;
|
|
200 |
margin-right: 2px;
|
|
201 |
}
|
|
202 |
QTabBar:right {subcontrol-origin: padding;}
|
|
203 |
QTabBar::tab:right {
|
|
204 |
padding: 10px 3px 15px 5px;
|
|
205 |
border: 1px solid #7f7f7f;
|
|
206 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
207 |
stop: .3 #FFFFFF, stop: 1 #909090);
|
|
208 |
border-bottom-left-radius: 21px 35px;
|
|
209 |
margin-left: 2px;
|
|
210 |
}
|
|
211 |
QTabBar::tab:bottom:!last { margin-right: -10px;}
|
|
212 |
QTabBar::tab:left:!last { margin-bottom: -10px;}
|
|
213 |
QTabBar::tab:right:!last { margin-bottom: -10px;}
|
|
214 |
|
|
215 |
QTabBar::tab:bottom:selected {
|
|
216 |
background: qlineargradient(x1: 0, y1: 1, x2: 0,y2: 0,
|
|
217 |
stop: .3 #CFCFCF, stop: 1 #FFFFFF);
|
|
218 |
}
|
|
219 |
QTabBar::tab:left:selected {
|
|
220 |
background: qlineargradient(x1: 1, y1: 0, x2: 0,y2: 0,
|
|
221 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
222 |
}
|
|
223 |
QTabBar::tab:right:selected {
|
|
224 |
background: qlineargradient(x1: 0, y1: 0, x2: 1,y2: 0,
|
|
225 |
stop: .3 #DFDFDF, stop: 1 #F0F0F0);
|
|
226 |
}
|
|
227 |
|
|
228 |
|
|
229 |
</string>
|
|
230 |
</property>
|
|
231 |
<property name="tabPosition" >
|
|
232 |
<enum>QTabWidget::West</enum>
|
|
233 |
</property>
|
|
234 |
<property name="currentIndex" >
|
|
235 |
<number>3</number>
|
|
236 |
</property>
|
|
237 |
<widget class="QWidget" name="tab" >
|
|
238 |
<attribute name="title" >
|
|
239 |
<string>Tab 1</string>
|
|
240 |
</attribute>
|
|
241 |
</widget>
|
|
242 |
<widget class="QWidget" name="tab_4" >
|
|
243 |
<attribute name="title" >
|
|
244 |
<string>Page</string>
|
|
245 |
</attribute>
|
|
246 |
</widget>
|
|
247 |
<widget class="QWidget" name="tab_3" >
|
|
248 |
<attribute name="title" >
|
|
249 |
<string>Page</string>
|
|
250 |
</attribute>
|
|
251 |
</widget>
|
|
252 |
<widget class="QWidget" name="tab_2" >
|
|
253 |
<attribute name="title" >
|
|
254 |
<string>Tab 2</string>
|
|
255 |
</attribute>
|
|
256 |
</widget>
|
|
257 |
</widget>
|
|
258 |
</item>
|
|
259 |
<item>
|
|
260 |
<widget class="QDialogButtonBox" name="buttonBox" >
|
|
261 |
<property name="orientation" >
|
|
262 |
<enum>Qt::Horizontal</enum>
|
|
263 |
</property>
|
|
264 |
<property name="standardButtons" >
|
|
265 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
|
266 |
</property>
|
|
267 |
</widget>
|
|
268 |
</item>
|
|
269 |
</layout>
|
|
270 |
</widget>
|
|
271 |
<resources/>
|
|
272 |
<connections>
|
|
273 |
<connection>
|
|
274 |
<sender>buttonBox</sender>
|
|
275 |
<signal>accepted()</signal>
|
|
276 |
<receiver>Dialog</receiver>
|
|
277 |
<slot>accept()</slot>
|
|
278 |
<hints>
|
|
279 |
<hint type="sourcelabel" >
|
|
280 |
<x>248</x>
|
|
281 |
<y>254</y>
|
|
282 |
</hint>
|
|
283 |
<hint type="destinationlabel" >
|
|
284 |
<x>157</x>
|
|
285 |
<y>274</y>
|
|
286 |
</hint>
|
|
287 |
</hints>
|
|
288 |
</connection>
|
|
289 |
<connection>
|
|
290 |
<sender>buttonBox</sender>
|
|
291 |
<signal>rejected()</signal>
|
|
292 |
<receiver>Dialog</receiver>
|
|
293 |
<slot>reject()</slot>
|
|
294 |
<hints>
|
|
295 |
<hint type="sourcelabel" >
|
|
296 |
<x>316</x>
|
|
297 |
<y>260</y>
|
|
298 |
</hint>
|
|
299 |
<hint type="destinationlabel" >
|
|
300 |
<x>286</x>
|
|
301 |
<y>274</y>
|
|
302 |
</hint>
|
|
303 |
</hints>
|
|
304 |
</connection>
|
|
305 |
</connections>
|
|
306 |
</ui>
|