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