2 <author>Toni Gundogdu</author>
3 <class>PreferencesDialog</class>
4 <widget class="QDialog" name="PreferencesDialog" >
5 <property name="windowModality" >
6 <enum>Qt::ApplicationModal</enum>
8 <property name="geometry" >
16 <property name="windowTitle" >
17 <string>Preferences</string>
19 <property name="sizeGripEnabled" >
22 <layout class="QGridLayout" name="gridLayout_5" >
23 <item row="0" column="0" >
24 <widget class="QTabWidget" name="tabWidget" >
25 <property name="whatsThis" >
28 <property name="currentIndex" >
31 <widget class="QWidget" name="tab_4" >
32 <attribute name="title" >
33 <string>&General</string>
35 <layout class="QGridLayout" name="gridLayout_2" >
36 <item row="0" column="0" >
37 <layout class="QHBoxLayout" name="horizontalLayout_6" >
39 <widget class="QLabel" name="label" >
40 <property name="text" >
41 <string>&Save videos to:</string>
43 <property name="buddy" >
44 <cstring>savedirEdit</cstring>
49 <widget class="QLineEdit" name="savedirEdit" >
50 <property name="toolTip" >
51 <string>Save downloaded videos to this directory.</string>
56 <widget class="QPushButton" name="savedirButton" >
57 <property name="text" >
58 <string>&Browse</string>
64 <item row="1" column="0" >
65 <layout class="QHBoxLayout" name="horizontalLayout_4" >
67 <widget class="QLabel" name="label_4" >
68 <property name="text" >
69 <string>E&xternal command:</string>
71 <property name="buddy" >
72 <cstring>commandEdit</cstring>
77 <widget class="QLineEdit" name="commandEdit" >
78 <property name="toolTip" >
79 <string>Command to be run after finishing downloading. You may
80 use the "%i" specifier which will be replaced by the
81 name of the downloaded video file.
83 Example: /usr/local/bin/mplayer %i</string>
85 <property name="whatsThis" >
91 <widget class="QPushButton" name="commandButton" >
92 <property name="text" >
93 <string>Bro&wse</string>
99 <item row="2" column="0" >
100 <layout class="QHBoxLayout" name="horizontalLayout_7" >
102 <widget class="QLabel" name="label_7" >
103 <property name="text" >
104 <string>&Path to cclive:</string>
106 <property name="buddy" >
107 <cstring>ccliveEdit</cstring>
112 <widget class="QLineEdit" name="ccliveEdit" >
113 <property name="toolTip" >
114 <string>Path to cclive command.</string>
119 <widget class="QPushButton" name="ccliveBrowse" >
120 <property name="text" >
121 <string>Brows&e</string>
127 <item row="3" column="0" >
128 <layout class="QHBoxLayout" name="horizontalLayout_5" >
130 <widget class="QLabel" name="label_5" >
131 <property name="text" >
132 <string>&Additional options:</string>
134 <property name="buddy" >
135 <cstring>additionalEdit</cstring>
140 <widget class="QLineEdit" name="additionalEdit" >
141 <property name="toolTip" >
142 <string>Additional options to be passed to cclive.</string>
150 <widget class="QWidget" name="tab_2" >
151 <attribute name="title" >
152 <string>&Connection</string>
154 <layout class="QGridLayout" name="gridLayout_3" >
155 <item row="0" column="0" >
156 <layout class="QHBoxLayout" name="horizontalLayout" >
158 <widget class="QComboBox" name="proxyCombo" >
159 <property name="toolTip" >
160 <string>Whether use a HTTP proxy for connections.
161 If unsure, leave to "No Proxy".</string>
164 <property name="text" >
165 <string>No Proxy</string>
169 <property name="text" >
170 <string>Use Proxy</string>
176 <widget class="QLineEdit" name="proxyEdit" >
177 <property name="enabled" >
184 <item row="1" column="0" >
185 <layout class="QHBoxLayout" name="horizontalLayout_3" >
187 <widget class="QCheckBox" name="limitBox" >
188 <property name="toolTip" >
189 <string>Limit download transfer speed.</string>
191 <property name="text" >
192 <string>&Limit transfer rate:</string>
197 <widget class="QSpinBox" name="limitSpin" >
198 <property name="enabled" >
201 <property name="suffix" >
202 <string>KB/s</string>
204 <property name="minimum" >
207 <property name="maximum" >
208 <number>9999</number>
213 <spacer name="horizontalSpacer" >
214 <property name="orientation" >
215 <enum>Qt::Horizontal</enum>
217 <property name="sizeHint" stdset="0" >
227 <item row="2" column="0" >
228 <spacer name="verticalSpacer" >
229 <property name="orientation" >
230 <enum>Qt::Vertical</enum>
232 <property name="sizeHint" stdset="0" >
242 <widget class="QWidget" name="tab_3" >
243 <attribute name="title" >
244 <string>&Youtube</string>
246 <layout class="QGridLayout" name="gridLayout_4" >
247 <item row="0" column="0" >
248 <widget class="QGroupBox" name="youtubeGroup" >
249 <property name="toolTip" >
250 <string>Usually needed only to download videos that have
251 been flagged as mature content.</string>
253 <property name="title" >
254 <string>&Log in</string>
256 <property name="checkable" >
259 <property name="checked" >
262 <layout class="QGridLayout" name="gridLayout" >
263 <item row="0" column="0" >
264 <widget class="QLabel" name="label_2" >
265 <property name="text" >
266 <string>&Username:</string>
268 <property name="buddy" >
269 <cstring>ytuserEdit</cstring>
273 <item row="0" column="1" >
274 <widget class="QLineEdit" name="ytuserEdit" >
275 <property name="toolTip" >
280 <item row="1" column="0" >
281 <widget class="QLabel" name="label_3" >
282 <property name="text" >
283 <string>&Password:</string>
285 <property name="buddy" >
286 <cstring>ytpassEdit</cstring>
290 <item row="1" column="1" >
291 <widget class="QLineEdit" name="ytpassEdit" >
292 <property name="toolTip" >
293 <string>Leave empty if you want abby to prompt for it.</string>
295 <property name="echoMode" >
296 <enum>QLineEdit::Password</enum>
303 <item row="1" column="0" >
304 <spacer name="verticalSpacer_2" >
305 <property name="orientation" >
306 <enum>Qt::Vertical</enum>
308 <property name="sizeHint" stdset="0" >
318 <widget class="QWidget" name="tab" >
319 <attribute name="title" >
320 <string>&Misc</string>
322 <layout class="QGridLayout" name="gridLayout_6" >
323 <item row="0" column="0" >
324 <layout class="QHBoxLayout" name="horizontalLayout_2" >
326 <widget class="QLabel" name="label_6" >
327 <property name="text" >
328 <string>&Language:</string>
330 <property name="buddy" >
331 <cstring>langCombo</cstring>
336 <widget class="QComboBox" name="langCombo" />
339 <spacer name="horizontalSpacer_2" >
340 <property name="orientation" >
341 <enum>Qt::Horizontal</enum>
343 <property name="sizeHint" stdset="0" >
353 <item row="1" column="0" >
354 <spacer name="verticalSpacer_3" >
355 <property name="orientation" >
356 <enum>Qt::Vertical</enum>
358 <property name="sizeHint" stdset="0" >
370 <item row="1" column="0" >
371 <widget class="QDialogButtonBox" name="buttonBox" >
372 <property name="orientation" >
373 <enum>Qt::Horizontal</enum>
375 <property name="standardButtons" >
376 <set>QDialogButtonBox::Ok</set>
383 <tabstop>tabWidget</tabstop>
384 <tabstop>savedirEdit</tabstop>
385 <tabstop>savedirButton</tabstop>
386 <tabstop>commandEdit</tabstop>
387 <tabstop>commandButton</tabstop>
388 <tabstop>ccliveEdit</tabstop>
389 <tabstop>ccliveBrowse</tabstop>
390 <tabstop>additionalEdit</tabstop>
391 <tabstop>proxyCombo</tabstop>
392 <tabstop>proxyEdit</tabstop>
393 <tabstop>limitBox</tabstop>
394 <tabstop>limitSpin</tabstop>
395 <tabstop>youtubeGroup</tabstop>
396 <tabstop>ytuserEdit</tabstop>
397 <tabstop>ytpassEdit</tabstop>
398 <tabstop>buttonBox</tabstop>
404 <sender>buttonBox</sender>
405 <signal>accepted()</signal>
406 <receiver>PreferencesDialog</receiver>
407 <slot>accept()</slot>
409 <hint type="sourcelabel" >
413 <hint type="destinationlabel" >
420 <sender>buttonBox</sender>
421 <signal>rejected()</signal>
422 <receiver>PreferencesDialog</receiver>
423 <slot>reject()</slot>
425 <hint type="sourcelabel" >
429 <hint type="destinationlabel" >
436 <sender>proxyCombo</sender>
437 <signal>currentIndexChanged(int)</signal>
438 <receiver>PreferencesDialog</receiver>
439 <slot>onProxyChanged(int)</slot>
441 <hint type="sourcelabel" >
445 <hint type="destinationlabel" >
452 <sender>limitBox</sender>
453 <signal>stateChanged(int)</signal>
454 <receiver>PreferencesDialog</receiver>
455 <slot>onLimitStateChanged(int)</slot>
457 <hint type="sourcelabel" >
461 <hint type="destinationlabel" >
468 <sender>PreferencesDialog</sender>
469 <signal>finished(int)</signal>
470 <receiver>PreferencesDialog</receiver>
471 <slot>onFinished(int)</slot>
473 <hint type="sourcelabel" >
477 <hint type="destinationlabel" >
484 <sender>savedirButton</sender>
485 <signal>clicked()</signal>
486 <receiver>PreferencesDialog</receiver>
487 <slot>onBrowseSaveDir()</slot>
489 <hint type="sourcelabel" >
493 <hint type="destinationlabel" >
500 <sender>commandButton</sender>
501 <signal>clicked()</signal>
502 <receiver>PreferencesDialog</receiver>
503 <slot>onBrowseCommand()</slot>
505 <hint type="sourcelabel" >
509 <hint type="destinationlabel" >
516 <sender>ccliveBrowse</sender>
517 <signal>clicked()</signal>
518 <receiver>PreferencesDialog</receiver>
519 <slot>onBrowseCclive()</slot>
521 <hint type="sourcelabel" >
525 <hint type="destinationlabel" >
533 <slot>onProxyChanged(int)</slot>
534 <slot>onLimitStateChanged(int)</slot>
535 <slot>onYoutubeToggled(bool)</slot>
536 <slot>onFinished(int)</slot>
537 <slot>onBrowseSaveDir()</slot>
538 <slot>onBrowseCommand()</slot>
539 <slot>onBrowseCclive()</slot>
540 <slot>onLangChanged(int)</slot>