1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <author>Toni Gundogdu
</author>
4 <class>PreferencesDialog
</class>
5 <widget class=
"QDialog" name=
"PreferencesDialog">
6 <property name=
"windowModality">
7 <enum>Qt::ApplicationModal
</enum>
9 <property name=
"geometry">
17 <property name=
"windowTitle">
18 <string>Preferences
</string>
20 <property name=
"sizeGripEnabled">
23 <layout class=
"QGridLayout" name=
"gridLayout_5">
24 <item row=
"0" column=
"0">
25 <widget class=
"QTabWidget" name=
"tabWidget">
26 <property name=
"whatsThis">
29 <property name=
"currentIndex">
32 <widget class=
"QWidget" name=
"tab_4">
33 <attribute name=
"title">
34 <string>&General
</string>
36 <layout class=
"QGridLayout" name=
"gridLayout_2">
37 <item row=
"0" column=
"0">
38 <layout class=
"QHBoxLayout" name=
"horizontalLayout_7">
40 <widget class=
"QLabel" name=
"label_7">
41 <property name=
"text">
42 <string>&Path to c/clive:
</string>
44 <property name=
"buddy">
45 <cstring>ccliveEdit
</cstring>
50 <widget class=
"QLineEdit" name=
"ccliveEdit">
51 <property name=
"toolTip">
52 <string>Path to either cclive or clive command
</string>
57 <widget class=
"QPushButton" name=
"ccliveBrowse">
58 <property name=
"text">
61 <property name=
"icon">
62 <iconset resource=
"abby.qrc">
63 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
65 <property name=
"iconSize">
74 <widget class=
"QPushButton" name=
"verifyCcliveButton">
75 <property name=
"toolTip">
76 <string>Verify path
</string>
78 <property name=
"text">
81 <property name=
"icon">
82 <iconset resource=
"abby.qrc">
83 <normaloff>:/view-refresh.png
</normaloff>:/view-refresh.png
</iconset>
85 <property name=
"iconSize">
95 <item row=
"1" column=
"0">
96 <layout class=
"QHBoxLayout" name=
"horizontalLayout_6">
98 <widget class=
"QLabel" name=
"label">
99 <property name=
"text">
100 <string>&Download videos to:
</string>
102 <property name=
"buddy">
103 <cstring>savedirEdit
</cstring>
108 <widget class=
"QLineEdit" name=
"savedirEdit">
109 <property name=
"toolTip">
110 <string>Save downloaded videos to this directory
</string>
115 <widget class=
"QPushButton" name=
"savedirButton">
116 <property name=
"text">
119 <property name=
"icon">
120 <iconset resource=
"abby.qrc">
121 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
123 <property name=
"iconSize">
133 <item row=
"2" column=
"0">
134 <spacer name=
"verticalSpacer_5">
135 <property name=
"orientation">
136 <enum>Qt::Vertical
</enum>
138 <property name=
"sizeHint" stdset=
"0">
148 <widget class=
"QWidget" name=
"tab_2">
149 <attribute name=
"title">
150 <string>Co
&nnection
</string>
152 <layout class=
"QGridLayout" name=
"gridLayout_3">
153 <item row=
"0" column=
"0">
154 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
156 <widget class=
"QComboBox" name=
"proxyCombo">
157 <property name=
"toolTip">
158 <string>Whether a proxy should be used for the HTTP connections
</string>
161 <property name=
"text">
162 <string>No Proxy
</string>
166 <property name=
"text">
167 <string>Use Proxy
</string>
173 <widget class=
"QLineEdit" name=
"proxyEdit">
174 <property name=
"enabled">
181 <item row=
"1" column=
"0">
182 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
184 <widget class=
"QCheckBox" name=
"limitBox">
185 <property name=
"toolTip">
188 <property name=
"text">
189 <string>&Limit transfer rate:
</string>
194 <widget class=
"QSpinBox" name=
"limitSpin">
195 <property name=
"enabled">
198 <property name=
"suffix">
199 <string>KB/s
</string>
201 <property name=
"minimum">
204 <property name=
"maximum">
205 <number>9999</number>
210 <spacer name=
"horizontalSpacer">
211 <property name=
"orientation">
212 <enum>Qt::Horizontal
</enum>
214 <property name=
"sizeHint" stdset=
"0">
224 <item row=
"2" column=
"0">
225 <layout class=
"QHBoxLayout" name=
"horizontalLayout_10">
227 <widget class=
"QCheckBox" name=
"timeoutBox">
228 <property name=
"minimumSize">
234 <property name=
"toolTip">
235 <string>Maximum time in seconds allowed the connection to the server to take
</string>
237 <property name=
"text">
238 <string>&Timeout after:
</string>
243 <widget class=
"QSpinBox" name=
"timeoutSpin">
244 <property name=
"enabled">
247 <property name=
"suffix">
250 <property name=
"minimum">
253 <property name=
"maximum">
254 <number>9999</number>
259 <widget class=
"QCheckBox" name=
"socksBox">
260 <property name=
"enabled">
263 <property name=
"toolTip">
264 <string>Workaround the CURL SOCKS proxy bug by using
265 CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT
</string>
267 <property name=
"text">
268 <string>&Use SOCKS proxy workaround
</string>
273 <spacer name=
"horizontalSpacer_3">
274 <property name=
"orientation">
275 <enum>Qt::Horizontal
</enum>
277 <property name=
"sizeHint" stdset=
"0">
287 <item row=
"3" column=
"0">
288 <spacer name=
"verticalSpacer">
289 <property name=
"orientation">
290 <enum>Qt::Vertical
</enum>
292 <property name=
"sizeHint" stdset=
"0">
302 <widget class=
"QWidget" name=
"tab">
303 <attribute name=
"title">
304 <string>&Misc
</string>
306 <layout class=
"QGridLayout" name=
"gridLayout">
307 <item row=
"1" column=
"0">
308 <layout class=
"QHBoxLayout" name=
"horizontalLayout_8">
310 <widget class=
"QLabel" name=
"streamLabel">
311 <property name=
"text">
312 <string>S
&tream command:
</string>
314 <property name=
"buddy">
315 <cstring>streamEdit
</cstring>
320 <widget class=
"QLineEdit" name=
"streamEdit">
321 <property name=
"toolTip">
322 <string>Stream command to be invoked when file transfer reaches
323 a certain percentage defined in the Options tab.
325 Example: /usr/local/bin/mplayer -really-quiet %i
</string>
330 <widget class=
"QPushButton" name=
"streamButton">
331 <property name=
"text">
334 <property name=
"icon">
335 <iconset resource=
"abby.qrc">
336 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
338 <property name=
"iconSize">
348 <item row=
"2" column=
"0">
349 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
351 <widget class=
"QLabel" name=
"label_4">
352 <property name=
"text">
353 <string>E
&xternal command:
</string>
355 <property name=
"buddy">
356 <cstring>commandEdit
</cstring>
361 <widget class=
"QLineEdit" name=
"commandEdit">
362 <property name=
"toolTip">
363 <string>The command to be invoked when download finishes.
364 Any
"%i
" specifiers will be replaced by the name
365 of the downloaded video file.
367 Example: /usr/local/bin/mplayer %i
</string>
369 <property name=
"whatsThis">
375 <widget class=
"QPushButton" name=
"commandButton">
376 <property name=
"text">
379 <property name=
"icon">
380 <iconset resource=
"abby.qrc">
381 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
383 <property name=
"iconSize">
393 <item row=
"3" column=
"0">
394 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
396 <widget class=
"QLabel" name=
"langLabel">
397 <property name=
"text">
398 <string>&Language:
</string>
400 <property name=
"buddy">
401 <cstring>langCombo
</cstring>
406 <widget class=
"QComboBox" name=
"langCombo"/>
409 <spacer name=
"horizontalSpacer_2">
410 <property name=
"orientation">
411 <enum>Qt::Horizontal
</enum>
413 <property name=
"sizeHint" stdset=
"0">
423 <item row=
"5" column=
"0">
424 <spacer name=
"verticalSpacer_3">
425 <property name=
"orientation">
426 <enum>Qt::Vertical
</enum>
428 <property name=
"sizeHint" stdset=
"0">
440 <item row=
"1" column=
"0">
441 <widget class=
"QDialogButtonBox" name=
"buttonBox">
442 <property name=
"orientation">
443 <enum>Qt::Horizontal
</enum>
445 <property name=
"standardButtons">
446 <set>QDialogButtonBox::Ok
</set>
453 <tabstop>ccliveEdit
</tabstop>
454 <tabstop>ccliveBrowse
</tabstop>
455 <tabstop>verifyCcliveButton
</tabstop>
456 <tabstop>savedirEdit
</tabstop>
457 <tabstop>savedirButton
</tabstop>
458 <tabstop>buttonBox
</tabstop>
459 <tabstop>tabWidget
</tabstop>
460 <tabstop>proxyCombo
</tabstop>
461 <tabstop>proxyEdit
</tabstop>
462 <tabstop>limitBox
</tabstop>
463 <tabstop>limitSpin
</tabstop>
464 <tabstop>timeoutBox
</tabstop>
465 <tabstop>timeoutSpin
</tabstop>
466 <tabstop>socksBox
</tabstop>
467 <tabstop>streamEdit
</tabstop>
468 <tabstop>streamButton
</tabstop>
469 <tabstop>commandEdit
</tabstop>
470 <tabstop>commandButton
</tabstop>
471 <tabstop>langCombo
</tabstop>
474 <include location=
"abby.qrc"/>
478 <sender>buttonBox
</sender>
479 <signal>accepted()
</signal>
480 <receiver>PreferencesDialog
</receiver>
481 <slot>accept()
</slot>
483 <hint type=
"sourcelabel">
487 <hint type=
"destinationlabel">
494 <sender>buttonBox
</sender>
495 <signal>rejected()
</signal>
496 <receiver>PreferencesDialog
</receiver>
497 <slot>reject()
</slot>
499 <hint type=
"sourcelabel">
503 <hint type=
"destinationlabel">
510 <sender>proxyCombo
</sender>
511 <signal>currentIndexChanged(int)
</signal>
512 <receiver>PreferencesDialog
</receiver>
513 <slot>onProxyChanged(int)
</slot>
515 <hint type=
"sourcelabel">
519 <hint type=
"destinationlabel">
526 <sender>limitBox
</sender>
527 <signal>stateChanged(int)
</signal>
528 <receiver>PreferencesDialog
</receiver>
529 <slot>onLimitStateChanged(int)
</slot>
531 <hint type=
"sourcelabel">
535 <hint type=
"destinationlabel">
542 <sender>PreferencesDialog
</sender>
543 <signal>finished(int)
</signal>
544 <receiver>PreferencesDialog
</receiver>
545 <slot>onFinished(int)
</slot>
547 <hint type=
"sourcelabel">
551 <hint type=
"destinationlabel">
558 <sender>savedirButton
</sender>
559 <signal>clicked()
</signal>
560 <receiver>PreferencesDialog
</receiver>
561 <slot>onBrowseSaveDir()
</slot>
563 <hint type=
"sourcelabel">
567 <hint type=
"destinationlabel">
574 <sender>timeoutBox
</sender>
575 <signal>stateChanged(int)
</signal>
576 <receiver>PreferencesDialog
</receiver>
577 <slot>onTimeoutStateChanged(int)
</slot>
579 <hint type=
"sourcelabel">
583 <hint type=
"destinationlabel">
590 <sender>ccliveBrowse
</sender>
591 <signal>clicked()
</signal>
592 <receiver>PreferencesDialog
</receiver>
593 <slot>onBrowseCclive()
</slot>
595 <hint type=
"sourcelabel">
599 <hint type=
"destinationlabel">
606 <sender>streamButton
</sender>
607 <signal>clicked()
</signal>
608 <receiver>PreferencesDialog
</receiver>
609 <slot>onBrowseStreamCommand()
</slot>
611 <hint type=
"sourcelabel">
615 <hint type=
"destinationlabel">
622 <sender>commandButton
</sender>
623 <signal>clicked()
</signal>
624 <receiver>PreferencesDialog
</receiver>
625 <slot>onBrowseCommand()
</slot>
627 <hint type=
"sourcelabel">
631 <hint type=
"destinationlabel">
638 <sender>verifyCcliveButton
</sender>
639 <signal>clicked()
</signal>
640 <receiver>PreferencesDialog
</receiver>
641 <slot>onVerifyCclive()
</slot>
643 <hint type=
"sourcelabel">
647 <hint type=
"destinationlabel">
655 <slot>onProxyChanged(int)
</slot>
656 <slot>onLimitStateChanged(int)
</slot>
657 <slot>onYoutubeToggled(bool)
</slot>
658 <slot>onFinished(int)
</slot>
659 <slot>onBrowseSaveDir()
</slot>
660 <slot>onBrowseCommand()
</slot>
661 <slot>onBrowseCclive()
</slot>
662 <slot>onLangChanged(int)
</slot>
663 <slot>onBrowseStreamCommand()
</slot>
664 <slot>onTimeoutStateChanged(int)
</slot>
665 <slot>onVerifyCclive()
</slot>