Use tray icon from system theme only if option is set
[qBittorrent.git] / src / gui / addnewtorrentdialog.ui
blobf28a7103265905382390c73a04c9db7bf11d7431
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>AddNewTorrentDialog</class>
4 <widget class="QDialog" name="AddNewTorrentDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>900</width>
10 <height>680</height>
11 </rect>
12 </property>
13 <layout class="QVBoxLayout" name="AddNewTorrentDialogLayout">
14 <item>
15 <widget class="QScrollArea" name="scrollArea_2">
16 <property name="frameShape">
17 <enum>QFrame::NoFrame</enum>
18 </property>
19 <property name="sizeAdjustPolicy">
20 <enum>QAbstractScrollArea::AdjustToContents</enum>
21 </property>
22 <property name="widgetResizable">
23 <bool>true</bool>
24 </property>
25 <widget class="QWidget" name="scrollAreaWidgetContents_2">
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>882</width>
31 <height>598</height>
32 </rect>
33 </property>
34 <layout class="QVBoxLayout" name="verticalLayout_6">
35 <property name="leftMargin">
36 <number>0</number>
37 </property>
38 <property name="topMargin">
39 <number>0</number>
40 </property>
41 <property name="rightMargin">
42 <number>0</number>
43 </property>
44 <property name="bottomMargin">
45 <number>0</number>
46 </property>
47 <item>
48 <widget class="QSplitter" name="splitter">
49 <property name="orientation">
50 <enum>Qt::Horizontal</enum>
51 </property>
52 <property name="childrenCollapsible">
53 <bool>false</bool>
54 </property>
55 <widget class="QFrame" name="torrentoptionsFrame">
56 <layout class="QVBoxLayout" name="mainlayout_addui">
57 <property name="leftMargin">
58 <number>0</number>
59 </property>
60 <property name="topMargin">
61 <number>0</number>
62 </property>
63 <property name="rightMargin">
64 <number>0</number>
65 </property>
66 <property name="bottomMargin">
67 <number>0</number>
68 </property>
69 <item>
70 <layout class="QHBoxLayout" name="managementLayout">
71 <item>
72 <widget class="QLabel" name="labelTorrentManagementMode">
73 <property name="text">
74 <string>Torrent Management Mode:</string>
75 </property>
76 </widget>
77 </item>
78 <item>
79 <widget class="QComboBox" name="comboTTM">
80 <property name="toolTip">
81 <string>Automatic mode means that various torrent properties(eg save path) will be decided by the associated category</string>
82 </property>
83 <item>
84 <property name="text">
85 <string>Manual</string>
86 </property>
87 </item>
88 <item>
89 <property name="text">
90 <string>Automatic</string>
91 </property>
92 </item>
93 </widget>
94 </item>
95 <item>
96 <spacer name="horizontalSpacer">
97 <property name="orientation">
98 <enum>Qt::Horizontal</enum>
99 </property>
100 <property name="sizeHint" stdset="0">
101 <size>
102 <width>20</width>
103 <height>20</height>
104 </size>
105 </property>
106 </spacer>
107 </item>
108 </layout>
109 </item>
110 <item>
111 <widget class="QGroupBox" name="groupBoxSavePath">
112 <property name="title">
113 <string>Save at</string>
114 </property>
115 <layout class="QVBoxLayout" name="verticalLayout">
116 <item>
117 <widget class="FileSystemPathComboEdit" name="savePath" native="true"/>
118 </item>
119 <item>
120 <widget class="QGroupBox" name="groupBoxDownloadPath">
121 <property name="title">
122 <string>Use another path for incomplete torrent</string>
123 </property>
124 <property name="checkable">
125 <bool>true</bool>
126 </property>
127 <property name="checked">
128 <bool>false</bool>
129 </property>
130 <layout class="QVBoxLayout" name="verticalLayout_4">
131 <item>
132 <widget class="FileSystemPathComboEdit" name="downloadPath" native="true"/>
133 </item>
134 </layout>
135 </widget>
136 </item>
137 <item>
138 <layout class="QHBoxLayout" name="layoutRememberLastSavePath">
139 <item>
140 <spacer name="horizontalSpacer_5">
141 <property name="orientation">
142 <enum>Qt::Horizontal</enum>
143 </property>
144 <property name="sizeHint" stdset="0">
145 <size>
146 <width>40</width>
147 <height>20</height>
148 </size>
149 </property>
150 </spacer>
151 </item>
152 <item>
153 <widget class="QCheckBox" name="checkBoxRememberLastSavePath">
154 <property name="text">
155 <string>Remember last used save path</string>
156 </property>
157 </widget>
158 </item>
159 </layout>
160 </item>
161 </layout>
162 </widget>
163 </item>
164 <item>
165 <widget class="QGroupBox" name="groupBoxSettings">
166 <property name="title">
167 <string>Torrent settings</string>
168 </property>
169 <layout class="QVBoxLayout" name="verticalLayout_3">
170 <item>
171 <layout class="QHBoxLayout" name="categoryLayout">
172 <item>
173 <widget class="QLabel" name="labelCategory">
174 <property name="text">
175 <string>Category:</string>
176 </property>
177 </widget>
178 </item>
179 <item>
180 <widget class="QComboBox" name="categoryComboBox">
181 <property name="sizePolicy">
182 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
183 <horstretch>0</horstretch>
184 <verstretch>0</verstretch>
185 </sizepolicy>
186 </property>
187 <property name="editable">
188 <bool>true</bool>
189 </property>
190 <property name="insertPolicy">
191 <enum>QComboBox::InsertAtTop</enum>
192 </property>
193 </widget>
194 </item>
195 </layout>
196 </item>
197 <item alignment="Qt::AlignRight">
198 <widget class="QCheckBox" name="defaultCategoryCheckbox">
199 <property name="text">
200 <string>Set as default category</string>
201 </property>
202 </widget>
203 </item>
204 <item>
205 <layout class="QGridLayout" name="gridLayout">
206 <item row="0" column="0">
207 <widget class="QCheckBox" name="startTorrentCheckBox">
208 <property name="text">
209 <string>Start torrent</string>
210 </property>
211 </widget>
212 </item>
213 <item row="0" column="1">
214 <layout class="QHBoxLayout" name="stopConditionLayout">
215 <item>
216 <widget class="QLabel" name="stopConditionLabel">
217 <property name="text">
218 <string>Stop condition:</string>
219 </property>
220 </widget>
221 </item>
222 <item>
223 <widget class="QComboBox" name="stopConditionComboBox">
224 <property name="currentIndex">
225 <number>0</number>
226 </property>
227 <item>
228 <property name="text">
229 <string>None</string>
230 </property>
231 </item>
232 <item>
233 <property name="text">
234 <string>Metadata received</string>
235 </property>
236 </item>
237 <item>
238 <property name="text">
239 <string>Files checked</string>
240 </property>
241 </item>
242 </widget>
243 </item>
244 </layout>
245 </item>
246 <item row="0" column="2">
247 <spacer name="horizontalSpacer_3">
248 <property name="orientation">
249 <enum>Qt::Horizontal</enum>
250 </property>
251 <property name="sizeHint" stdset="0">
252 <size>
253 <width>40</width>
254 <height>20</height>
255 </size>
256 </property>
257 </spacer>
258 </item>
259 <item row="1" column="0">
260 <widget class="QCheckBox" name="addToQueueTopCheckBox">
261 <property name="text">
262 <string>Add to top of queue</string>
263 </property>
264 </widget>
265 </item>
266 <item row="1" column="1">
267 <widget class="QCheckBox" name="skipCheckingCheckBox">
268 <property name="text">
269 <string>Skip hash check</string>
270 </property>
271 </widget>
272 </item>
273 <item row="2" column="0">
274 <widget class="QCheckBox" name="sequentialCheckBox">
275 <property name="text">
276 <string>Download in sequential order</string>
277 </property>
278 </widget>
279 </item>
280 <item row="2" column="1">
281 <widget class="QCheckBox" name="firstLastCheckBox">
282 <property name="text">
283 <string>Download first and last pieces first</string>
284 </property>
285 </widget>
286 </item>
287 <item row="3" column="0">
288 <widget class="QCheckBox" name="doNotDeleteTorrentCheckBox">
289 <property name="toolTip">
290 <string>When checked, the .torrent file will not be deleted regardless of the settings at the &quot;Download&quot; page of the Options dialog</string>
291 </property>
292 <property name="text">
293 <string>Do not delete .torrent file</string>
294 </property>
295 </widget>
296 </item>
297 </layout>
298 </item>
299 <item>
300 <layout class="QHBoxLayout" name="horizontalLayout_2">
301 <item>
302 <widget class="QLabel" name="contentLayoutLabel">
303 <property name="text">
304 <string>Content layout:</string>
305 </property>
306 </widget>
307 </item>
308 <item>
309 <widget class="QComboBox" name="contentLayoutComboBox">
310 <property name="currentIndex">
311 <number>0</number>
312 </property>
313 <item>
314 <property name="text">
315 <string>Original</string>
316 </property>
317 </item>
318 <item>
319 <property name="text">
320 <string>Create subfolder</string>
321 </property>
322 </item>
323 <item>
324 <property name="text">
325 <string>Don't create subfolder</string>
326 </property>
327 </item>
328 </widget>
329 </item>
330 <item>
331 <spacer name="horizontalSpacer_4">
332 <property name="orientation">
333 <enum>Qt::Horizontal</enum>
334 </property>
335 <property name="sizeHint" stdset="0">
336 <size>
337 <width>40</width>
338 <height>20</height>
339 </size>
340 </property>
341 </spacer>
342 </item>
343 </layout>
344 </item>
345 </layout>
346 </widget>
347 </item>
348 <item>
349 <widget class="QGroupBox" name="infoGroup">
350 <property name="sizePolicy">
351 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
352 <horstretch>0</horstretch>
353 <verstretch>0</verstretch>
354 </sizepolicy>
355 </property>
356 <property name="title">
357 <string>Torrent information</string>
358 </property>
359 <layout class="QGridLayout" name="gridLayout_2">
360 <item row="2" column="0">
361 <widget class="QLabel" name="labelInfohash1">
362 <property name="text">
363 <string>Info hash v1:</string>
364 </property>
365 </widget>
366 </item>
367 <item row="0" column="1">
368 <widget class="QLabel" name="labelSizeData"/>
369 </item>
370 <item row="1" column="1">
371 <widget class="QLabel" name="labelDateData"/>
372 </item>
373 <item row="4" column="1">
374 <widget class="QScrollArea" name="scrollArea">
375 <property name="frameShape">
376 <enum>QFrame::NoFrame</enum>
377 </property>
378 <property name="sizeAdjustPolicy">
379 <enum>QAbstractScrollArea::AdjustToContents</enum>
380 </property>
381 <property name="widgetResizable">
382 <bool>true</bool>
383 </property>
384 <widget class="QWidget" name="scrollAreaWidgetContents">
385 <property name="geometry">
386 <rect>
387 <x>0</x>
388 <y>0</y>
389 <width>411</width>
390 <height>70</height>
391 </rect>
392 </property>
393 <layout class="QVBoxLayout" name="verticalLayout_2">
394 <property name="leftMargin">
395 <number>0</number>
396 </property>
397 <property name="topMargin">
398 <number>0</number>
399 </property>
400 <property name="rightMargin">
401 <number>0</number>
402 </property>
403 <property name="bottomMargin">
404 <number>0</number>
405 </property>
406 <item>
407 <widget class="QLabel" name="labelCommentData">
408 <property name="textFormat">
409 <enum>Qt::RichText</enum>
410 </property>
411 <property name="alignment">
412 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
413 </property>
414 <property name="wordWrap">
415 <bool>true</bool>
416 </property>
417 <property name="openExternalLinks">
418 <bool>true</bool>
419 </property>
420 <property name="textInteractionFlags">
421 <set>Qt::TextBrowserInteraction</set>
422 </property>
423 </widget>
424 </item>
425 </layout>
426 </widget>
427 </widget>
428 </item>
429 <item row="4" column="0">
430 <widget class="QLabel" name="labelComment">
431 <property name="text">
432 <string>Comment:</string>
433 </property>
434 <property name="alignment">
435 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
436 </property>
437 </widget>
438 </item>
439 <item row="0" column="0">
440 <widget class="QLabel" name="labelSize">
441 <property name="text">
442 <string>Size:</string>
443 </property>
444 </widget>
445 </item>
446 <item row="2" column="1">
447 <widget class="QLabel" name="labelInfohash1Data">
448 <property name="textInteractionFlags">
449 <set>Qt::TextSelectableByMouse</set>
450 </property>
451 </widget>
452 </item>
453 <item row="1" column="0">
454 <widget class="QLabel" name="labelDate">
455 <property name="text">
456 <string>Date:</string>
457 </property>
458 </widget>
459 </item>
460 <item row="3" column="0">
461 <widget class="QLabel" name="labelInfohash2">
462 <property name="text">
463 <string>Info hash v2:</string>
464 </property>
465 </widget>
466 </item>
467 <item row="3" column="1">
468 <widget class="QLabel" name="labelInfohash2Data">
469 <property name="textInteractionFlags">
470 <set>Qt::TextSelectableByMouse</set>
471 </property>
472 </widget>
473 </item>
474 </layout>
475 </widget>
476 </item>
477 </layout>
478 </widget>
479 <widget class="QWidget" name="layoutWidget">
480 <layout class="QVBoxLayout" name="verticalLayout_5">
481 <item>
482 <layout class="QHBoxLayout" name="contentFilterLayout">
483 <item>
484 <widget class="QPushButton" name="buttonSelectAll">
485 <property name="text">
486 <string>Select All</string>
487 </property>
488 </widget>
489 </item>
490 <item>
491 <widget class="QPushButton" name="buttonSelectNone">
492 <property name="text">
493 <string>Select None</string>
494 </property>
495 </widget>
496 </item>
497 <item>
498 <spacer name="horizontalSpacer_6">
499 <property name="orientation">
500 <enum>Qt::Horizontal</enum>
501 </property>
502 <property name="sizeHint" stdset="0">
503 <size>
504 <width>40</width>
505 <height>20</height>
506 </size>
507 </property>
508 </spacer>
509 </item>
510 </layout>
511 </item>
512 <item>
513 <widget class="TorrentContentWidget" name="contentTreeView">
514 <property name="sizePolicy">
515 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
516 <horstretch>1</horstretch>
517 <verstretch>0</verstretch>
518 </sizepolicy>
519 </property>
520 <property name="contextMenuPolicy">
521 <enum>Qt::CustomContextMenu</enum>
522 </property>
523 <property name="selectionMode">
524 <enum>QAbstractItemView::ExtendedSelection</enum>
525 </property>
526 <property name="sortingEnabled">
527 <bool>true</bool>
528 </property>
529 </widget>
530 </item>
531 </layout>
532 </widget>
533 </widget>
534 </item>
535 </layout>
536 </widget>
537 </widget>
538 </item>
539 <item>
540 <layout class="QHBoxLayout" name="buttonsHLayout">
541 <item>
542 <widget class="QCheckBox" name="checkBoxNeverShow">
543 <property name="text">
544 <string>Never show again</string>
545 </property>
546 </widget>
547 </item>
548 <item>
549 <spacer name="horizontalSpacer_2">
550 <property name="orientation">
551 <enum>Qt::Horizontal</enum>
552 </property>
553 <property name="sizeHint" stdset="0">
554 <size>
555 <width>40</width>
556 <height>20</height>
557 </size>
558 </property>
559 </spacer>
560 </item>
561 </layout>
562 </item>
563 <item>
564 <layout class="QHBoxLayout" name="horizontalLayout">
565 <item>
566 <layout class="QHBoxLayout" name="metadataLayout">
567 <item>
568 <widget class="QProgressBar" name="progMetaLoading">
569 <property name="sizePolicy">
570 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
571 <horstretch>0</horstretch>
572 <verstretch>0</verstretch>
573 </sizepolicy>
574 </property>
575 <property name="maximum">
576 <number>0</number>
577 </property>
578 <property name="value">
579 <number>-1</number>
580 </property>
581 <property name="textVisible">
582 <bool>false</bool>
583 </property>
584 </widget>
585 </item>
586 <item>
587 <widget class="QLabel" name="lblMetaLoading">
588 <property name="text">
589 <string/>
590 </property>
591 </widget>
592 </item>
593 <item>
594 <widget class="QPushButton" name="buttonSave">
595 <property name="text">
596 <string>Save as .torrent file...</string>
597 </property>
598 </widget>
599 </item>
600 </layout>
601 </item>
602 <item>
603 <widget class="QDialogButtonBox" name="buttonBox">
604 <property name="standardButtons">
605 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
606 </property>
607 </widget>
608 </item>
609 </layout>
610 </item>
611 </layout>
612 </widget>
613 <customwidgets>
614 <customwidget>
615 <class>TorrentContentWidget</class>
616 <extends>QTreeView</extends>
617 <header>gui/torrentcontentwidget.h</header>
618 </customwidget>
619 <customwidget>
620 <class>FileSystemPathComboEdit</class>
621 <extends>QWidget</extends>
622 <header>gui/fspathedit.h</header>
623 <container>1</container>
624 </customwidget>
625 </customwidgets>
626 <resources/>
627 <connections>
628 <connection>
629 <sender>buttonBox</sender>
630 <signal>accepted()</signal>
631 <receiver>AddNewTorrentDialog</receiver>
632 <slot>accept()</slot>
633 <hints>
634 <hint type="sourcelabel">
635 <x>928</x>
636 <y>855</y>
637 </hint>
638 <hint type="destinationlabel">
639 <x>157</x>
640 <y>274</y>
641 </hint>
642 </hints>
643 </connection>
644 <connection>
645 <sender>buttonBox</sender>
646 <signal>rejected()</signal>
647 <receiver>AddNewTorrentDialog</receiver>
648 <slot>reject()</slot>
649 <hints>
650 <hint type="sourcelabel">
651 <x>928</x>
652 <y>855</y>
653 </hint>
654 <hint type="destinationlabel">
655 <x>286</x>
656 <y>274</y>
657 </hint>
658 </hints>
659 </connection>
660 <connection>
661 <sender>comboTTM</sender>
662 <signal>currentIndexChanged(int)</signal>
663 <receiver>AddNewTorrentDialog</receiver>
664 <slot>TMMChanged(int)</slot>
665 <hints>
666 <hint type="sourcelabel">
667 <x>250</x>
668 <y>53</y>
669 </hint>
670 <hint type="destinationlabel">
671 <x>467</x>
672 <y>249</y>
673 </hint>
674 </hints>
675 </connection>
676 <connection>
677 <sender>categoryComboBox</sender>
678 <signal>currentIndexChanged(int)</signal>
679 <receiver>AddNewTorrentDialog</receiver>
680 <slot>categoryChanged(int)</slot>
681 <hints>
682 <hint type="sourcelabel">
683 <x>266</x>
684 <y>231</y>
685 </hint>
686 <hint type="destinationlabel">
687 <x>467</x>
688 <y>249</y>
689 </hint>
690 </hints>
691 </connection>
692 </connections>
693 <slots>
694 <slot>savingModeChanged(bool)</slot>
695 <slot>categoryChanged(int)</slot>
696 <slot>TMMChanged(int)</slot>
697 </slots>
698 </ui>