Don't overwrite stored layout of main window with incorrect one
[qBittorrent.git] / src / gui / torrentoptionsdialog.ui
blob551b19023f742db9ab6916c485d685b364cfc65f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TorrentOptionsDialog</class>
4 <widget class="QDialog" name="TorrentOptionsDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>450</width>
10 <height>540</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Torrent Options</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_3">
17 <item>
18 <widget class="QCheckBox" name="checkAutoTMM">
19 <property name="toolTip">
20 <string>Automatic mode means that various torrent properties (e.g. save path) will be decided by the associated category</string>
21 </property>
22 <property name="text">
23 <string>Automatic Torrent Management</string>
24 </property>
25 </widget>
26 </item>
27 <item>
28 <widget class="QGroupBox" name="groupBoxSavePath">
29 <property name="title">
30 <string>Save at</string>
31 </property>
32 <layout class="QVBoxLayout" name="verticalLayout_2">
33 <item>
34 <widget class="FileSystemPathComboEdit" name="savePath" native="true"/>
35 </item>
36 <item>
37 <widget class="QCheckBox" name="checkUseDownloadPath">
38 <property name="text">
39 <string>Use another path for incomplete torrent</string>
40 </property>
41 </widget>
42 </item>
43 <item>
44 <widget class="FileSystemPathComboEdit" name="downloadPath" native="true">
45 <property name="enabled">
46 <bool>false</bool>
47 </property>
48 </widget>
49 </item>
50 </layout>
51 </widget>
52 </item>
53 <item>
54 <layout class="QGridLayout" name="gridLayout_4">
55 <item row="0" column="1">
56 <widget class="QComboBox" name="comboCategory">
57 <property name="sizePolicy">
58 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
59 <horstretch>0</horstretch>
60 <verstretch>0</verstretch>
61 </sizepolicy>
62 </property>
63 <property name="editable">
64 <bool>true</bool>
65 </property>
66 <property name="maxVisibleItems">
67 <number>2147483647</number>
68 </property>
69 <property name="insertPolicy">
70 <enum>QComboBox::InsertAtTop</enum>
71 </property>
72 </widget>
73 </item>
74 <item row="0" column="0">
75 <widget class="QLabel" name="labelCategory">
76 <property name="text">
77 <string>Category:</string>
78 </property>
79 </widget>
80 </item>
81 </layout>
82 </item>
83 <item>
84 <widget class="QGroupBox" name="groupBox">
85 <property name="title">
86 <string>Torrent speed limits</string>
87 </property>
88 <layout class="QGridLayout" name="gridLayout_2">
89 <item row="1" column="0">
90 <widget class="QLabel" name="label_2">
91 <property name="text">
92 <string>Download:</string>
93 </property>
94 </widget>
95 </item>
96 <item row="1" column="2">
97 <widget class="QSpinBox" name="spinDownloadLimit">
98 <property name="specialValueText">
99 <string></string>
100 </property>
101 <property name="suffix">
102 <string> KiB/s</string>
103 </property>
104 <property name="maximum">
105 <number>2000000</number>
106 </property>
107 </widget>
108 </item>
109 <item row="0" column="2">
110 <widget class="QSpinBox" name="spinUploadLimit">
111 <property name="specialValueText">
112 <string></string>
113 </property>
114 <property name="suffix">
115 <string> KiB/s</string>
116 </property>
117 <property name="maximum">
118 <number>2000000</number>
119 </property>
120 </widget>
121 </item>
122 <item row="2" column="1" colspan="2">
123 <widget class="QLabel" name="labelWarning">
124 <property name="text">
125 <string>These will not exceed the global limits</string>
126 </property>
127 </widget>
128 </item>
129 <item row="0" column="0">
130 <widget class="QLabel" name="label">
131 <property name="text">
132 <string>Upload:</string>
133 </property>
134 </widget>
135 </item>
136 <item row="0" column="1">
137 <widget class="QSlider" name="sliderUploadLimit">
138 <property name="orientation">
139 <enum>Qt::Horizontal</enum>
140 </property>
141 </widget>
142 </item>
143 <item row="1" column="1">
144 <widget class="QSlider" name="sliderDownloadLimit">
145 <property name="orientation">
146 <enum>Qt::Horizontal</enum>
147 </property>
148 </widget>
149 </item>
150 </layout>
151 </widget>
152 </item>
153 <item>
154 <widget class="QGroupBox" name="torrentShareLimitsBox">
155 <property name="title">
156 <string>Torrent share limits</string>
157 </property>
158 <layout class="QVBoxLayout" name="torrentShareLimitsBoxLayout">
159 <item>
160 <widget class="TorrentShareLimitsWidget" name="torrentShareLimitsWidget" native="true"/>
161 </item>
162 </layout>
163 </widget>
164 </item>
165 <item>
166 <layout class="QGridLayout" name="gridLayout_3">
167 <item row="0" column="0">
168 <widget class="QCheckBox" name="checkDisableDHT">
169 <property name="text">
170 <string>Disable DHT for this torrent</string>
171 </property>
172 </widget>
173 </item>
174 <item row="0" column="1">
175 <widget class="QCheckBox" name="checkSequential">
176 <property name="text">
177 <string>Download in sequential order</string>
178 </property>
179 </widget>
180 </item>
181 <item row="0" column="2">
182 <spacer name="horizontalSpacer_2">
183 <property name="orientation">
184 <enum>Qt::Horizontal</enum>
185 </property>
186 <property name="sizeHint" stdset="0">
187 <size>
188 <width>40</width>
189 <height>20</height>
190 </size>
191 </property>
192 </spacer>
193 </item>
194 <item row="1" column="0">
195 <widget class="QCheckBox" name="checkDisablePEX">
196 <property name="text">
197 <string>Disable PeX for this torrent</string>
198 </property>
199 </widget>
200 </item>
201 <item row="1" column="1">
202 <widget class="QCheckBox" name="checkFirstLastPieces">
203 <property name="text">
204 <string>Download first and last pieces first</string>
205 </property>
206 </widget>
207 </item>
208 <item row="2" column="0">
209 <widget class="QCheckBox" name="checkDisableLSD">
210 <property name="text">
211 <string>Disable LSD for this torrent</string>
212 </property>
213 </widget>
214 </item>
215 </layout>
216 </item>
217 <item>
218 <spacer name="verticalSpacer">
219 <property name="orientation">
220 <enum>Qt::Vertical</enum>
221 </property>
222 <property name="sizeHint" stdset="0">
223 <size>
224 <width>20</width>
225 <height>0</height>
226 </size>
227 </property>
228 </spacer>
229 </item>
230 <item>
231 <widget class="QDialogButtonBox" name="buttonBox">
232 <property name="standardButtons">
233 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
234 </property>
235 </widget>
236 </item>
237 </layout>
238 </widget>
239 <customwidgets>
240 <customwidget>
241 <class>FileSystemPathComboEdit</class>
242 <extends>QWidget</extends>
243 <header>gui/fspathedit.h</header>
244 <container>1</container>
245 </customwidget>
246 <customwidget>
247 <class>TorrentShareLimitsWidget</class>
248 <extends>QWidget</extends>
249 <header>gui/torrentsharelimitswidget.h</header>
250 <container>1</container>
251 </customwidget>
252 </customwidgets>
253 <resources/>
254 <connections/>
255 <buttongroups>
256 <buttongroup name="buttonGroup"/>
257 </buttongroups>
258 </ui>