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="1" column="0" >
24 <widget class="QDialogButtonBox" name="buttonBox" >
25 <property name="orientation" >
26 <enum>Qt::Horizontal</enum>
28 <property name="standardButtons" >
29 <set>QDialogButtonBox::Ok</set>
33 <item row="0" column="0" >
34 <widget class="QTabWidget" name="tabWidget" >
35 <property name="whatsThis" >
38 <property name="currentIndex" >
41 <widget class="QWidget" name="tab_4" >
42 <attribute name="title" >
43 <string>&General</string>
45 <layout class="QGridLayout" name="gridLayout_2" >
46 <item row="0" column="0" >
47 <layout class="QHBoxLayout" name="horizontalLayout_7" >
49 <widget class="QLabel" name="label_7" >
50 <property name="text" >
51 <string>&Path to c/clive:</string>
53 <property name="buddy" >
54 <cstring>ccliveEdit</cstring>
59 <widget class="QLineEdit" name="ccliveEdit" >
60 <property name="toolTip" >
61 <string>Path to either cclive or clive command</string>
66 <widget class="QPushButton" name="ccliveBrowse" >
67 <property name="text" >
70 <property name="icon" >
71 <iconset resource="abby.qrc" >
72 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
78 <item row="1" column="0" >
79 <layout class="QHBoxLayout" name="horizontalLayout_6" >
81 <widget class="QLabel" name="label" >
82 <property name="text" >
83 <string>&Save videos to:</string>
85 <property name="buddy" >
86 <cstring>savedirEdit</cstring>
91 <widget class="QLineEdit" name="savedirEdit" >
92 <property name="toolTip" >
93 <string>Save downloaded videos to this directory</string>
98 <widget class="QPushButton" name="savedirButton" >
99 <property name="text" >
102 <property name="icon" >
103 <iconset resource="abby.qrc" >
104 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
110 <item row="2" column="0" >
111 <spacer name="verticalSpacer_5" >
112 <property name="orientation" >
113 <enum>Qt::Vertical</enum>
115 <property name="sizeHint" stdset="0" >
125 <widget class="QWidget" name="tab_2" >
126 <attribute name="title" >
127 <string>Co&nnection</string>
129 <layout class="QGridLayout" name="gridLayout_3" >
130 <item row="0" column="0" >
131 <layout class="QHBoxLayout" name="horizontalLayout" >
133 <widget class="QComboBox" name="proxyCombo" >
134 <property name="toolTip" >
135 <string>Whether a proxy should be used for the HTTP connections</string>
138 <property name="text" >
139 <string>No Proxy</string>
143 <property name="text" >
144 <string>Use Proxy</string>
150 <widget class="QLineEdit" name="proxyEdit" >
151 <property name="enabled" >
158 <item row="1" column="0" >
159 <layout class="QHBoxLayout" name="horizontalLayout_3" >
161 <widget class="QCheckBox" name="limitBox" >
162 <property name="toolTip" >
165 <property name="text" >
166 <string>&Limit transfer rate:</string>
171 <widget class="QSpinBox" name="limitSpin" >
172 <property name="enabled" >
175 <property name="suffix" >
176 <string>KB/s</string>
178 <property name="minimum" >
181 <property name="maximum" >
182 <number>9999</number>
187 <spacer name="horizontalSpacer" >
188 <property name="orientation" >
189 <enum>Qt::Horizontal</enum>
191 <property name="sizeHint" stdset="0" >
201 <item row="2" column="0" >
202 <layout class="QHBoxLayout" name="horizontalLayout_10" >
204 <widget class="QCheckBox" name="timeoutBox" >
205 <property name="minimumSize" >
211 <property name="toolTip" >
212 <string>Maximum time in seconds allowed the connection to the server to take</string>
214 <property name="text" >
215 <string>&Timeout after:</string>
220 <widget class="QSpinBox" name="timeoutSpin" >
221 <property name="enabled" >
224 <property name="suffix" >
227 <property name="minimum" >
230 <property name="maximum" >
231 <number>9999</number>
236 <widget class="QCheckBox" name="socksBox" >
237 <property name="enabled" >
240 <property name="toolTip" >
241 <string>Workaround the CURL SOCKS proxy bug by using
242 CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT</string>
244 <property name="text" >
245 <string>&Use SOCKS proxy workaround</string>
250 <spacer name="horizontalSpacer_3" >
251 <property name="orientation" >
252 <enum>Qt::Horizontal</enum>
254 <property name="sizeHint" stdset="0" >
264 <item row="3" column="0" >
265 <spacer name="verticalSpacer" >
266 <property name="orientation" >
267 <enum>Qt::Vertical</enum>
269 <property name="sizeHint" stdset="0" >
279 <widget class="QWidget" name="tab" >
280 <attribute name="title" >
281 <string>&Misc</string>
283 <layout class="QGridLayout" name="gridLayout" >
284 <item row="0" column="0" >
285 <layout class="QHBoxLayout" name="horizontalLayout_9" >
287 <widget class="QLabel" name="label_9" >
288 <property name="text" >
289 <string>&Title character-class:</string>
291 <property name="buddy" >
292 <cstring>cclassEdit</cstring>
297 <widget class="QLineEdit" name="cclassEdit" >
298 <property name="toolTip" >
299 <string>Character-class to be used to clean up the video page
300 titles before they are used for file naming.
302 [See clive and cclive manual pages for more info on this]</string>
308 <item row="1" column="0" >
309 <layout class="QHBoxLayout" name="horizontalLayout_2" >
311 <widget class="QLabel" name="label_6" >
312 <property name="text" >
313 <string>&Language:</string>
315 <property name="buddy" >
316 <cstring>langCombo</cstring>
321 <widget class="QComboBox" name="langCombo" />
324 <spacer name="horizontalSpacer_2" >
325 <property name="orientation" >
326 <enum>Qt::Horizontal</enum>
328 <property name="sizeHint" stdset="0" >
338 <item row="2" column="0" >
339 <layout class="QHBoxLayout" name="horizontalLayout_8" >
341 <widget class="QLabel" name="label_8" >
342 <property name="text" >
343 <string>S&tream command:</string>
345 <property name="buddy" >
346 <cstring>streamEdit</cstring>
351 <widget class="QLineEdit" name="streamEdit" >
352 <property name="toolTip" >
353 <string>Stream command to be invoked when file transfer reaches
354 a certain percentage defined in the Options tab.
356 Example: /usr/local/bin/mplayer -really-quiet %i</string>
361 <widget class="QPushButton" name="streamButton" >
362 <property name="text" >
365 <property name="icon" >
366 <iconset resource="abby.qrc" >
367 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
373 <item row="3" column="0" >
374 <layout class="QHBoxLayout" name="horizontalLayout_4" >
376 <widget class="QLabel" name="label_4" >
377 <property name="text" >
378 <string>E&xternal command:</string>
380 <property name="buddy" >
381 <cstring>commandEdit</cstring>
386 <widget class="QLineEdit" name="commandEdit" >
387 <property name="toolTip" >
388 <string>The command to be invoked when download finishes.
389 Any "%i" specifiers will be replaced by the name
390 of the downloaded video file.
392 Example: /usr/local/bin/mplayer %i</string>
394 <property name="whatsThis" >
400 <widget class="QPushButton" name="commandButton" >
401 <property name="text" >
404 <property name="icon" >
405 <iconset resource="abby.qrc" >
406 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
412 <item row="4" column="0" >
413 <spacer name="verticalSpacer_3" >
414 <property name="orientation" >
415 <enum>Qt::Vertical</enum>
417 <property name="sizeHint" stdset="0" >
432 <tabstop>ccliveEdit</tabstop>
433 <tabstop>ccliveBrowse</tabstop>
434 <tabstop>savedirEdit</tabstop>
435 <tabstop>savedirButton</tabstop>
436 <tabstop>buttonBox</tabstop>
437 <tabstop>tabWidget</tabstop>
438 <tabstop>proxyCombo</tabstop>
439 <tabstop>proxyEdit</tabstop>
440 <tabstop>limitBox</tabstop>
441 <tabstop>limitSpin</tabstop>
442 <tabstop>timeoutBox</tabstop>
443 <tabstop>timeoutSpin</tabstop>
444 <tabstop>socksBox</tabstop>
445 <tabstop>cclassEdit</tabstop>
446 <tabstop>langCombo</tabstop>
447 <tabstop>streamEdit</tabstop>
448 <tabstop>streamButton</tabstop>
449 <tabstop>commandEdit</tabstop>
450 <tabstop>commandButton</tabstop>
453 <include location="abby.qrc" />
457 <sender>buttonBox</sender>
458 <signal>accepted()</signal>
459 <receiver>PreferencesDialog</receiver>
460 <slot>accept()</slot>
462 <hint type="sourcelabel" >
466 <hint type="destinationlabel" >
473 <sender>buttonBox</sender>
474 <signal>rejected()</signal>
475 <receiver>PreferencesDialog</receiver>
476 <slot>reject()</slot>
478 <hint type="sourcelabel" >
482 <hint type="destinationlabel" >
489 <sender>proxyCombo</sender>
490 <signal>currentIndexChanged(int)</signal>
491 <receiver>PreferencesDialog</receiver>
492 <slot>onProxyChanged(int)</slot>
494 <hint type="sourcelabel" >
498 <hint type="destinationlabel" >
505 <sender>limitBox</sender>
506 <signal>stateChanged(int)</signal>
507 <receiver>PreferencesDialog</receiver>
508 <slot>onLimitStateChanged(int)</slot>
510 <hint type="sourcelabel" >
514 <hint type="destinationlabel" >
521 <sender>PreferencesDialog</sender>
522 <signal>finished(int)</signal>
523 <receiver>PreferencesDialog</receiver>
524 <slot>onFinished(int)</slot>
526 <hint type="sourcelabel" >
530 <hint type="destinationlabel" >
537 <sender>savedirButton</sender>
538 <signal>clicked()</signal>
539 <receiver>PreferencesDialog</receiver>
540 <slot>onBrowseSaveDir()</slot>
542 <hint type="sourcelabel" >
546 <hint type="destinationlabel" >
553 <sender>timeoutBox</sender>
554 <signal>stateChanged(int)</signal>
555 <receiver>PreferencesDialog</receiver>
556 <slot>onTimeoutStateChanged(int)</slot>
558 <hint type="sourcelabel" >
562 <hint type="destinationlabel" >
570 <slot>onProxyChanged(int)</slot>
571 <slot>onLimitStateChanged(int)</slot>
572 <slot>onYoutubeToggled(bool)</slot>
573 <slot>onFinished(int)</slot>
574 <slot>onBrowseSaveDir()</slot>
575 <slot>onBrowseCommand()</slot>
576 <slot>onBrowseCclive()</slot>
577 <slot>onLangChanged(int)</slot>
578 <slot>onBrowseStreamCommand()</slot>
579 <slot>onTimeoutStateChanged(int)</slot>