Allow to refresh existing search
[qBittorrent.git] / src / gui / torrentcreatordialog.ui
blob6a3eb33be6e7cdf96dfcb44abf0be7611a4b3bef
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TorrentCreatorDialog</class>
4 <widget class="QDialog" name="TorrentCreatorDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>592</width>
10 <height>731</height>
11 </rect>
12 </property>
13 <property name="acceptDrops">
14 <bool>true</bool>
15 </property>
16 <property name="windowTitle">
17 <string>Torrent Creator</string>
18 </property>
19 <layout class="QVBoxLayout" name="verticalLayout">
20 <item>
21 <widget class="QScrollArea" name="scrollArea">
22 <property name="frameShape">
23 <enum>QFrame::Shape::NoFrame</enum>
24 </property>
25 <property name="widgetResizable">
26 <bool>true</bool>
27 </property>
28 <widget class="QWidget" name="scrollAreaWidgetContents">
29 <property name="geometry">
30 <rect>
31 <x>0</x>
32 <y>0</y>
33 <width>560</width>
34 <height>668</height>
35 </rect>
36 </property>
37 <layout class="QVBoxLayout" name="verticalLayout_5">
38 <property name="spacing">
39 <number>0</number>
40 </property>
41 <property name="leftMargin">
42 <number>0</number>
43 </property>
44 <property name="topMargin">
45 <number>0</number>
46 </property>
47 <property name="rightMargin">
48 <number>0</number>
49 </property>
50 <property name="bottomMargin">
51 <number>0</number>
52 </property>
53 <item>
54 <widget class="QGroupBox" name="groupBox">
55 <property name="title">
56 <string>Select file/folder to share</string>
57 </property>
58 <layout class="QVBoxLayout" name="verticalLayout_3">
59 <item>
60 <layout class="QHBoxLayout" name="horizontalLayout">
61 <item>
62 <widget class="QLabel" name="label">
63 <property name="text">
64 <string>Path:</string>
65 </property>
66 </widget>
67 </item>
68 <item>
69 <widget class="FileSystemPathLineEdit" name="textInputPath" native="true">
70 <property name="acceptDrops">
71 <bool>false</bool>
72 </property>
73 </widget>
74 </item>
75 </layout>
76 </item>
77 <item>
78 <layout class="QHBoxLayout" name="horizontalLayout_3">
79 <item>
80 <widget class="QLabel" name="label_2">
81 <property name="enabled">
82 <bool>false</bool>
83 </property>
84 <property name="sizePolicy">
85 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
86 <horstretch>0</horstretch>
87 <verstretch>0</verstretch>
88 </sizepolicy>
89 </property>
90 <property name="text">
91 <string>[Drag and drop area]</string>
92 </property>
93 <property name="alignment">
94 <set>Qt::AlignmentFlag::AlignCenter</set>
95 </property>
96 </widget>
97 </item>
98 <item>
99 <widget class="QPushButton" name="addFileButton">
100 <property name="text">
101 <string>Select file</string>
102 </property>
103 </widget>
104 </item>
105 <item>
106 <widget class="QPushButton" name="addFolderButton">
107 <property name="text">
108 <string>Select folder</string>
109 </property>
110 </widget>
111 </item>
112 </layout>
113 </item>
114 </layout>
115 </widget>
116 </item>
117 <item>
118 <widget class="QGroupBox" name="groupBox_2">
119 <property name="title">
120 <string>Settings</string>
121 </property>
122 <layout class="QVBoxLayout" name="verticalLayout_2">
123 <item>
124 <widget class="QWidget" name="widgetTorrentFormat" native="true">
125 <layout class="QHBoxLayout" name="layoutTorrentFormat">
126 <property name="leftMargin">
127 <number>0</number>
128 </property>
129 <property name="topMargin">
130 <number>0</number>
131 </property>
132 <property name="rightMargin">
133 <number>0</number>
134 </property>
135 <property name="bottomMargin">
136 <number>0</number>
137 </property>
138 <item>
139 <widget class="QLabel" name="labelTorrentFormat">
140 <property name="text">
141 <string>Torrent format:</string>
142 </property>
143 </widget>
144 </item>
145 <item>
146 <widget class="QComboBox" name="comboTorrentFormat">
147 <item>
148 <property name="text">
149 <string notr="true">V2</string>
150 </property>
151 </item>
152 <item>
153 <property name="text">
154 <string>Hybrid</string>
155 </property>
156 </item>
157 <item>
158 <property name="text">
159 <string notr="true">V1</string>
160 </property>
161 </item>
162 </widget>
163 </item>
164 <item>
165 <spacer name="horizontalSpacer_2">
166 <property name="orientation">
167 <enum>Qt::Orientation::Horizontal</enum>
168 </property>
169 <property name="sizeHint" stdset="0">
170 <size>
171 <width>40</width>
172 <height>20</height>
173 </size>
174 </property>
175 </spacer>
176 </item>
177 </layout>
178 </widget>
179 </item>
180 <item>
181 <layout class="QHBoxLayout" name="pieceSizeLayout">
182 <item>
183 <widget class="QLabel" name="txtPieceSize">
184 <property name="text">
185 <string>Piece size:</string>
186 </property>
187 </widget>
188 </item>
189 <item>
190 <widget class="QComboBox" name="comboPieceSize">
191 <property name="currentIndex">
192 <number>0</number>
193 </property>
194 <property name="minimumContentsLength">
195 <number>7</number>
196 </property>
197 </widget>
198 </item>
199 <item>
200 <widget class="QPushButton" name="buttonCalcTotalPieces">
201 <property name="text">
202 <string>Calculate number of pieces:</string>
203 </property>
204 </widget>
205 </item>
206 <item>
207 <widget class="QLabel" name="labelTotalPieces">
208 <property name="text">
209 <string notr="true">0</string>
210 </property>
211 </widget>
212 </item>
213 <item>
214 <spacer name="spacer1">
215 <property name="orientation">
216 <enum>Qt::Orientation::Horizontal</enum>
217 </property>
218 <property name="sizeHint" stdset="0">
219 <size>
220 <width>40</width>
221 <height>20</height>
222 </size>
223 </property>
224 </spacer>
225 </item>
226 </layout>
227 </item>
228 <item>
229 <widget class="QCheckBox" name="checkPrivate">
230 <property name="text">
231 <string>Private torrent (Won't distribute on DHT network)</string>
232 </property>
233 </widget>
234 </item>
235 <item>
236 <widget class="QCheckBox" name="checkStartSeeding">
237 <property name="text">
238 <string>Start seeding immediately</string>
239 </property>
240 <property name="checked">
241 <bool>true</bool>
242 </property>
243 </widget>
244 </item>
245 <item>
246 <widget class="QCheckBox" name="checkIgnoreShareLimits">
247 <property name="text">
248 <string>Ignore share ratio limits for this torrent</string>
249 </property>
250 </widget>
251 </item>
252 <item>
253 <widget class="QGroupBox" name="checkOptimizeAlignment">
254 <property name="title">
255 <string>Optimize alignment</string>
256 </property>
257 <property name="checkable">
258 <bool>true</bool>
259 </property>
260 <layout class="QVBoxLayout" name="verticalLayout_4">
261 <item>
262 <layout class="QHBoxLayout" name="horizontalLayout_4">
263 <item>
264 <widget class="QLabel" name="lblPaddedFileSizeLimit">
265 <property name="text">
266 <string>Align to piece boundary for files larger than:</string>
267 </property>
268 </widget>
269 </item>
270 <item>
271 <widget class="QSpinBox" name="spinPaddedFileSizeLimit">
272 <property name="specialValueText">
273 <string>Disabled</string>
274 </property>
275 <property name="suffix">
276 <string> KiB</string>
277 </property>
278 <property name="minimum">
279 <number>-1</number>
280 </property>
281 <property name="maximum">
282 <number>2147483647</number>
283 </property>
284 <property name="value">
285 <number>-1</number>
286 </property>
287 </widget>
288 </item>
289 <item>
290 <spacer name="horizontalSpacer">
291 <property name="orientation">
292 <enum>Qt::Orientation::Horizontal</enum>
293 </property>
294 <property name="sizeHint" stdset="0">
295 <size>
296 <width>40</width>
297 <height>20</height>
298 </size>
299 </property>
300 </spacer>
301 </item>
302 </layout>
303 </item>
304 </layout>
305 </widget>
306 </item>
307 </layout>
308 </widget>
309 </item>
310 <item>
311 <widget class="QGroupBox" name="groupBox_3">
312 <property name="title">
313 <string>Fields</string>
314 </property>
315 <layout class="QGridLayout" name="gridLayout_2">
316 <item row="0" column="0">
317 <widget class="QLabel" name="lbl_announce_url">
318 <property name="text">
319 <string>Tracker URLs:</string>
320 </property>
321 </widget>
322 </item>
323 <item row="0" column="1">
324 <widget class="QTextEdit" name="trackersList">
325 <property name="toolTip">
326 <string>You can separate tracker tiers / groups with an empty line.</string>
327 </property>
328 <property name="tabChangesFocus">
329 <bool>true</bool>
330 </property>
331 <property name="acceptRichText">
332 <bool>false</bool>
333 </property>
334 </widget>
335 </item>
336 <item row="1" column="0">
337 <widget class="QLabel" name="urlSeeds_lbl">
338 <property name="text">
339 <string>Web seed URLs:</string>
340 </property>
341 </widget>
342 </item>
343 <item row="1" column="1">
344 <widget class="QTextEdit" name="URLSeedsList">
345 <property name="tabChangesFocus">
346 <bool>true</bool>
347 </property>
348 <property name="acceptRichText">
349 <bool>false</bool>
350 </property>
351 </widget>
352 </item>
353 <item row="2" column="0">
354 <widget class="QLabel" name="lbl_comment">
355 <property name="text">
356 <string>Comments:</string>
357 </property>
358 </widget>
359 </item>
360 <item row="2" column="1">
361 <widget class="QTextEdit" name="txtComment">
362 <property name="tabChangesFocus">
363 <bool>true</bool>
364 </property>
365 <property name="acceptRichText">
366 <bool>false</bool>
367 </property>
368 </widget>
369 </item>
370 <item row="3" column="0">
371 <widget class="QLabel" name="labelSource">
372 <property name="text">
373 <string>Source:</string>
374 </property>
375 </widget>
376 </item>
377 <item row="3" column="1">
378 <widget class="QLineEdit" name="lineEditSource"/>
379 </item>
380 </layout>
381 </widget>
382 </item>
383 </layout>
384 </widget>
385 </widget>
386 </item>
387 <item>
388 <layout class="QHBoxLayout" name="horizontalLayout_2">
389 <item>
390 <widget class="QLabel" name="progressLbl">
391 <property name="text">
392 <string>Progress:</string>
393 </property>
394 </widget>
395 </item>
396 <item>
397 <widget class="QProgressBar" name="progressBar">
398 <property name="value">
399 <number>0</number>
400 </property>
401 </widget>
402 </item>
403 </layout>
404 </item>
405 <item>
406 <widget class="QDialogButtonBox" name="buttonBox">
407 <property name="standardButtons">
408 <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
409 </property>
410 <property name="centerButtons">
411 <bool>true</bool>
412 </property>
413 </widget>
414 </item>
415 </layout>
416 </widget>
417 <customwidgets>
418 <customwidget>
419 <class>FileSystemPathLineEdit</class>
420 <extends>QWidget</extends>
421 <header>gui/fspathedit.h</header>
422 <container>1</container>
423 </customwidget>
424 </customwidgets>
425 <resources/>
426 <connections/>
427 </ui>