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::Shape::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=
"FileSystemPathLineEdit" name=
"textInputPath" native=
"true">
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::AlignmentFlag::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::Orientation::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">
200 <widget class=
"QPushButton" name=
"buttonCalcTotalPieces">
201 <property name=
"text">
202 <string>Calculate number of pieces:
</string>
207 <widget class=
"QLabel" name=
"labelTotalPieces">
208 <property name=
"text">
209 <string notr=
"true">0</string>
214 <spacer name=
"spacer1">
215 <property name=
"orientation">
216 <enum>Qt::Orientation::Horizontal
</enum>
218 <property name=
"sizeHint" stdset=
"0">
229 <widget class=
"QCheckBox" name=
"checkPrivate">
230 <property name=
"text">
231 <string>Private torrent (Won't distribute on DHT network)
</string>
236 <widget class=
"QCheckBox" name=
"checkStartSeeding">
237 <property name=
"text">
238 <string>Start seeding immediately
</string>
240 <property name=
"checked">
246 <widget class=
"QCheckBox" name=
"checkIgnoreShareLimits">
247 <property name=
"text">
248 <string>Ignore share ratio limits for this torrent
</string>
253 <widget class=
"QGroupBox" name=
"checkOptimizeAlignment">
254 <property name=
"title">
255 <string>Optimize alignment
</string>
257 <property name=
"checkable">
260 <layout class=
"QVBoxLayout" name=
"verticalLayout_4">
262 <layout class=
"QHBoxLayout" name=
"horizontalLayout_4">
264 <widget class=
"QLabel" name=
"lblPaddedFileSizeLimit">
265 <property name=
"text">
266 <string>Align to piece boundary for files larger than:
</string>
271 <widget class=
"QSpinBox" name=
"spinPaddedFileSizeLimit">
272 <property name=
"specialValueText">
273 <string>Disabled
</string>
275 <property name=
"suffix">
276 <string> KiB
</string>
278 <property name=
"minimum">
281 <property name=
"maximum">
282 <number>2147483647</number>
284 <property name=
"value">
290 <spacer name=
"horizontalSpacer">
291 <property name=
"orientation">
292 <enum>Qt::Orientation::Horizontal
</enum>
294 <property name=
"sizeHint" stdset=
"0">
311 <widget class=
"QGroupBox" name=
"groupBox_3">
312 <property name=
"title">
313 <string>Fields
</string>
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>
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>
328 <property name=
"tabChangesFocus">
331 <property name=
"acceptRichText">
336 <item row=
"1" column=
"0">
337 <widget class=
"QLabel" name=
"urlSeeds_lbl">
338 <property name=
"text">
339 <string>Web seed URLs:
</string>
343 <item row=
"1" column=
"1">
344 <widget class=
"QTextEdit" name=
"URLSeedsList">
345 <property name=
"tabChangesFocus">
348 <property name=
"acceptRichText">
353 <item row=
"2" column=
"0">
354 <widget class=
"QLabel" name=
"lbl_comment">
355 <property name=
"text">
356 <string>Comments:
</string>
360 <item row=
"2" column=
"1">
361 <widget class=
"QTextEdit" name=
"txtComment">
362 <property name=
"tabChangesFocus">
365 <property name=
"acceptRichText">
370 <item row=
"3" column=
"0">
371 <widget class=
"QLabel" name=
"labelSource">
372 <property name=
"text">
373 <string>Source:
</string>
377 <item row=
"3" column=
"1">
378 <widget class=
"QLineEdit" name=
"lineEditSource"/>
388 <layout class=
"QHBoxLayout" name=
"horizontalLayout_2">
390 <widget class=
"QLabel" name=
"progressLbl">
391 <property name=
"text">
392 <string>Progress:
</string>
397 <widget class=
"QProgressBar" name=
"progressBar">
398 <property name=
"value">
406 <widget class=
"QDialogButtonBox" name=
"buttonBox">
407 <property name=
"standardButtons">
408 <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok
</set>
410 <property name=
"centerButtons">
419 <class>FileSystemPathLineEdit
</class>
420 <extends>QWidget
</extends>
421 <header>gui/fspathedit.h
</header>
422 <container>1</container>