1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <ui version="4.0">
|
---|
3 | <class>PrefNetwork</class>
|
---|
4 | <widget class="QWidget" name="PrefNetwork">
|
---|
5 | <property name="geometry">
|
---|
6 | <rect>
|
---|
7 | <x>0</x>
|
---|
8 | <y>0</y>
|
---|
9 | <width>480</width>
|
---|
10 | <height>294</height>
|
---|
11 | </rect>
|
---|
12 | </property>
|
---|
13 | <layout class="QVBoxLayout">
|
---|
14 | <property name="margin">
|
---|
15 | <number>0</number>
|
---|
16 | </property>
|
---|
17 | <item>
|
---|
18 | <widget class="QTabWidget" name="tab_widget">
|
---|
19 | <property name="currentIndex">
|
---|
20 | <number>0</number>
|
---|
21 | </property>
|
---|
22 | <widget class="QWidget" name="youtube_page">
|
---|
23 | <attribute name="title">
|
---|
24 | <string>&YouTube (and other sites)</string>
|
---|
25 | </attribute>
|
---|
26 | <layout class="QVBoxLayout" name="verticalLayout_3">
|
---|
27 | <item>
|
---|
28 | <layout class="QHBoxLayout" name="horizontalLayout_2">
|
---|
29 | <item>
|
---|
30 | <widget class="QLabel" name="label">
|
---|
31 | <property name="text">
|
---|
32 | <string>Support for &video sites:</string>
|
---|
33 | </property>
|
---|
34 | <property name="buddy">
|
---|
35 | <cstring>streaming_type_combo</cstring>
|
---|
36 | </property>
|
---|
37 | </widget>
|
---|
38 | </item>
|
---|
39 | <item>
|
---|
40 | <widget class="QComboBox" name="streaming_type_combo">
|
---|
41 | <property name="sizePolicy">
|
---|
42 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
---|
43 | <horstretch>0</horstretch>
|
---|
44 | <verstretch>0</verstretch>
|
---|
45 | </sizepolicy>
|
---|
46 | </property>
|
---|
47 | </widget>
|
---|
48 | </item>
|
---|
49 | <item>
|
---|
50 | <spacer name="horizontalSpacer">
|
---|
51 | <property name="orientation">
|
---|
52 | <enum>Qt::Horizontal</enum>
|
---|
53 | </property>
|
---|
54 | <property name="sizeHint" stdset="0">
|
---|
55 | <size>
|
---|
56 | <width>40</width>
|
---|
57 | <height>20</height>
|
---|
58 | </size>
|
---|
59 | </property>
|
---|
60 | </spacer>
|
---|
61 | </item>
|
---|
62 | </layout>
|
---|
63 | </item>
|
---|
64 | <item>
|
---|
65 | <widget class="QGroupBox" name="youtube_box">
|
---|
66 | <property name="title">
|
---|
67 | <string>Options for YouTube</string>
|
---|
68 | </property>
|
---|
69 | <layout class="QVBoxLayout" name="verticalLayout_2">
|
---|
70 | <item>
|
---|
71 | <layout class="QHBoxLayout" name="_3">
|
---|
72 | <item>
|
---|
73 | <widget class="QLabel" name="yt_label">
|
---|
74 | <property name="text">
|
---|
75 | <string>Playback &quality</string>
|
---|
76 | </property>
|
---|
77 | <property name="buddy">
|
---|
78 | <cstring>yt_quality_combo</cstring>
|
---|
79 | </property>
|
---|
80 | </widget>
|
---|
81 | </item>
|
---|
82 | <item>
|
---|
83 | <widget class="QComboBox" name="yt_quality_combo"/>
|
---|
84 | </item>
|
---|
85 | <item>
|
---|
86 | <spacer>
|
---|
87 | <property name="orientation">
|
---|
88 | <enum>Qt::Horizontal</enum>
|
---|
89 | </property>
|
---|
90 | <property name="sizeHint" stdset="0">
|
---|
91 | <size>
|
---|
92 | <width>40</width>
|
---|
93 | <height>20</height>
|
---|
94 | </size>
|
---|
95 | </property>
|
---|
96 | </spacer>
|
---|
97 | </item>
|
---|
98 | </layout>
|
---|
99 | </item>
|
---|
100 | <item>
|
---|
101 | <layout class="QHBoxLayout" name="horizontalLayout">
|
---|
102 | <item>
|
---|
103 | <widget class="QLabel" name="yt_user_agent_label">
|
---|
104 | <property name="text">
|
---|
105 | <string>&User agent</string>
|
---|
106 | </property>
|
---|
107 | <property name="buddy">
|
---|
108 | <cstring>yt_user_agent_edit</cstring>
|
---|
109 | </property>
|
---|
110 | </widget>
|
---|
111 | </item>
|
---|
112 | <item>
|
---|
113 | <widget class="QLineEdit" name="yt_user_agent_edit"/>
|
---|
114 | </item>
|
---|
115 | </layout>
|
---|
116 | </item>
|
---|
117 | </layout>
|
---|
118 | </widget>
|
---|
119 | </item>
|
---|
120 | <item>
|
---|
121 | <spacer name="verticalSpacer_2">
|
---|
122 | <property name="orientation">
|
---|
123 | <enum>Qt::Vertical</enum>
|
---|
124 | </property>
|
---|
125 | <property name="sizeHint" stdset="0">
|
---|
126 | <size>
|
---|
127 | <width>20</width>
|
---|
128 | <height>40</height>
|
---|
129 | </size>
|
---|
130 | </property>
|
---|
131 | </spacer>
|
---|
132 | </item>
|
---|
133 | </layout>
|
---|
134 | </widget>
|
---|
135 | <widget class="QWidget" name="cc_page">
|
---|
136 | <attribute name="title">
|
---|
137 | <string>C&hromecast</string>
|
---|
138 | </attribute>
|
---|
139 | <layout class="QGridLayout" name="gridLayout">
|
---|
140 | <item row="0" column="0">
|
---|
141 | <widget class="QGroupBox" name="groupBox">
|
---|
142 | <property name="title">
|
---|
143 | <string>Web Server</string>
|
---|
144 | </property>
|
---|
145 | <layout class="QGridLayout" name="gridLayout_2">
|
---|
146 | <item row="6" column="0" colspan="3">
|
---|
147 | <widget class="QLabel" name="label_10">
|
---|
148 | <property name="font">
|
---|
149 | <font>
|
---|
150 | <weight>75</weight>
|
---|
151 | <bold>true</bold>
|
---|
152 | </font>
|
---|
153 | </property>
|
---|
154 | <property name="text">
|
---|
155 | <string>Changes in this section will be applied the next time the web server is restarted</string>
|
---|
156 | </property>
|
---|
157 | <property name="alignment">
|
---|
158 | <set>Qt::AlignCenter</set>
|
---|
159 | </property>
|
---|
160 | <property name="wordWrap">
|
---|
161 | <bool>true</bool>
|
---|
162 | </property>
|
---|
163 | </widget>
|
---|
164 | </item>
|
---|
165 | <item row="3" column="1">
|
---|
166 | <widget class="QSpinBox" name="port_spin">
|
---|
167 | <property name="maximum">
|
---|
168 | <number>65535</number>
|
---|
169 | </property>
|
---|
170 | </widget>
|
---|
171 | </item>
|
---|
172 | <item row="4" column="0" colspan="3">
|
---|
173 | <widget class="QCheckBox" name="directory_listing_check">
|
---|
174 | <property name="text">
|
---|
175 | <string>&Directory listing</string>
|
---|
176 | </property>
|
---|
177 | </widget>
|
---|
178 | </item>
|
---|
179 | <item row="2" column="0">
|
---|
180 | <widget class="QLabel" name="label_8">
|
---|
181 | <property name="text">
|
---|
182 | <string>Local &IP:</string>
|
---|
183 | </property>
|
---|
184 | <property name="buddy">
|
---|
185 | <cstring>local_ip_combo</cstring>
|
---|
186 | </property>
|
---|
187 | </widget>
|
---|
188 | </item>
|
---|
189 | <item row="2" column="2">
|
---|
190 | <spacer name="horizontalSpacer_2">
|
---|
191 | <property name="orientation">
|
---|
192 | <enum>Qt::Horizontal</enum>
|
---|
193 | </property>
|
---|
194 | <property name="sizeHint" stdset="0">
|
---|
195 | <size>
|
---|
196 | <width>179</width>
|
---|
197 | <height>20</height>
|
---|
198 | </size>
|
---|
199 | </property>
|
---|
200 | </spacer>
|
---|
201 | </item>
|
---|
202 | <item row="3" column="0">
|
---|
203 | <widget class="QLabel" name="label_9">
|
---|
204 | <property name="text">
|
---|
205 | <string>&Port:</string>
|
---|
206 | </property>
|
---|
207 | <property name="buddy">
|
---|
208 | <cstring>port_spin</cstring>
|
---|
209 | </property>
|
---|
210 | </widget>
|
---|
211 | </item>
|
---|
212 | <item row="3" column="2">
|
---|
213 | <spacer name="horizontalSpacer_3">
|
---|
214 | <property name="orientation">
|
---|
215 | <enum>Qt::Horizontal</enum>
|
---|
216 | </property>
|
---|
217 | <property name="sizeHint" stdset="0">
|
---|
218 | <size>
|
---|
219 | <width>179</width>
|
---|
220 | <height>20</height>
|
---|
221 | </size>
|
---|
222 | </property>
|
---|
223 | </spacer>
|
---|
224 | </item>
|
---|
225 | <item row="0" column="0" colspan="3">
|
---|
226 | <widget class="QLabel" name="label_7">
|
---|
227 | <property name="text">
|
---|
228 | <string>In order to serve local media from this computer to Chromecast, SMPlayer will run a tiny web server. You can adjust here some of the settings.</string>
|
---|
229 | </property>
|
---|
230 | <property name="wordWrap">
|
---|
231 | <bool>true</bool>
|
---|
232 | </property>
|
---|
233 | </widget>
|
---|
234 | </item>
|
---|
235 | <item row="5" column="0" colspan="3">
|
---|
236 | <widget class="Line" name="line">
|
---|
237 | <property name="orientation">
|
---|
238 | <enum>Qt::Horizontal</enum>
|
---|
239 | </property>
|
---|
240 | </widget>
|
---|
241 | </item>
|
---|
242 | <item row="2" column="1">
|
---|
243 | <widget class="QComboBox" name="local_ip_combo">
|
---|
244 | <property name="editable">
|
---|
245 | <bool>true</bool>
|
---|
246 | </property>
|
---|
247 | </widget>
|
---|
248 | </item>
|
---|
249 | </layout>
|
---|
250 | </widget>
|
---|
251 | </item>
|
---|
252 | <item row="5" column="0">
|
---|
253 | <spacer name="verticalSpacer_3">
|
---|
254 | <property name="orientation">
|
---|
255 | <enum>Qt::Vertical</enum>
|
---|
256 | </property>
|
---|
257 | <property name="sizeHint" stdset="0">
|
---|
258 | <size>
|
---|
259 | <width>20</width>
|
---|
260 | <height>40</height>
|
---|
261 | </size>
|
---|
262 | </property>
|
---|
263 | </spacer>
|
---|
264 | </item>
|
---|
265 | </layout>
|
---|
266 | </widget>
|
---|
267 | <widget class="QWidget" name="proxy_page">
|
---|
268 | <attribute name="title">
|
---|
269 | <string>&Proxy</string>
|
---|
270 | </attribute>
|
---|
271 | <layout class="QVBoxLayout" name="verticalLayout">
|
---|
272 | <item>
|
---|
273 | <widget class="QCheckBox" name="use_proxy_check">
|
---|
274 | <property name="text">
|
---|
275 | <string>&Enable proxy</string>
|
---|
276 | </property>
|
---|
277 | </widget>
|
---|
278 | </item>
|
---|
279 | <item>
|
---|
280 | <widget class="QWidget" name="proxy_container" native="true">
|
---|
281 | <property name="enabled">
|
---|
282 | <bool>false</bool>
|
---|
283 | </property>
|
---|
284 | <layout class="QGridLayout" name="_2">
|
---|
285 | <item row="0" column="0">
|
---|
286 | <widget class="QLabel" name="label_2">
|
---|
287 | <property name="text">
|
---|
288 | <string>&Host:</string>
|
---|
289 | </property>
|
---|
290 | <property name="buddy">
|
---|
291 | <cstring>proxy_hostname_edit</cstring>
|
---|
292 | </property>
|
---|
293 | </widget>
|
---|
294 | </item>
|
---|
295 | <item row="0" column="1" colspan="2">
|
---|
296 | <widget class="QLineEdit" name="proxy_hostname_edit"/>
|
---|
297 | </item>
|
---|
298 | <item row="0" column="3">
|
---|
299 | <widget class="QLabel" name="label_3">
|
---|
300 | <property name="text">
|
---|
301 | <string>&Port:</string>
|
---|
302 | </property>
|
---|
303 | <property name="alignment">
|
---|
304 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
---|
305 | </property>
|
---|
306 | <property name="buddy">
|
---|
307 | <cstring>proxy_port_spin</cstring>
|
---|
308 | </property>
|
---|
309 | </widget>
|
---|
310 | </item>
|
---|
311 | <item row="0" column="4">
|
---|
312 | <widget class="QSpinBox" name="proxy_port_spin">
|
---|
313 | <property name="maximum">
|
---|
314 | <number>65535</number>
|
---|
315 | </property>
|
---|
316 | </widget>
|
---|
317 | </item>
|
---|
318 | <item row="1" column="0">
|
---|
319 | <widget class="QLabel" name="label_4">
|
---|
320 | <property name="text">
|
---|
321 | <string>&Username:</string>
|
---|
322 | </property>
|
---|
323 | <property name="buddy">
|
---|
324 | <cstring>proxy_username_edit</cstring>
|
---|
325 | </property>
|
---|
326 | </widget>
|
---|
327 | </item>
|
---|
328 | <item row="1" column="1" colspan="4">
|
---|
329 | <widget class="QLineEdit" name="proxy_username_edit"/>
|
---|
330 | </item>
|
---|
331 | <item row="2" column="0">
|
---|
332 | <widget class="QLabel" name="label_5">
|
---|
333 | <property name="text">
|
---|
334 | <string>Pa&ssword:</string>
|
---|
335 | </property>
|
---|
336 | <property name="buddy">
|
---|
337 | <cstring>proxy_password_edit</cstring>
|
---|
338 | </property>
|
---|
339 | </widget>
|
---|
340 | </item>
|
---|
341 | <item row="2" column="1" colspan="4">
|
---|
342 | <widget class="QLineEdit" name="proxy_password_edit">
|
---|
343 | <property name="echoMode">
|
---|
344 | <enum>QLineEdit::Password</enum>
|
---|
345 | </property>
|
---|
346 | </widget>
|
---|
347 | </item>
|
---|
348 | <item row="3" column="0">
|
---|
349 | <widget class="QLabel" name="label_6">
|
---|
350 | <property name="text">
|
---|
351 | <string>&Type:</string>
|
---|
352 | </property>
|
---|
353 | <property name="buddy">
|
---|
354 | <cstring>proxy_type_combo</cstring>
|
---|
355 | </property>
|
---|
356 | </widget>
|
---|
357 | </item>
|
---|
358 | <item row="3" column="1">
|
---|
359 | <widget class="QComboBox" name="proxy_type_combo"/>
|
---|
360 | </item>
|
---|
361 | <item row="3" column="2" colspan="3">
|
---|
362 | <spacer>
|
---|
363 | <property name="orientation">
|
---|
364 | <enum>Qt::Horizontal</enum>
|
---|
365 | </property>
|
---|
366 | <property name="sizeHint" stdset="0">
|
---|
367 | <size>
|
---|
368 | <width>261</width>
|
---|
369 | <height>20</height>
|
---|
370 | </size>
|
---|
371 | </property>
|
---|
372 | </spacer>
|
---|
373 | </item>
|
---|
374 | </layout>
|
---|
375 | </widget>
|
---|
376 | </item>
|
---|
377 | <item>
|
---|
378 | <spacer name="verticalSpacer">
|
---|
379 | <property name="orientation">
|
---|
380 | <enum>Qt::Vertical</enum>
|
---|
381 | </property>
|
---|
382 | <property name="sizeHint" stdset="0">
|
---|
383 | <size>
|
---|
384 | <width>20</width>
|
---|
385 | <height>40</height>
|
---|
386 | </size>
|
---|
387 | </property>
|
---|
388 | </spacer>
|
---|
389 | </item>
|
---|
390 | </layout>
|
---|
391 | </widget>
|
---|
392 | </widget>
|
---|
393 | </item>
|
---|
394 | </layout>
|
---|
395 | </widget>
|
---|
396 | <tabstops>
|
---|
397 | <tabstop>tab_widget</tabstop>
|
---|
398 | <tabstop>streaming_type_combo</tabstop>
|
---|
399 | <tabstop>yt_quality_combo</tabstop>
|
---|
400 | <tabstop>yt_user_agent_edit</tabstop>
|
---|
401 | <tabstop>local_ip_combo</tabstop>
|
---|
402 | <tabstop>port_spin</tabstop>
|
---|
403 | <tabstop>directory_listing_check</tabstop>
|
---|
404 | <tabstop>use_proxy_check</tabstop>
|
---|
405 | <tabstop>proxy_hostname_edit</tabstop>
|
---|
406 | <tabstop>proxy_port_spin</tabstop>
|
---|
407 | <tabstop>proxy_username_edit</tabstop>
|
---|
408 | <tabstop>proxy_password_edit</tabstop>
|
---|
409 | <tabstop>proxy_type_combo</tabstop>
|
---|
410 | </tabstops>
|
---|
411 | <resources/>
|
---|
412 | <connections>
|
---|
413 | <connection>
|
---|
414 | <sender>use_proxy_check</sender>
|
---|
415 | <signal>toggled(bool)</signal>
|
---|
416 | <receiver>proxy_container</receiver>
|
---|
417 | <slot>setEnabled(bool)</slot>
|
---|
418 | <hints>
|
---|
419 | <hint type="sourcelabel">
|
---|
420 | <x>239</x>
|
---|
421 | <y>50</y>
|
---|
422 | </hint>
|
---|
423 | <hint type="destinationlabel">
|
---|
424 | <x>239</x>
|
---|
425 | <y>139</y>
|
---|
426 | </hint>
|
---|
427 | </hints>
|
---|
428 | </connection>
|
---|
429 | </connections>
|
---|
430 | </ui>
|
---|