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>abby: Preferences
</string>
20 <property name=
"sizeGripEnabled">
23 <layout class=
"QGridLayout" name=
"gridLayout_5">
24 <item row=
"1" column=
"0">
25 <widget class=
"QDialogButtonBox" name=
"buttonBox">
26 <property name=
"orientation">
27 <enum>Qt::Horizontal
</enum>
29 <property name=
"standardButtons">
30 <set>QDialogButtonBox::Ok
</set>
34 <item row=
"0" column=
"0">
35 <widget class=
"QTabWidget" name=
"tabWidget">
36 <property name=
"whatsThis">
39 <property name=
"currentIndex">
42 <widget class=
"QWidget" name=
"tab_4">
43 <attribute name=
"title">
44 <string>&General
</string>
46 <layout class=
"QGridLayout" name=
"gridLayout_2">
47 <item row=
"0" column=
"0">
48 <layout class=
"QHBoxLayout" name=
"horizontalLayout_7">
50 <widget class=
"QLabel" name=
"label_7">
51 <property name=
"text">
52 <string>&Path to c/clive:
</string>
54 <property name=
"buddy">
55 <cstring>ccliveEdit
</cstring>
60 <widget class=
"QLineEdit" name=
"ccliveEdit">
61 <property name=
"toolTip">
62 <string>Path to either cclive or clive command
</string>
67 <widget class=
"QPushButton" name=
"ccliveBrowse">
68 <property name=
"text">
71 <property name=
"icon">
72 <iconset resource=
"abby.qrc">
73 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
75 <property name=
"iconSize">
85 <item row=
"1" column=
"0">
86 <layout class=
"QHBoxLayout" name=
"horizontalLayout_5">
88 <widget class=
"QPushButton" name=
"autodetectCcliveButton">
89 <property name=
"toolTip">
90 <string>Autodetect c/clive from the path
</string>
92 <property name=
"text">
93 <string>&Autodetect
</string>
95 <property name=
"iconSize">
104 <spacer name=
"horizontalSpacer_4">
105 <property name=
"orientation">
106 <enum>Qt::Horizontal
</enum>
108 <property name=
"sizeHint" stdset=
"0">
117 <widget class=
"QPushButton" name=
"verifyCcliveButton">
118 <property name=
"toolTip">
119 <string>Verify path to c/clive
</string>
121 <property name=
"text">
122 <string>&Verify
</string>
128 <item row=
"2" column=
"0">
129 <layout class=
"QHBoxLayout" name=
"horizontalLayout_6">
131 <widget class=
"QLabel" name=
"label">
132 <property name=
"text">
133 <string>&Download videos to:
</string>
135 <property name=
"buddy">
136 <cstring>savedirEdit
</cstring>
141 <widget class=
"QLineEdit" name=
"savedirEdit">
142 <property name=
"toolTip">
143 <string>Save downloaded videos to this directory
</string>
148 <widget class=
"QPushButton" name=
"savedirButton">
149 <property name=
"text">
152 <property name=
"icon">
153 <iconset resource=
"abby.qrc">
154 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
156 <property name=
"iconSize">
166 <item row=
"3" column=
"0">
167 <spacer name=
"verticalSpacer_5">
168 <property name=
"orientation">
169 <enum>Qt::Vertical
</enum>
171 <property name=
"sizeHint" stdset=
"0">
181 <widget class=
"QWidget" name=
"tab_2">
182 <attribute name=
"title">
183 <string>Co
&nnection
</string>
185 <layout class=
"QGridLayout" name=
"gridLayout_3">
186 <item row=
"0" column=
"0">
187 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
189 <widget class=
"QComboBox" name=
"proxyCombo">
190 <property name=
"toolTip">
191 <string>Whether a proxy should be used for the HTTP connections
</string>
194 <property name=
"text">
195 <string>No Proxy
</string>
199 <property name=
"text">
200 <string>Use Proxy
</string>
206 <widget class=
"QLineEdit" name=
"proxyEdit">
207 <property name=
"enabled">
214 <item row=
"1" column=
"0">
215 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
217 <widget class=
"QCheckBox" name=
"limitBox">
218 <property name=
"toolTip">
221 <property name=
"text">
222 <string>&Limit transfer rate:
</string>
227 <widget class=
"QSpinBox" name=
"limitSpin">
228 <property name=
"enabled">
231 <property name=
"suffix">
232 <string>KB/s
</string>
234 <property name=
"minimum">
237 <property name=
"maximum">
238 <number>9999</number>
243 <spacer name=
"horizontalSpacer">
244 <property name=
"orientation">
245 <enum>Qt::Horizontal
</enum>
247 <property name=
"sizeHint" stdset=
"0">
257 <item row=
"2" column=
"0">
258 <layout class=
"QHBoxLayout" name=
"horizontalLayout_10">
260 <widget class=
"QCheckBox" name=
"timeoutBox">
261 <property name=
"minimumSize">
267 <property name=
"toolTip">
268 <string>Maximum time in seconds allowed the connection to the server to take
</string>
270 <property name=
"text">
271 <string>&Timeout after:
</string>
276 <widget class=
"QSpinBox" name=
"timeoutSpin">
277 <property name=
"enabled">
280 <property name=
"suffix">
283 <property name=
"minimum">
286 <property name=
"maximum">
287 <number>9999</number>
292 <widget class=
"QCheckBox" name=
"socksBox">
293 <property name=
"enabled">
296 <property name=
"toolTip">
297 <string>Workaround the CURL SOCKS proxy bug by using
298 CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT
</string>
300 <property name=
"text">
301 <string>&Use SOCKS proxy workaround
</string>
306 <spacer name=
"horizontalSpacer_3">
307 <property name=
"orientation">
308 <enum>Qt::Horizontal
</enum>
310 <property name=
"sizeHint" stdset=
"0">
320 <item row=
"3" column=
"0">
321 <spacer name=
"verticalSpacer">
322 <property name=
"orientation">
323 <enum>Qt::Vertical
</enum>
325 <property name=
"sizeHint" stdset=
"0">
335 <widget class=
"QWidget" name=
"tab">
336 <attribute name=
"title">
337 <string>&Misc
</string>
339 <layout class=
"QGridLayout" name=
"gridLayout">
340 <item row=
"0" column=
"0">
341 <layout class=
"QHBoxLayout" name=
"horizontalLayout_8">
343 <widget class=
"QLabel" name=
"streamLabel">
344 <property name=
"text">
345 <string>S
&tream command:
</string>
347 <property name=
"buddy">
348 <cstring>streamEdit
</cstring>
353 <widget class=
"QLineEdit" name=
"streamEdit">
354 <property name=
"toolTip">
355 <string>Stream command to be invoked when file transfer reaches
356 a certain percentage defined in the Options tab.
358 Example: /usr/local/bin/mplayer -really-quiet %i
</string>
363 <widget class=
"QPushButton" name=
"streamButton">
364 <property name=
"text">
367 <property name=
"icon">
368 <iconset resource=
"abby.qrc">
369 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
371 <property name=
"iconSize">
381 <item row=
"1" column=
"0">
382 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
384 <widget class=
"QLabel" name=
"label_4">
385 <property name=
"text">
386 <string>E
&xternal command:
</string>
388 <property name=
"buddy">
389 <cstring>commandEdit
</cstring>
394 <widget class=
"QLineEdit" name=
"commandEdit">
395 <property name=
"toolTip">
396 <string>The command to be invoked when download finishes.
397 Any
"%i
" specifiers will be replaced by the name
398 of the downloaded video file.
400 Example: /usr/local/bin/mplayer %i
</string>
402 <property name=
"whatsThis">
408 <widget class=
"QPushButton" name=
"commandButton">
409 <property name=
"text">
412 <property name=
"icon">
413 <iconset resource=
"abby.qrc">
414 <normaloff>:/folder-saved-search.png
</normaloff>:/folder-saved-search.png
</iconset>
416 <property name=
"iconSize">
426 <item row=
"2" column=
"0">
427 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
429 <widget class=
"QLabel" name=
"langLabel">
430 <property name=
"text">
431 <string>&Language:
</string>
433 <property name=
"buddy">
434 <cstring>langCombo
</cstring>
439 <widget class=
"QComboBox" name=
"langCombo"/>
442 <spacer name=
"horizontalSpacer_2">
443 <property name=
"orientation">
444 <enum>Qt::Horizontal
</enum>
446 <property name=
"sizeHint" stdset=
"0">
456 <item row=
"3" column=
"0">
457 <layout class=
"QHBoxLayout" name=
"horizontalLayout_9">
459 <widget class=
"QCheckBox" name=
"mintrayBox">
460 <property name=
"text">
461 <string>Minimize to
&system tray
</string>
466 <spacer name=
"horizontalSpacer_5">
467 <property name=
"orientation">
468 <enum>Qt::Horizontal
</enum>
470 <property name=
"sizeHint" stdset=
"0">
480 <item row=
"4" column=
"0">
481 <spacer name=
"verticalSpacer_3">
482 <property name=
"orientation">
483 <enum>Qt::Vertical
</enum>
485 <property name=
"sizeHint" stdset=
"0">
500 <tabstop>ccliveEdit
</tabstop>
501 <tabstop>ccliveBrowse
</tabstop>
502 <tabstop>autodetectCcliveButton
</tabstop>
503 <tabstop>verifyCcliveButton
</tabstop>
504 <tabstop>savedirEdit
</tabstop>
505 <tabstop>savedirButton
</tabstop>
506 <tabstop>buttonBox
</tabstop>
507 <tabstop>tabWidget
</tabstop>
508 <tabstop>proxyCombo
</tabstop>
509 <tabstop>proxyEdit
</tabstop>
510 <tabstop>limitBox
</tabstop>
511 <tabstop>limitSpin
</tabstop>
512 <tabstop>timeoutBox
</tabstop>
513 <tabstop>timeoutSpin
</tabstop>
514 <tabstop>socksBox
</tabstop>
515 <tabstop>streamEdit
</tabstop>
516 <tabstop>streamButton
</tabstop>
517 <tabstop>commandEdit
</tabstop>
518 <tabstop>commandButton
</tabstop>
519 <tabstop>langCombo
</tabstop>
520 <tabstop>mintrayBox
</tabstop>
523 <include location=
"abby.qrc"/>
527 <sender>buttonBox
</sender>
528 <signal>accepted()
</signal>
529 <receiver>PreferencesDialog
</receiver>
530 <slot>accept()
</slot>
532 <hint type=
"sourcelabel">
536 <hint type=
"destinationlabel">
543 <sender>buttonBox
</sender>
544 <signal>rejected()
</signal>
545 <receiver>PreferencesDialog
</receiver>
546 <slot>reject()
</slot>
548 <hint type=
"sourcelabel">
552 <hint type=
"destinationlabel">
559 <sender>proxyCombo
</sender>
560 <signal>currentIndexChanged(int)
</signal>
561 <receiver>PreferencesDialog
</receiver>
562 <slot>onProxyChanged(int)
</slot>
564 <hint type=
"sourcelabel">
568 <hint type=
"destinationlabel">
575 <sender>limitBox
</sender>
576 <signal>stateChanged(int)
</signal>
577 <receiver>PreferencesDialog
</receiver>
578 <slot>onLimitStateChanged(int)
</slot>
580 <hint type=
"sourcelabel">
584 <hint type=
"destinationlabel">
591 <sender>PreferencesDialog
</sender>
592 <signal>finished(int)
</signal>
593 <receiver>PreferencesDialog
</receiver>
594 <slot>onFinished(int)
</slot>
596 <hint type=
"sourcelabel">
600 <hint type=
"destinationlabel">
607 <sender>savedirButton
</sender>
608 <signal>clicked()
</signal>
609 <receiver>PreferencesDialog
</receiver>
610 <slot>onBrowseSaveDir()
</slot>
612 <hint type=
"sourcelabel">
616 <hint type=
"destinationlabel">
623 <sender>timeoutBox
</sender>
624 <signal>stateChanged(int)
</signal>
625 <receiver>PreferencesDialog
</receiver>
626 <slot>onTimeoutStateChanged(int)
</slot>
628 <hint type=
"sourcelabel">
632 <hint type=
"destinationlabel">
639 <sender>ccliveBrowse
</sender>
640 <signal>clicked()
</signal>
641 <receiver>PreferencesDialog
</receiver>
642 <slot>onBrowseCclive()
</slot>
644 <hint type=
"sourcelabel">
648 <hint type=
"destinationlabel">
655 <sender>streamButton
</sender>
656 <signal>clicked()
</signal>
657 <receiver>PreferencesDialog
</receiver>
658 <slot>onBrowseStreamCommand()
</slot>
660 <hint type=
"sourcelabel">
664 <hint type=
"destinationlabel">
671 <sender>commandButton
</sender>
672 <signal>clicked()
</signal>
673 <receiver>PreferencesDialog
</receiver>
674 <slot>onBrowseCommand()
</slot>
676 <hint type=
"sourcelabel">
680 <hint type=
"destinationlabel">
687 <sender>verifyCcliveButton
</sender>
688 <signal>clicked()
</signal>
689 <receiver>PreferencesDialog
</receiver>
690 <slot>onVerifyCclive()
</slot>
692 <hint type=
"sourcelabel">
696 <hint type=
"destinationlabel">
703 <sender>autodetectCcliveButton
</sender>
704 <signal>clicked()
</signal>
705 <receiver>PreferencesDialog
</receiver>
706 <slot>onAutodetectCclive()
</slot>
708 <hint type=
"sourcelabel">
712 <hint type=
"destinationlabel">
720 <slot>onProxyChanged(int)
</slot>
721 <slot>onLimitStateChanged(int)
</slot>
722 <slot>onYoutubeToggled(bool)
</slot>
723 <slot>onFinished(int)
</slot>
724 <slot>onBrowseSaveDir()
</slot>
725 <slot>onBrowseCommand()
</slot>
726 <slot>onBrowseCclive()
</slot>
727 <slot>onLangChanged(int)
</slot>
728 <slot>onBrowseStreamCommand()
</slot>
729 <slot>onTimeoutStateChanged(int)
</slot>
730 <slot>onVerifyCclive()
</slot>
731 <slot>onAutodetectCclive()
</slot>