update todo.
[abby.git] / rc / prefsdlg.ui
bloba312b66540b08e1af10c630c5296a9b1f6a08adb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <author>Toni Gundogdu</author>
4 <class>PreferencesDialog</class>
5 <widget class="QDialog" name="PreferencesDialog">
6 <property name="windowModality">
7 <enum>Qt::ApplicationModal</enum>
8 </property>
9 <property name="geometry">
10 <rect>
11 <x>0</x>
12 <y>0</y>
13 <width>517</width>
14 <height>243</height>
15 </rect>
16 </property>
17 <property name="windowTitle">
18 <string>abby: Preferences</string>
19 </property>
20 <property name="sizeGripEnabled">
21 <bool>true</bool>
22 </property>
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>
28 </property>
29 <property name="standardButtons">
30 <set>QDialogButtonBox::Ok</set>
31 </property>
32 </widget>
33 </item>
34 <item row="0" column="0">
35 <widget class="QTabWidget" name="tabWidget">
36 <property name="whatsThis">
37 <string/>
38 </property>
39 <property name="currentIndex">
40 <number>0</number>
41 </property>
42 <widget class="QWidget" name="tab_4">
43 <attribute name="title">
44 <string>&amp;General</string>
45 </attribute>
46 <layout class="QGridLayout" name="gridLayout_2">
47 <item row="0" column="0">
48 <layout class="QHBoxLayout" name="horizontalLayout_7">
49 <item>
50 <widget class="QLabel" name="label_7">
51 <property name="text">
52 <string>&amp;Path to c/clive:</string>
53 </property>
54 <property name="buddy">
55 <cstring>ccliveEdit</cstring>
56 </property>
57 </widget>
58 </item>
59 <item>
60 <widget class="QLineEdit" name="ccliveEdit">
61 <property name="toolTip">
62 <string>Path to either cclive or clive command</string>
63 </property>
64 </widget>
65 </item>
66 <item>
67 <widget class="QPushButton" name="ccliveBrowse">
68 <property name="text">
69 <string/>
70 </property>
71 <property name="icon">
72 <iconset resource="abby.qrc">
73 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
74 </property>
75 <property name="iconSize">
76 <size>
77 <width>16</width>
78 <height>16</height>
79 </size>
80 </property>
81 </widget>
82 </item>
83 </layout>
84 </item>
85 <item row="1" column="0">
86 <layout class="QHBoxLayout" name="horizontalLayout_5">
87 <item>
88 <widget class="QPushButton" name="autodetectCcliveButton">
89 <property name="toolTip">
90 <string>Autodetect c/clive from the path</string>
91 </property>
92 <property name="text">
93 <string>&amp;Autodetect</string>
94 </property>
95 <property name="iconSize">
96 <size>
97 <width>16</width>
98 <height>16</height>
99 </size>
100 </property>
101 </widget>
102 </item>
103 <item>
104 <spacer name="horizontalSpacer_4">
105 <property name="orientation">
106 <enum>Qt::Horizontal</enum>
107 </property>
108 <property name="sizeHint" stdset="0">
109 <size>
110 <width>40</width>
111 <height>20</height>
112 </size>
113 </property>
114 </spacer>
115 </item>
116 <item>
117 <widget class="QPushButton" name="verifyCcliveButton">
118 <property name="toolTip">
119 <string>Verify path to c/clive</string>
120 </property>
121 <property name="text">
122 <string>&amp;Verify</string>
123 </property>
124 </widget>
125 </item>
126 </layout>
127 </item>
128 <item row="2" column="0">
129 <layout class="QHBoxLayout" name="horizontalLayout_6">
130 <item>
131 <widget class="QLabel" name="label">
132 <property name="text">
133 <string>&amp;Download videos to:</string>
134 </property>
135 <property name="buddy">
136 <cstring>savedirEdit</cstring>
137 </property>
138 </widget>
139 </item>
140 <item>
141 <widget class="QLineEdit" name="savedirEdit">
142 <property name="toolTip">
143 <string>Save downloaded videos to this directory</string>
144 </property>
145 </widget>
146 </item>
147 <item>
148 <widget class="QPushButton" name="savedirButton">
149 <property name="text">
150 <string/>
151 </property>
152 <property name="icon">
153 <iconset resource="abby.qrc">
154 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
155 </property>
156 <property name="iconSize">
157 <size>
158 <width>16</width>
159 <height>16</height>
160 </size>
161 </property>
162 </widget>
163 </item>
164 </layout>
165 </item>
166 <item row="3" column="0">
167 <spacer name="verticalSpacer_5">
168 <property name="orientation">
169 <enum>Qt::Vertical</enum>
170 </property>
171 <property name="sizeHint" stdset="0">
172 <size>
173 <width>20</width>
174 <height>40</height>
175 </size>
176 </property>
177 </spacer>
178 </item>
179 </layout>
180 </widget>
181 <widget class="QWidget" name="tab_2">
182 <attribute name="title">
183 <string>Co&amp;nnection</string>
184 </attribute>
185 <layout class="QGridLayout" name="gridLayout_3">
186 <item row="0" column="0">
187 <layout class="QHBoxLayout" name="horizontalLayout">
188 <item>
189 <widget class="QComboBox" name="proxyCombo">
190 <property name="toolTip">
191 <string>Whether a proxy should be used for the HTTP connections</string>
192 </property>
193 <item>
194 <property name="text">
195 <string>No Proxy</string>
196 </property>
197 </item>
198 <item>
199 <property name="text">
200 <string>Use Proxy</string>
201 </property>
202 </item>
203 </widget>
204 </item>
205 <item>
206 <widget class="QLineEdit" name="proxyEdit">
207 <property name="enabled">
208 <bool>false</bool>
209 </property>
210 </widget>
211 </item>
212 </layout>
213 </item>
214 <item row="1" column="0">
215 <layout class="QHBoxLayout" name="horizontalLayout_3">
216 <item>
217 <widget class="QCheckBox" name="limitBox">
218 <property name="toolTip">
219 <string/>
220 </property>
221 <property name="text">
222 <string>&amp;Limit transfer rate:</string>
223 </property>
224 </widget>
225 </item>
226 <item>
227 <widget class="QSpinBox" name="limitSpin">
228 <property name="enabled">
229 <bool>false</bool>
230 </property>
231 <property name="suffix">
232 <string>KB/s</string>
233 </property>
234 <property name="minimum">
235 <number>1</number>
236 </property>
237 <property name="maximum">
238 <number>9999</number>
239 </property>
240 </widget>
241 </item>
242 <item>
243 <spacer name="horizontalSpacer">
244 <property name="orientation">
245 <enum>Qt::Horizontal</enum>
246 </property>
247 <property name="sizeHint" stdset="0">
248 <size>
249 <width>40</width>
250 <height>20</height>
251 </size>
252 </property>
253 </spacer>
254 </item>
255 </layout>
256 </item>
257 <item row="2" column="0">
258 <layout class="QHBoxLayout" name="horizontalLayout_10">
259 <item>
260 <widget class="QCheckBox" name="timeoutBox">
261 <property name="minimumSize">
262 <size>
263 <width>80</width>
264 <height>0</height>
265 </size>
266 </property>
267 <property name="toolTip">
268 <string>Maximum time in seconds allowed the connection to the server to take</string>
269 </property>
270 <property name="text">
271 <string>&amp;Timeout after:</string>
272 </property>
273 </widget>
274 </item>
275 <item>
276 <widget class="QSpinBox" name="timeoutSpin">
277 <property name="enabled">
278 <bool>false</bool>
279 </property>
280 <property name="suffix">
281 <string>s</string>
282 </property>
283 <property name="minimum">
284 <number>1</number>
285 </property>
286 <property name="maximum">
287 <number>9999</number>
288 </property>
289 </widget>
290 </item>
291 <item>
292 <widget class="QCheckBox" name="socksBox">
293 <property name="enabled">
294 <bool>false</bool>
295 </property>
296 <property name="toolTip">
297 <string>Workaround the CURL SOCKS proxy bug by using
298 CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT</string>
299 </property>
300 <property name="text">
301 <string>&amp;Use SOCKS proxy workaround</string>
302 </property>
303 </widget>
304 </item>
305 <item>
306 <spacer name="horizontalSpacer_3">
307 <property name="orientation">
308 <enum>Qt::Horizontal</enum>
309 </property>
310 <property name="sizeHint" stdset="0">
311 <size>
312 <width>40</width>
313 <height>20</height>
314 </size>
315 </property>
316 </spacer>
317 </item>
318 </layout>
319 </item>
320 <item row="3" column="0">
321 <spacer name="verticalSpacer">
322 <property name="orientation">
323 <enum>Qt::Vertical</enum>
324 </property>
325 <property name="sizeHint" stdset="0">
326 <size>
327 <width>20</width>
328 <height>40</height>
329 </size>
330 </property>
331 </spacer>
332 </item>
333 </layout>
334 </widget>
335 <widget class="QWidget" name="tab">
336 <attribute name="title">
337 <string>&amp;Misc</string>
338 </attribute>
339 <layout class="QGridLayout" name="gridLayout">
340 <item row="0" column="0">
341 <layout class="QHBoxLayout" name="horizontalLayout_8">
342 <item>
343 <widget class="QLabel" name="streamLabel">
344 <property name="text">
345 <string>S&amp;tream command:</string>
346 </property>
347 <property name="buddy">
348 <cstring>streamEdit</cstring>
349 </property>
350 </widget>
351 </item>
352 <item>
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>
359 </property>
360 </widget>
361 </item>
362 <item>
363 <widget class="QPushButton" name="streamButton">
364 <property name="text">
365 <string/>
366 </property>
367 <property name="icon">
368 <iconset resource="abby.qrc">
369 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
370 </property>
371 <property name="iconSize">
372 <size>
373 <width>16</width>
374 <height>16</height>
375 </size>
376 </property>
377 </widget>
378 </item>
379 </layout>
380 </item>
381 <item row="1" column="0">
382 <layout class="QHBoxLayout" name="horizontalLayout_4">
383 <item>
384 <widget class="QLabel" name="label_4">
385 <property name="text">
386 <string>E&amp;xternal command:</string>
387 </property>
388 <property name="buddy">
389 <cstring>commandEdit</cstring>
390 </property>
391 </widget>
392 </item>
393 <item>
394 <widget class="QLineEdit" name="commandEdit">
395 <property name="toolTip">
396 <string>The command to be invoked when download finishes.
397 Any &quot;%i&quot; specifiers will be replaced by the name
398 of the downloaded video file.
400 Example: /usr/local/bin/mplayer %i</string>
401 </property>
402 <property name="whatsThis">
403 <string/>
404 </property>
405 </widget>
406 </item>
407 <item>
408 <widget class="QPushButton" name="commandButton">
409 <property name="text">
410 <string/>
411 </property>
412 <property name="icon">
413 <iconset resource="abby.qrc">
414 <normaloff>:/folder-saved-search.png</normaloff>:/folder-saved-search.png</iconset>
415 </property>
416 <property name="iconSize">
417 <size>
418 <width>16</width>
419 <height>16</height>
420 </size>
421 </property>
422 </widget>
423 </item>
424 </layout>
425 </item>
426 <item row="2" column="0">
427 <layout class="QHBoxLayout" name="horizontalLayout_2">
428 <item>
429 <widget class="QLabel" name="langLabel">
430 <property name="text">
431 <string>&amp;Language:</string>
432 </property>
433 <property name="buddy">
434 <cstring>langCombo</cstring>
435 </property>
436 </widget>
437 </item>
438 <item>
439 <widget class="QComboBox" name="langCombo"/>
440 </item>
441 <item>
442 <spacer name="horizontalSpacer_2">
443 <property name="orientation">
444 <enum>Qt::Horizontal</enum>
445 </property>
446 <property name="sizeHint" stdset="0">
447 <size>
448 <width>40</width>
449 <height>20</height>
450 </size>
451 </property>
452 </spacer>
453 </item>
454 </layout>
455 </item>
456 <item row="3" column="0">
457 <layout class="QHBoxLayout" name="horizontalLayout_9">
458 <item>
459 <widget class="QCheckBox" name="mintrayBox">
460 <property name="text">
461 <string>Minimize to &amp;system tray</string>
462 </property>
463 </widget>
464 </item>
465 <item>
466 <spacer name="horizontalSpacer_5">
467 <property name="orientation">
468 <enum>Qt::Horizontal</enum>
469 </property>
470 <property name="sizeHint" stdset="0">
471 <size>
472 <width>40</width>
473 <height>20</height>
474 </size>
475 </property>
476 </spacer>
477 </item>
478 </layout>
479 </item>
480 <item row="4" column="0">
481 <spacer name="verticalSpacer_3">
482 <property name="orientation">
483 <enum>Qt::Vertical</enum>
484 </property>
485 <property name="sizeHint" stdset="0">
486 <size>
487 <width>20</width>
488 <height>99</height>
489 </size>
490 </property>
491 </spacer>
492 </item>
493 </layout>
494 </widget>
495 </widget>
496 </item>
497 </layout>
498 </widget>
499 <tabstops>
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>
521 </tabstops>
522 <resources>
523 <include location="abby.qrc"/>
524 </resources>
525 <connections>
526 <connection>
527 <sender>buttonBox</sender>
528 <signal>accepted()</signal>
529 <receiver>PreferencesDialog</receiver>
530 <slot>accept()</slot>
531 <hints>
532 <hint type="sourcelabel">
533 <x>266</x>
534 <y>256</y>
535 </hint>
536 <hint type="destinationlabel">
537 <x>157</x>
538 <y>274</y>
539 </hint>
540 </hints>
541 </connection>
542 <connection>
543 <sender>buttonBox</sender>
544 <signal>rejected()</signal>
545 <receiver>PreferencesDialog</receiver>
546 <slot>reject()</slot>
547 <hints>
548 <hint type="sourcelabel">
549 <x>334</x>
550 <y>256</y>
551 </hint>
552 <hint type="destinationlabel">
553 <x>286</x>
554 <y>274</y>
555 </hint>
556 </hints>
557 </connection>
558 <connection>
559 <sender>proxyCombo</sender>
560 <signal>currentIndexChanged(int)</signal>
561 <receiver>PreferencesDialog</receiver>
562 <slot>onProxyChanged(int)</slot>
563 <hints>
564 <hint type="sourcelabel">
565 <x>79</x>
566 <y>71</y>
567 </hint>
568 <hint type="destinationlabel">
569 <x>188</x>
570 <y>98</y>
571 </hint>
572 </hints>
573 </connection>
574 <connection>
575 <sender>limitBox</sender>
576 <signal>stateChanged(int)</signal>
577 <receiver>PreferencesDialog</receiver>
578 <slot>onLimitStateChanged(int)</slot>
579 <hints>
580 <hint type="sourcelabel">
581 <x>114</x>
582 <y>106</y>
583 </hint>
584 <hint type="destinationlabel">
585 <x>188</x>
586 <y>98</y>
587 </hint>
588 </hints>
589 </connection>
590 <connection>
591 <sender>PreferencesDialog</sender>
592 <signal>finished(int)</signal>
593 <receiver>PreferencesDialog</receiver>
594 <slot>onFinished(int)</slot>
595 <hints>
596 <hint type="sourcelabel">
597 <x>188</x>
598 <y>98</y>
599 </hint>
600 <hint type="destinationlabel">
601 <x>188</x>
602 <y>98</y>
603 </hint>
604 </hints>
605 </connection>
606 <connection>
607 <sender>savedirButton</sender>
608 <signal>clicked()</signal>
609 <receiver>PreferencesDialog</receiver>
610 <slot>onBrowseSaveDir()</slot>
611 <hints>
612 <hint type="sourcelabel">
613 <x>495</x>
614 <y>93</y>
615 </hint>
616 <hint type="destinationlabel">
617 <x>188</x>
618 <y>98</y>
619 </hint>
620 </hints>
621 </connection>
622 <connection>
623 <sender>timeoutBox</sender>
624 <signal>stateChanged(int)</signal>
625 <receiver>PreferencesDialog</receiver>
626 <slot>onTimeoutStateChanged(int)</slot>
627 <hints>
628 <hint type="sourcelabel">
629 <x>84</x>
630 <y>126</y>
631 </hint>
632 <hint type="destinationlabel">
633 <x>258</x>
634 <y>111</y>
635 </hint>
636 </hints>
637 </connection>
638 <connection>
639 <sender>ccliveBrowse</sender>
640 <signal>clicked()</signal>
641 <receiver>PreferencesDialog</receiver>
642 <slot>onBrowseCclive()</slot>
643 <hints>
644 <hint type="sourcelabel">
645 <x>451</x>
646 <y>76</y>
647 </hint>
648 <hint type="destinationlabel">
649 <x>258</x>
650 <y>125</y>
651 </hint>
652 </hints>
653 </connection>
654 <connection>
655 <sender>streamButton</sender>
656 <signal>clicked()</signal>
657 <receiver>PreferencesDialog</receiver>
658 <slot>onBrowseStreamCommand()</slot>
659 <hints>
660 <hint type="sourcelabel">
661 <x>495</x>
662 <y>76</y>
663 </hint>
664 <hint type="destinationlabel">
665 <x>258</x>
666 <y>125</y>
667 </hint>
668 </hints>
669 </connection>
670 <connection>
671 <sender>commandButton</sender>
672 <signal>clicked()</signal>
673 <receiver>PreferencesDialog</receiver>
674 <slot>onBrowseCommand()</slot>
675 <hints>
676 <hint type="sourcelabel">
677 <x>495</x>
678 <y>116</y>
679 </hint>
680 <hint type="destinationlabel">
681 <x>258</x>
682 <y>125</y>
683 </hint>
684 </hints>
685 </connection>
686 <connection>
687 <sender>verifyCcliveButton</sender>
688 <signal>clicked()</signal>
689 <receiver>PreferencesDialog</receiver>
690 <slot>onVerifyCclive()</slot>
691 <hints>
692 <hint type="sourcelabel">
693 <x>455</x>
694 <y>94</y>
695 </hint>
696 <hint type="destinationlabel">
697 <x>258</x>
698 <y>132</y>
699 </hint>
700 </hints>
701 </connection>
702 <connection>
703 <sender>autodetectCcliveButton</sender>
704 <signal>clicked()</signal>
705 <receiver>PreferencesDialog</receiver>
706 <slot>onAutodetectCclive()</slot>
707 <hints>
708 <hint type="sourcelabel">
709 <x>63</x>
710 <y>94</y>
711 </hint>
712 <hint type="destinationlabel">
713 <x>258</x>
714 <y>114</y>
715 </hint>
716 </hints>
717 </connection>
718 </connections>
719 <slots>
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>
732 </slots>
733 </ui>