Remove deleted files. Update mainwnd.ui.
[abby.git] / rc / mainwnd.ui
blob18579d67622116b2b6342b2288818e48d115ef2e
1 <ui version="4.0" >
2  <author>Toni Gundogdu</author>
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow" >
5   <property name="geometry" >
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>543</width>
10     <height>329</height>
11    </rect>
12   </property>
13   <property name="windowTitle" >
14    <string>abby</string>
15   </property>
16   <widget class="QWidget" name="centralwidget" >
17    <layout class="QGridLayout" name="gridLayout_5" >
18     <item row="0" column="0" >
19      <widget class="QTabWidget" name="tabWidget" >
20       <property name="currentIndex" >
21        <number>0</number>
22       </property>
23       <widget class="QWidget" name="tab" >
24        <attribute name="title" >
25         <string>&amp;Video</string>
26        </attribute>
27        <layout class="QGridLayout" name="gridLayout_3" >
28         <item row="0" column="0" >
29          <layout class="QHBoxLayout" name="horizontalLayout" >
30           <item>
31            <widget class="QTextEdit" name="urlEdit" />
32           </item>
33           <item>
34            <layout class="QVBoxLayout" name="verticalLayout" >
35             <item>
36              <widget class="QPushButton" name="rssButton" >
37               <property name="toolTip" >
38                <string>Parse video page links from RSS feeds</string>
39               </property>
40               <property name="text" >
41                <string>&amp;RSS...</string>
42               </property>
43               <property name="icon" >
44                <iconset resource="abby.qrc" >
45                 <normaloff>:/feed-icon-28x28.png</normaloff>:/feed-icon-28x28.png</iconset>
46               </property>
47               <property name="iconSize" >
48                <size>
49                 <width>16</width>
50                 <height>16</height>
51                </size>
52               </property>
53              </widget>
54             </item>
55             <item>
56              <widget class="QPushButton" name="pasteButton" >
57               <property name="toolTip" >
58                <string>Paste video page links from clipboard</string>
59               </property>
60               <property name="text" >
61                <string>&amp;Paste</string>
62               </property>
63               <property name="icon" >
64                <iconset resource="abby.qrc" >
65                 <normaloff>:/edit-paste.png</normaloff>:/edit-paste.png</iconset>
66               </property>
67               <property name="iconSize" >
68                <size>
69                 <width>16</width>
70                 <height>16</height>
71                </size>
72               </property>
73              </widget>
74             </item>
75            </layout>
76           </item>
77           <item>
78            <layout class="QVBoxLayout" name="verticalLayout_2" >
79             <item>
80              <widget class="QPushButton" name="scanButton" >
81               <property name="toolTip" >
82                <string>Scan for video page links</string>
83               </property>
84               <property name="text" >
85                <string>&amp;Scan...</string>
86               </property>
87               <property name="icon" >
88                <iconset resource="abby.qrc" >
89                 <normaloff>:/edit-find.png</normaloff>:/edit-find.png</iconset>
90               </property>
91               <property name="iconSize" >
92                <size>
93                 <width>16</width>
94                 <height>16</height>
95                </size>
96               </property>
97              </widget>
98             </item>
99             <item>
100              <widget class="QPushButton" name="startButton" >
101               <property name="toolTip" >
102                <string>Download videos from specified links</string>
103               </property>
104               <property name="text" >
105                <string>&amp;Download</string>
106               </property>
107               <property name="icon" >
108                <iconset resource="abby.qrc" >
109                 <normaloff>:/document-save.png</normaloff>:/document-save.png</iconset>
110               </property>
111               <property name="iconSize" >
112                <size>
113                 <width>16</width>
114                 <height>16</height>
115                </size>
116               </property>
117              </widget>
118             </item>
119            </layout>
120           </item>
121          </layout>
122         </item>
123         <item row="1" column="0" >
124          <widget class="QTabWidget" name="tabWidget_2" >
125           <property name="tabPosition" >
126            <enum>QTabWidget::South</enum>
127           </property>
128           <property name="currentIndex" >
129            <number>0</number>
130           </property>
131           <widget class="QWidget" name="tab_3" >
132            <attribute name="title" >
133             <string>Pro&amp;gress</string>
134            </attribute>
135            <layout class="QGridLayout" name="gridLayout" >
136             <item row="0" column="0" >
137              <layout class="QHBoxLayout" name="horizontalLayout_2" >
138               <item>
139                <widget class="QLabel" name="label_2" >
140                 <property name="sizePolicy" >
141                  <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
142                   <horstretch>0</horstretch>
143                   <verstretch>0</verstretch>
144                  </sizepolicy>
145                 </property>
146                 <property name="text" >
147                  <string>File:</string>
148                 </property>
149                </widget>
150               </item>
151               <item>
152                <widget class="QLabel" name="fileLabel" >
153                 <property name="sizePolicy" >
154                  <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
155                   <horstretch>0</horstretch>
156                   <verstretch>0</verstretch>
157                  </sizepolicy>
158                 </property>
159                 <property name="text" >
160                  <string>-</string>
161                 </property>
162                </widget>
163               </item>
164              </layout>
165             </item>
166             <item row="1" column="0" >
167              <layout class="QHBoxLayout" name="horizontalLayout_3" >
168               <item>
169                <widget class="QLabel" name="label_3" >
170                 <property name="sizePolicy" >
171                  <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
172                   <horstretch>0</horstretch>
173                   <verstretch>0</verstretch>
174                  </sizepolicy>
175                 </property>
176                 <property name="text" >
177                  <string>Size:</string>
178                 </property>
179                </widget>
180               </item>
181               <item>
182                <widget class="QLabel" name="sizeLabel" >
183                 <property name="enabled" >
184                  <bool>true</bool>
185                 </property>
186                 <property name="text" >
187                  <string>-- / --</string>
188                 </property>
189                </widget>
190               </item>
191               <item>
192                <widget class="QLabel" name="label_4" >
193                 <property name="sizePolicy" >
194                  <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
195                   <horstretch>0</horstretch>
196                   <verstretch>0</verstretch>
197                  </sizepolicy>
198                 </property>
199                 <property name="text" >
200                  <string>Rate:</string>
201                 </property>
202                 <property name="alignment" >
203                  <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
204                 </property>
205                </widget>
206               </item>
207               <item>
208                <widget class="QLabel" name="rateLabel" >
209                 <property name="enabled" >
210                  <bool>true</bool>
211                 </property>
212                 <property name="text" >
213                  <string>--.-</string>
214                 </property>
215                </widget>
216               </item>
217               <item>
218                <widget class="QLabel" name="label_5" >
219                 <property name="sizePolicy" >
220                  <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
221                   <horstretch>0</horstretch>
222                   <verstretch>0</verstretch>
223                  </sizepolicy>
224                 </property>
225                 <property name="text" >
226                  <string>ETA:</string>
227                 </property>
228                 <property name="alignment" >
229                  <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
230                 </property>
231                </widget>
232               </item>
233               <item>
234                <widget class="QLabel" name="etaLabel" >
235                 <property name="enabled" >
236                  <bool>true</bool>
237                 </property>
238                 <property name="text" >
239                  <string>--:--</string>
240                 </property>
241                 <property name="alignment" >
242                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
243                 </property>
244                </widget>
245               </item>
246              </layout>
247             </item>
248             <item row="2" column="0" >
249              <layout class="QHBoxLayout" name="horizontalLayout_4" >
250               <item>
251                <widget class="QProgressBar" name="progressBar" >
252                 <property name="enabled" >
253                  <bool>true</bool>
254                 </property>
255                 <property name="sizePolicy" >
256                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
257                   <horstretch>0</horstretch>
258                   <verstretch>0</verstretch>
259                  </sizepolicy>
260                 </property>
261                 <property name="value" >
262                  <number>0</number>
263                 </property>
264                </widget>
265               </item>
266               <item>
267                <widget class="QProgressBar" name="totalProgressbar" >
268                 <property name="sizePolicy" >
269                  <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
270                   <horstretch>0</horstretch>
271                   <verstretch>0</verstretch>
272                  </sizepolicy>
273                 </property>
274                 <property name="value" >
275                  <number>0</number>
276                 </property>
277                </widget>
278               </item>
279               <item>
280                <widget class="QPushButton" name="cancelButton" >
281                 <property name="enabled" >
282                  <bool>false</bool>
283                 </property>
284                 <property name="sizePolicy" >
285                  <sizepolicy vsizetype="Maximum" hsizetype="Maximum" >
286                   <horstretch>0</horstretch>
287                   <verstretch>0</verstretch>
288                  </sizepolicy>
289                 </property>
290                 <property name="toolTip" >
291                  <string>Stop process.</string>
292                 </property>
293                 <property name="text" >
294                  <string>&amp;Abort</string>
295                 </property>
296                 <property name="icon" >
297                  <iconset resource="abby.qrc" >
298                   <normaloff>:/process-stop.png</normaloff>:/process-stop.png</iconset>
299                 </property>
300                 <property name="iconSize" >
301                  <size>
302                   <width>16</width>
303                   <height>16</height>
304                  </size>
305                 </property>
306                </widget>
307               </item>
308              </layout>
309             </item>
310            </layout>
311           </widget>
312           <widget class="QWidget" name="tab_4" >
313            <attribute name="title" >
314             <string>&amp;Log</string>
315            </attribute>
316            <layout class="QGridLayout" name="gridLayout_2" >
317             <item row="0" column="0" >
318              <widget class="QTextEdit" name="logEdit" >
319               <property name="enabled" >
320                <bool>true</bool>
321               </property>
322               <property name="readOnly" >
323                <bool>true</bool>
324               </property>
325              </widget>
326             </item>
327            </layout>
328           </widget>
329          </widget>
330         </item>
331        </layout>
332       </widget>
333       <widget class="QWidget" name="tab_2" >
334        <attribute name="title" >
335         <string>&amp;Options</string>
336        </attribute>
337        <layout class="QGridLayout" name="gridLayout_4" >
338         <item row="0" column="0" >
339          <layout class="QHBoxLayout" name="horizontalLayout_6" >
340           <item>
341            <widget class="QLabel" name="label_9" >
342             <property name="sizePolicy" >
343              <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
344               <horstretch>0</horstretch>
345               <verstretch>0</verstretch>
346              </sizepolicy>
347             </property>
348             <property name="text" >
349              <string>&amp;Download format:</string>
350             </property>
351             <property name="buddy" >
352              <cstring>formatCombo</cstring>
353             </property>
354            </widget>
355           </item>
356           <item>
357            <widget class="QComboBox" name="formatCombo" >
358             <property name="sizePolicy" >
359              <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
360               <horstretch>0</horstretch>
361               <verstretch>0</verstretch>
362              </sizepolicy>
363             </property>
364             <property name="toolTip" >
365              <string>Download format of the video. Note that different format
366 typically means different video resolution. Also note
367 that some formats may not always be available.</string>
368             </property>
369             <item>
370              <property name="text" >
371               <string>flv</string>
372              </property>
373             </item>
374            </widget>
375           </item>
376           <item>
377            <spacer name="horizontalSpacer_3" >
378             <property name="orientation" >
379              <enum>Qt::Horizontal</enum>
380             </property>
381             <property name="sizeHint" stdset="0" >
382              <size>
383               <width>40</width>
384               <height>20</height>
385              </size>
386             </property>
387            </spacer>
388           </item>
389           <item>
390            <spacer name="horizontalSpacer_2" >
391             <property name="orientation" >
392              <enum>Qt::Horizontal</enum>
393             </property>
394             <property name="sizeHint" stdset="0" >
395              <size>
396               <width>40</width>
397               <height>20</height>
398              </size>
399             </property>
400            </spacer>
401           </item>
402          </layout>
403         </item>
404         <item row="2" column="0" >
405          <layout class="QHBoxLayout" name="horizontalLayout_9" >
406           <item>
407            <widget class="QCheckBox" name="streamBox" >
408             <property name="toolTip" >
409              <string>Run the stream command defined in the preferences when
410 the file transfer reaches the specified percent done.
412 Note that if the started command runs out of downloaded
413 video data, abby does not attempt to restore the last
414 state. It is recommended that you use this feature
415 with broadband connections only.</string>
416             </property>
417             <property name="text" >
418              <string>S&amp;tart streaming at:</string>
419             </property>
420            </widget>
421           </item>
422           <item>
423            <widget class="QSpinBox" name="streamSpin" >
424             <property name="enabled" >
425              <bool>false</bool>
426             </property>
427             <property name="sizePolicy" >
428              <sizepolicy vsizetype="Fixed" hsizetype="Maximum" >
429               <horstretch>0</horstretch>
430               <verstretch>0</verstretch>
431              </sizepolicy>
432             </property>
433             <property name="toolTip" >
434              <string>Stream command is started when file transfer
435 reaches this percentage. Be sure to set it 
436 high enough to make sure that there is enough
437 video data for the command to process.</string>
438             </property>
439             <property name="suffix" >
440              <string>%</string>
441             </property>
442             <property name="minimum" >
443              <number>1</number>
444             </property>
445            </widget>
446           </item>
447           <item>
448            <spacer name="horizontalSpacer_4" >
449             <property name="orientation" >
450              <enum>Qt::Horizontal</enum>
451             </property>
452             <property name="sizeHint" stdset="0" >
453              <size>
454               <width>40</width>
455               <height>20</height>
456              </size>
457             </property>
458            </spacer>
459           </item>
460          </layout>
461         </item>
462         <item row="3" column="0" >
463          <layout class="QHBoxLayout" name="horizontalLayout_7" >
464           <item>
465            <widget class="QCheckBox" name="commandBox" >
466             <property name="toolTip" >
467              <string>Run the command specified in the preferences after
468 download finishes.</string>
469             </property>
470             <property name="text" >
471              <string>&amp;Run external command when download finishes</string>
472             </property>
473            </widget>
474           </item>
475           <item>
476            <spacer name="horizontalSpacer" >
477             <property name="orientation" >
478              <enum>Qt::Horizontal</enum>
479             </property>
480             <property name="sizeHint" stdset="0" >
481              <size>
482               <width>40</width>
483               <height>20</height>
484              </size>
485             </property>
486            </spacer>
487           </item>
488          </layout>
489         </item>
490         <item row="5" column="0" >
491          <spacer name="verticalSpacer_2" >
492           <property name="orientation" >
493            <enum>Qt::Vertical</enum>
494           </property>
495           <property name="sizeHint" stdset="0" >
496            <size>
497             <width>20</width>
498             <height>40</height>
499            </size>
500           </property>
501          </spacer>
502         </item>
503         <item row="4" column="0" >
504          <layout class="QHBoxLayout" name="horizontalLayout_5" >
505           <item>
506            <widget class="QCheckBox" name="titleBox" >
507             <property name="toolTip" >
508              <string>Use video page title for naming downloaded files.
509 See also the Preferences for the character-class
510 used to clean up the video page titles.
512 Note that cclive must be built WITH_PERL=yes for
513 this to work.</string>
514             </property>
515             <property name="text" >
516              <string>&amp;Use video page title for output filename</string>
517             </property>
518            </widget>
519           </item>
520           <item>
521            <spacer name="horizontalSpacer_5" >
522             <property name="orientation" >
523              <enum>Qt::Horizontal</enum>
524             </property>
525             <property name="sizeHint" stdset="0" >
526              <size>
527               <width>40</width>
528               <height>20</height>
529              </size>
530             </property>
531            </spacer>
532           </item>
533          </layout>
534         </item>
535        </layout>
536       </widget>
537      </widget>
538     </item>
539    </layout>
540   </widget>
541   <widget class="QMenuBar" name="menubar" >
542    <property name="geometry" >
543     <rect>
544      <x>0</x>
545      <y>0</y>
546      <width>543</width>
547      <height>25</height>
548     </rect>
549    </property>
550    <widget class="QMenu" name="menu_File" >
551     <property name="title" >
552      <string>&amp;File</string>
553     </property>
554     <addaction name="action_About" />
555     <addaction name="separator" />
556     <addaction name="action_RSS" />
557     <addaction name="action_Scan" />
558     <addaction name="separator" />
559     <addaction name="action_Quit" />
560    </widget>
561    <widget class="QMenu" name="menu_Edit" >
562     <property name="title" >
563      <string>&amp;Edit</string>
564     </property>
565     <addaction name="action_Preferences" />
566    </widget>
567    <addaction name="menu_File" />
568    <addaction name="menu_Edit" />
569   </widget>
570   <widget class="QStatusBar" name="statusbar" />
571   <action name="action_Quit" >
572    <property name="text" >
573     <string>&amp;Quit</string>
574    </property>
575    <property name="statusTip" >
576     <string>Quit abby</string>
577    </property>
578    <property name="shortcut" >
579     <string>Ctrl+Q</string>
580    </property>
581   </action>
582   <action name="action_Preferences" >
583    <property name="enabled" >
584     <bool>true</bool>
585    </property>
586    <property name="text" >
587     <string>Prefere&amp;nces...</string>
588    </property>
589    <property name="statusTip" >
590     <string>Edit preferences</string>
591    </property>
592    <property name="shortcut" >
593     <string>Ctrl+E</string>
594    </property>
595   </action>
596   <action name="action_About" >
597    <property name="text" >
598     <string>&amp;About...</string>
599    </property>
600    <property name="statusTip" >
601     <string>About abby</string>
602    </property>
603   </action>
604   <action name="action_RSS" >
605    <property name="text" >
606     <string>&amp;RSS...</string>
607    </property>
608   </action>
609   <action name="action_Scan" >
610    <property name="text" >
611     <string>&amp;Scan...</string>
612    </property>
613   </action>
614  </widget>
615  <tabstops>
616   <tabstop>startButton</tabstop>
617   <tabstop>tabWidget_2</tabstop>
618   <tabstop>formatCombo</tabstop>
619   <tabstop>streamBox</tabstop>
620   <tabstop>streamSpin</tabstop>
621   <tabstop>commandBox</tabstop>
622   <tabstop>tabWidget</tabstop>
623   <tabstop>logEdit</tabstop>
624  </tabstops>
625  <resources>
626   <include location="abby.qrc" />
627  </resources>
628  <connections>
629   <connection>
630    <sender>startButton</sender>
631    <signal>clicked()</signal>
632    <receiver>MainWindow</receiver>
633    <slot>onStart()</slot>
634    <hints>
635     <hint type="sourcelabel" >
636      <x>521</x>
637      <y>97</y>
638     </hint>
639     <hint type="destinationlabel" >
640      <x>189</x>
641      <y>148</y>
642     </hint>
643    </hints>
644   </connection>
645   <connection>
646    <sender>cancelButton</sender>
647    <signal>clicked()</signal>
648    <receiver>MainWindow</receiver>
649    <slot>onCancel()</slot>
650    <hints>
651     <hint type="sourcelabel" >
652      <x>510</x>
653      <y>180</y>
654     </hint>
655     <hint type="destinationlabel" >
656      <x>189</x>
657      <y>148</y>
658     </hint>
659    </hints>
660   </connection>
661   <connection>
662    <sender>action_About</sender>
663    <signal>activated()</signal>
664    <receiver>MainWindow</receiver>
665    <slot>onAbout()</slot>
666    <hints>
667     <hint type="sourcelabel" >
668      <x>-1</x>
669      <y>-1</y>
670     </hint>
671     <hint type="destinationlabel" >
672      <x>189</x>
673      <y>151</y>
674     </hint>
675    </hints>
676   </connection>
677   <connection>
678    <sender>streamBox</sender>
679    <signal>stateChanged(int)</signal>
680    <receiver>MainWindow</receiver>
681    <slot>onStreamStateChanged(int)</slot>
682    <hints>
683     <hint type="sourcelabel" >
684      <x>81</x>
685      <y>191</y>
686     </hint>
687     <hint type="destinationlabel" >
688      <x>253</x>
689      <y>139</y>
690     </hint>
691    </hints>
692   </connection>
693   <connection>
694    <sender>action_Quit</sender>
695    <signal>activated()</signal>
696    <receiver>MainWindow</receiver>
697    <slot>close()</slot>
698    <hints>
699     <hint type="sourcelabel" >
700      <x>-1</x>
701      <y>-1</y>
702     </hint>
703     <hint type="destinationlabel" >
704      <x>189</x>
705      <y>148</y>
706     </hint>
707    </hints>
708   </connection>
709   <connection>
710    <sender>action_Preferences</sender>
711    <signal>activated()</signal>
712    <receiver>MainWindow</receiver>
713    <slot>onPreferences()</slot>
714    <hints>
715     <hint type="sourcelabel" >
716      <x>-1</x>
717      <y>-1</y>
718     </hint>
719     <hint type="destinationlabel" >
720      <x>253</x>
721      <y>139</y>
722     </hint>
723    </hints>
724   </connection>
725   <connection>
726    <sender>formatCombo</sender>
727    <signal>currentIndexChanged(int)</signal>
728    <receiver>MainWindow</receiver>
729    <slot>onFormatStateChanged(int)</slot>
730    <hints>
731     <hint type="sourcelabel" >
732      <x>521</x>
733      <y>129</y>
734     </hint>
735     <hint type="destinationlabel" >
736      <x>253</x>
737      <y>139</y>
738     </hint>
739    </hints>
740   </connection>
741   <connection>
742    <sender>pasteButton</sender>
743    <signal>clicked()</signal>
744    <receiver>MainWindow</receiver>
745    <slot>onPasteURL()</slot>
746    <hints>
747     <hint type="sourcelabel" >
748      <x>416</x>
749      <y>84</y>
750     </hint>
751     <hint type="destinationlabel" >
752      <x>271</x>
753      <y>141</y>
754     </hint>
755    </hints>
756   </connection>
757   <connection>
758    <sender>rssButton</sender>
759    <signal>clicked()</signal>
760    <receiver>MainWindow</receiver>
761    <slot>onRSS()</slot>
762    <hints>
763     <hint type="sourcelabel" >
764      <x>392</x>
765      <y>89</y>
766     </hint>
767     <hint type="destinationlabel" >
768      <x>271</x>
769      <y>164</y>
770     </hint>
771    </hints>
772   </connection>
773   <connection>
774    <sender>scanButton</sender>
775    <signal>clicked()</signal>
776    <receiver>MainWindow</receiver>
777    <slot>onScan()</slot>
778    <hints>
779     <hint type="sourcelabel" >
780      <x>480</x>
781      <y>89</y>
782     </hint>
783     <hint type="destinationlabel" >
784      <x>271</x>
785      <y>164</y>
786     </hint>
787    </hints>
788   </connection>
789  </connections>
790  <slots>
791   <slot>onStart()</slot>
792   <slot>onCancel()</slot>
793   <slot>onAbout()</slot>
794   <slot>onSaveasStateChanged(int)</slot>
795   <slot>onSaveasBrowse()</slot>
796   <slot>onStreamStateChanged(int)</slot>
797   <slot>onPreferences()</slot>
798   <slot>onURLEditingFinished()</slot>
799   <slot>onFormatStateChanged(int)</slot>
800   <slot>onPasteURL()</slot>
801   <slot>onURLReturnPressed()</slot>
802   <slot>onRSS()</slot>
803   <slot>onScan()</slot>
804  </slots>
805 </ui>