Remove incorrect assertions
[qBittorrent.git] / src / gui / addnewtorrentdialog.ui
blob0c9a96e1f61fb0a8789e3d6181f613a298e0ead5
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="QHBoxLayout" name="tagsLayout" stretch="0,0,0">
206 <item>
207 <widget class="QLabel" name="tagsLabel">
208 <property name="text">
209 <string>Tags:</string>
210 </property>
211 </widget>
212 </item>
213 <item>
214 <widget class="QLineEdit" name="tagsLineEdit">
215 <property name="sizePolicy">
216 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
217 <horstretch>0</horstretch>
218 <verstretch>0</verstretch>
219 </sizepolicy>
220 </property>
221 <property name="readOnly">
222 <bool>true</bool>
223 </property>
224 <property name="placeholderText">
225 <string>Click [...] button to add/remove tags.</string>
226 </property>
227 <property name="clearButtonEnabled">
228 <bool>false</bool>
229 </property>
230 </widget>
231 </item>
232 <item>
233 <widget class="QToolButton" name="tagsEditButton">
234 <property name="toolTip">
235 <string>Add/remove tags</string>
236 </property>
237 <property name="text">
238 <string>...</string>
239 </property>
240 </widget>
241 </item>
242 </layout>
243 </item>
244 <item>
245 <layout class="QGridLayout" name="gridLayout">
246 <item row="0" column="0">
247 <widget class="QCheckBox" name="startTorrentCheckBox">
248 <property name="text">
249 <string>Start torrent</string>
250 </property>
251 </widget>
252 </item>
253 <item row="0" column="1">
254 <layout class="QHBoxLayout" name="stopConditionLayout">
255 <item>
256 <widget class="QLabel" name="stopConditionLabel">
257 <property name="text">
258 <string>Stop condition:</string>
259 </property>
260 </widget>
261 </item>
262 <item>
263 <widget class="QComboBox" name="stopConditionComboBox">
264 <property name="currentIndex">
265 <number>0</number>
266 </property>
267 <item>
268 <property name="text">
269 <string>None</string>
270 </property>
271 </item>
272 <item>
273 <property name="text">
274 <string>Metadata received</string>
275 </property>
276 </item>
277 <item>
278 <property name="text">
279 <string>Files checked</string>
280 </property>
281 </item>
282 </widget>
283 </item>
284 </layout>
285 </item>
286 <item row="0" column="2">
287 <spacer name="horizontalSpacer_3">
288 <property name="orientation">
289 <enum>Qt::Horizontal</enum>
290 </property>
291 <property name="sizeHint" stdset="0">
292 <size>
293 <width>40</width>
294 <height>20</height>
295 </size>
296 </property>
297 </spacer>
298 </item>
299 <item row="1" column="0">
300 <widget class="QCheckBox" name="addToQueueTopCheckBox">
301 <property name="text">
302 <string>Add to top of queue</string>
303 </property>
304 </widget>
305 </item>
306 <item row="1" column="1">
307 <widget class="QCheckBox" name="skipCheckingCheckBox">
308 <property name="text">
309 <string>Skip hash check</string>
310 </property>
311 </widget>
312 </item>
313 <item row="2" column="0">
314 <widget class="QCheckBox" name="sequentialCheckBox">
315 <property name="text">
316 <string>Download in sequential order</string>
317 </property>
318 </widget>
319 </item>
320 <item row="2" column="1">
321 <widget class="QCheckBox" name="firstLastCheckBox">
322 <property name="text">
323 <string>Download first and last pieces first</string>
324 </property>
325 </widget>
326 </item>
327 <item row="3" column="0">
328 <widget class="QCheckBox" name="doNotDeleteTorrentCheckBox">
329 <property name="toolTip">
330 <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>
331 </property>
332 <property name="text">
333 <string>Do not delete .torrent file</string>
334 </property>
335 </widget>
336 </item>
337 </layout>
338 </item>
339 <item>
340 <layout class="QHBoxLayout" name="horizontalLayout_2">
341 <item>
342 <widget class="QLabel" name="contentLayoutLabel">
343 <property name="text">
344 <string>Content layout:</string>
345 </property>
346 </widget>
347 </item>
348 <item>
349 <widget class="QComboBox" name="contentLayoutComboBox">
350 <property name="currentIndex">
351 <number>0</number>
352 </property>
353 <item>
354 <property name="text">
355 <string>Original</string>
356 </property>
357 </item>
358 <item>
359 <property name="text">
360 <string>Create subfolder</string>
361 </property>
362 </item>
363 <item>
364 <property name="text">
365 <string>Don't create subfolder</string>
366 </property>
367 </item>
368 </widget>
369 </item>
370 <item>
371 <spacer name="horizontalSpacer_4">
372 <property name="orientation">
373 <enum>Qt::Horizontal</enum>
374 </property>
375 <property name="sizeHint" stdset="0">
376 <size>
377 <width>40</width>
378 <height>20</height>
379 </size>
380 </property>
381 </spacer>
382 </item>
383 </layout>
384 </item>
385 </layout>
386 </widget>
387 </item>
388 <item>
389 <widget class="QGroupBox" name="infoGroup">
390 <property name="sizePolicy">
391 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
392 <horstretch>0</horstretch>
393 <verstretch>0</verstretch>
394 </sizepolicy>
395 </property>
396 <property name="title">
397 <string>Torrent information</string>
398 </property>
399 <layout class="QGridLayout" name="gridLayout_2">
400 <item row="2" column="0">
401 <widget class="QLabel" name="labelInfohash1">
402 <property name="text">
403 <string>Info hash v1:</string>
404 </property>
405 </widget>
406 </item>
407 <item row="0" column="1">
408 <widget class="QLabel" name="labelSizeData"/>
409 </item>
410 <item row="1" column="1">
411 <widget class="QLabel" name="labelDateData"/>
412 </item>
413 <item row="4" column="1">
414 <widget class="QScrollArea" name="scrollArea">
415 <property name="frameShape">
416 <enum>QFrame::NoFrame</enum>
417 </property>
418 <property name="sizeAdjustPolicy">
419 <enum>QAbstractScrollArea::AdjustToContents</enum>
420 </property>
421 <property name="widgetResizable">
422 <bool>true</bool>
423 </property>
424 <widget class="QWidget" name="scrollAreaWidgetContents">
425 <property name="geometry">
426 <rect>
427 <x>0</x>
428 <y>0</y>
429 <width>411</width>
430 <height>70</height>
431 </rect>
432 </property>
433 <layout class="QVBoxLayout" name="verticalLayout_2">
434 <property name="leftMargin">
435 <number>0</number>
436 </property>
437 <property name="topMargin">
438 <number>0</number>
439 </property>
440 <property name="rightMargin">
441 <number>0</number>
442 </property>
443 <property name="bottomMargin">
444 <number>0</number>
445 </property>
446 <item>
447 <widget class="QLabel" name="labelCommentData">
448 <property name="textFormat">
449 <enum>Qt::RichText</enum>
450 </property>
451 <property name="alignment">
452 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
453 </property>
454 <property name="wordWrap">
455 <bool>true</bool>
456 </property>
457 <property name="openExternalLinks">
458 <bool>true</bool>
459 </property>
460 <property name="textInteractionFlags">
461 <set>Qt::TextBrowserInteraction</set>
462 </property>
463 </widget>
464 </item>
465 </layout>
466 </widget>
467 </widget>
468 </item>
469 <item row="4" column="0">
470 <widget class="QLabel" name="labelComment">
471 <property name="text">
472 <string>Comment:</string>
473 </property>
474 <property name="alignment">
475 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
476 </property>
477 </widget>
478 </item>
479 <item row="0" column="0">
480 <widget class="QLabel" name="labelSize">
481 <property name="text">
482 <string>Size:</string>
483 </property>
484 </widget>
485 </item>
486 <item row="2" column="1">
487 <widget class="QLabel" name="labelInfohash1Data">
488 <property name="textInteractionFlags">
489 <set>Qt::TextSelectableByMouse</set>
490 </property>
491 </widget>
492 </item>
493 <item row="1" column="0">
494 <widget class="QLabel" name="labelDate">
495 <property name="text">
496 <string>Date:</string>
497 </property>
498 </widget>
499 </item>
500 <item row="3" column="0">
501 <widget class="QLabel" name="labelInfohash2">
502 <property name="text">
503 <string>Info hash v2:</string>
504 </property>
505 </widget>
506 </item>
507 <item row="3" column="1">
508 <widget class="QLabel" name="labelInfohash2Data">
509 <property name="textInteractionFlags">
510 <set>Qt::TextSelectableByMouse</set>
511 </property>
512 </widget>
513 </item>
514 </layout>
515 </widget>
516 </item>
517 </layout>
518 </widget>
519 <widget class="QWidget" name="layoutWidget">
520 <layout class="QVBoxLayout" name="verticalLayout_5">
521 <item>
522 <layout class="QHBoxLayout" name="contentFilterLayout">
523 <item>
524 <widget class="QPushButton" name="buttonSelectAll">
525 <property name="text">
526 <string>Select All</string>
527 </property>
528 </widget>
529 </item>
530 <item>
531 <widget class="QPushButton" name="buttonSelectNone">
532 <property name="text">
533 <string>Select None</string>
534 </property>
535 </widget>
536 </item>
537 <item>
538 <spacer name="horizontalSpacer_6">
539 <property name="orientation">
540 <enum>Qt::Horizontal</enum>
541 </property>
542 <property name="sizeHint" stdset="0">
543 <size>
544 <width>40</width>
545 <height>20</height>
546 </size>
547 </property>
548 </spacer>
549 </item>
550 </layout>
551 </item>
552 <item>
553 <widget class="TorrentContentWidget" name="contentTreeView">
554 <property name="sizePolicy">
555 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
556 <horstretch>1</horstretch>
557 <verstretch>0</verstretch>
558 </sizepolicy>
559 </property>
560 <property name="contextMenuPolicy">
561 <enum>Qt::CustomContextMenu</enum>
562 </property>
563 <property name="selectionMode">
564 <enum>QAbstractItemView::ExtendedSelection</enum>
565 </property>
566 <property name="sortingEnabled">
567 <bool>true</bool>
568 </property>
569 </widget>
570 </item>
571 </layout>
572 </widget>
573 </widget>
574 </item>
575 </layout>
576 </widget>
577 </widget>
578 </item>
579 <item>
580 <layout class="QHBoxLayout" name="buttonsHLayout">
581 <item>
582 <widget class="QCheckBox" name="checkBoxNeverShow">
583 <property name="text">
584 <string>Never show again</string>
585 </property>
586 </widget>
587 </item>
588 <item>
589 <spacer name="horizontalSpacer_2">
590 <property name="orientation">
591 <enum>Qt::Horizontal</enum>
592 </property>
593 <property name="sizeHint" stdset="0">
594 <size>
595 <width>40</width>
596 <height>20</height>
597 </size>
598 </property>
599 </spacer>
600 </item>
601 </layout>
602 </item>
603 <item>
604 <layout class="QHBoxLayout" name="horizontalLayout">
605 <item>
606 <layout class="QHBoxLayout" name="metadataLayout">
607 <item>
608 <widget class="QProgressBar" name="progMetaLoading">
609 <property name="sizePolicy">
610 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
611 <horstretch>0</horstretch>
612 <verstretch>0</verstretch>
613 </sizepolicy>
614 </property>
615 <property name="maximum">
616 <number>0</number>
617 </property>
618 <property name="value">
619 <number>-1</number>
620 </property>
621 <property name="textVisible">
622 <bool>false</bool>
623 </property>
624 </widget>
625 </item>
626 <item>
627 <widget class="QLabel" name="lblMetaLoading">
628 <property name="text">
629 <string/>
630 </property>
631 </widget>
632 </item>
633 <item>
634 <widget class="QPushButton" name="buttonSave">
635 <property name="text">
636 <string>Save as .torrent file...</string>
637 </property>
638 </widget>
639 </item>
640 </layout>
641 </item>
642 <item>
643 <widget class="QDialogButtonBox" name="buttonBox">
644 <property name="standardButtons">
645 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
646 </property>
647 </widget>
648 </item>
649 </layout>
650 </item>
651 </layout>
652 </widget>
653 <customwidgets>
654 <customwidget>
655 <class>TorrentContentWidget</class>
656 <extends>QTreeView</extends>
657 <header>gui/torrentcontentwidget.h</header>
658 </customwidget>
659 <customwidget>
660 <class>FileSystemPathComboEdit</class>
661 <extends>QWidget</extends>
662 <header>gui/fspathedit.h</header>
663 <container>1</container>
664 </customwidget>
665 </customwidgets>
666 <resources/>
667 <connections/>
668 </ui>