1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <class>TorrentCreatorDialog
</class>
4 <widget class=
"QDialog" name=
"TorrentCreatorDialog">
5 <property name=
"geometry">
13 <property name=
"acceptDrops">
16 <property name=
"windowTitle">
17 <string>Torrent Creator
</string>
19 <layout class=
"QVBoxLayout" name=
"verticalLayout">
21 <widget class=
"QScrollArea" name=
"scrollArea">
22 <property name=
"frameShape">
23 <enum>QFrame::NoFrame
</enum>
25 <property name=
"widgetResizable">
28 <widget class=
"QWidget" name=
"scrollAreaWidgetContents">
29 <property name=
"geometry">
37 <layout class=
"QVBoxLayout" name=
"verticalLayout_5">
38 <property name=
"spacing">
41 <property name=
"leftMargin">
44 <property name=
"topMargin">
47 <property name=
"rightMargin">
50 <property name=
"bottomMargin">
54 <widget class=
"QGroupBox" name=
"groupBox">
55 <property name=
"title">
56 <string>Select file/folder to share
</string>
58 <layout class=
"QVBoxLayout" name=
"verticalLayout_3">
60 <layout class=
"QHBoxLayout" name=
"horizontalLayout">
62 <widget class=
"QLabel" name=
"label">
63 <property name=
"text">
64 <string>Path:
</string>
69 <widget class=
"QLineEdit" name=
"textInputPath">
70 <property name=
"acceptDrops">
78 <layout class=
"QHBoxLayout" name=
"horizontalLayout_3">
80 <widget class=
"QLabel" name=
"label_2">
81 <property name=
"enabled">
84 <property name=
"sizePolicy">
85 <sizepolicy hsizetype=
"Expanding" vsizetype=
"Preferred">
86 <horstretch>0</horstretch>
87 <verstretch>0</verstretch>
90 <property name=
"text">
91 <string>[Drag and drop area]
</string>
93 <property name=
"alignment">
94 <set>Qt::AlignCenter
</set>
99 <widget class=
"QPushButton" name=
"addFileButton">
100 <property name=
"text">
101 <string>Select file
</string>
106 <widget class=
"QPushButton" name=
"addFolderButton">
107 <property name=
"text">
108 <string>Select folder
</string>
118 <widget class=
"QGroupBox" name=
"groupBox_2">
119 <property name=
"title">
120 <string>Settings
</string>
122 <layout class=
"QVBoxLayout" name=
"verticalLayout_2">
124 <widget class=
"QWidget" name=
"widgetTorrentFormat" native=
"true">
125 <layout class=
"QHBoxLayout" name=
"layoutTorrentFormat">
126 <property name=
"leftMargin">
129 <property name=
"topMargin">
132 <property name=
"rightMargin">
135 <property name=
"bottomMargin">
139 <widget class=
"QLabel" name=
"labelTorrentFormat">
140 <property name=
"text">
141 <string>Torrent format:
</string>
146 <widget class=
"QComboBox" name=
"comboTorrentFormat">
148 <property name=
"text">
149 <string notr=
"true">V2
</string>
153 <property name=
"text">
154 <string>Hybrid
</string>
158 <property name=
"text">
159 <string notr=
"true">V1
</string>
165 <spacer name=
"horizontalSpacer_2">
166 <property name=
"orientation">
167 <enum>Qt::Horizontal
</enum>
169 <property name=
"sizeHint" stdset=
"0">
181 <layout class=
"QHBoxLayout" name=
"pieceSizeLayout">
183 <widget class=
"QLabel" name=
"txtPieceSize">
184 <property name=
"text">
185 <string>Piece size:
</string>
190 <widget class=
"QComboBox" name=
"comboPieceSize">
191 <property name=
"currentIndex">
194 <property name=
"minimumContentsLength">
198 <property name=
"text">
199 <string>Auto
</string>
203 <property name=
"text">
204 <string>16 KiB
</string>
208 <property name=
"text">
209 <string>32 KiB
</string>
213 <property name=
"text">
214 <string>64 KiB
</string>
218 <property name=
"text">
219 <string>128 KiB
</string>
223 <property name=
"text">
224 <string>256 KiB
</string>
228 <property name=
"text">
229 <string>512 KiB
</string>
233 <property name=
"text">
234 <string>1 MiB
</string>
238 <property name=
"text">
239 <string>2 MiB
</string>
243 <property name=
"text">
244 <string>4 MiB
</string>
248 <property name=
"text">
249 <string>8 MiB
</string>
253 <property name=
"text">
254 <string>16 MiB
</string>
258 <property name=
"text">
259 <string>32 MiB
</string>
265 <widget class=
"QPushButton" name=
"buttonCalcTotalPieces">
266 <property name=
"text">
267 <string>Calculate number of pieces:
</string>
272 <widget class=
"QLabel" name=
"labelTotalPieces">
273 <property name=
"text">
274 <string notr=
"true">0</string>
279 <spacer name=
"spacer1">
280 <property name=
"orientation">
281 <enum>Qt::Horizontal
</enum>
283 <property name=
"sizeHint" stdset=
"0">
294 <widget class=
"QCheckBox" name=
"checkPrivate">
295 <property name=
"text">
296 <string>Private torrent (Won't distribute on DHT network)
</string>
301 <widget class=
"QCheckBox" name=
"checkStartSeeding">
302 <property name=
"text">
303 <string>Start seeding immediately
</string>
305 <property name=
"checked">
311 <widget class=
"QCheckBox" name=
"checkIgnoreShareLimits">
312 <property name=
"text">
313 <string>Ignore share ratio limits for this torrent
</string>
318 <widget class=
"QGroupBox" name=
"checkOptimizeAlignment">
319 <property name=
"title">
320 <string>Optimize alignment
</string>
322 <property name=
"checkable">
325 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
327 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
329 <widget class=
"QLabel" name=
"lblPaddedFileSizeLimit">
330 <property name=
"text">
331 <string>Align to piece boundary for files larger than:
</string>
336 <widget class=
"QSpinBox" name=
"spinPaddedFileSizeLimit">
337 <property name=
"specialValueText">
338 <string>Disabled
</string>
340 <property name=
"suffix">
341 <string> KiB
</string>
343 <property name=
"minimum">
346 <property name=
"maximum">
347 <number>2147483647</number>
349 <property name=
"value">
355 <spacer name=
"horizontalSpacer">
356 <property name=
"orientation">
357 <enum>Qt::Horizontal
</enum>
359 <property name=
"sizeHint" stdset=
"0">
376 <widget class=
"QGroupBox" name=
"groupBox_3">
377 <property name=
"title">
378 <string>Fields
</string>
380 <layout class=
"QGridLayout" name=
"gridLayout_2">
381 <item row=
"0" column=
"1">
382 <widget class=
"QTextEdit" name=
"trackersList">
383 <property name=
"toolTip">
384 <string>You can separate tracker tiers / groups with an empty line.
</string>
386 <property name=
"acceptRichText">
391 <item row=
"1" column=
"0">
392 <widget class=
"QLabel" name=
"urlSeeds_lbl">
393 <property name=
"text">
394 <string>Web seed URLs:
</string>
398 <item row=
"1" column=
"1">
399 <widget class=
"QTextEdit" name=
"URLSeedsList">
400 <property name=
"acceptRichText">
405 <item row=
"2" column=
"1">
406 <widget class=
"QTextEdit" name=
"txtComment">
407 <property name=
"acceptRichText">
412 <item row=
"0" column=
"0">
413 <widget class=
"QLabel" name=
"lbl_announce_url">
414 <property name=
"text">
415 <string>Tracker URLs:
</string>
419 <item row=
"2" column=
"0">
420 <widget class=
"QLabel" name=
"lbl_comment">
421 <property name=
"text">
422 <string>Comments:
</string>
426 <item row=
"3" column=
"0">
427 <widget class=
"QLabel" name=
"labelSource">
428 <property name=
"text">
429 <string>Source:
</string>
433 <item row=
"3" column=
"1">
434 <widget class=
"QLineEdit" name=
"lineEditSource"/>
444 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
446 <widget class=
"QLabel" name=
"progressLbl">
447 <property name=
"text">
448 <string>Progress:
</string>
453 <widget class=
"QProgressBar" name=
"progressBar">
454 <property name=
"value">
462 <widget class=
"QDialogButtonBox" name=
"buttonBox">
463 <property name=
"standardButtons">
464 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok
</set>
466 <property name=
"centerButtons">
474 <tabstop>textInputPath
</tabstop>
475 <tabstop>addFileButton
</tabstop>
476 <tabstop>addFolderButton
</tabstop>
477 <tabstop>comboPieceSize
</tabstop>
478 <tabstop>checkPrivate
</tabstop>
479 <tabstop>checkStartSeeding
</tabstop>
480 <tabstop>checkIgnoreShareLimits
</tabstop>
481 <tabstop>checkOptimizeAlignment
</tabstop>
482 <tabstop>trackersList
</tabstop>
483 <tabstop>URLSeedsList
</tabstop>
484 <tabstop>txtComment
</tabstop>
489 <sender>checkStartSeeding
</sender>
490 <signal>clicked(bool)
</signal>
491 <receiver>checkIgnoreShareLimits
</receiver>
492 <slot>setEnabled(bool)
</slot>
494 <hint type=
"sourcelabel">
498 <hint type=
"destinationlabel">
505 <sender>buttonBox
</sender>
506 <signal>rejected()
</signal>
507 <receiver>TorrentCreatorDialog
</receiver>
508 <slot>reject()
</slot>
510 <hint type=
"sourcelabel">
514 <hint type=
"destinationlabel">