Don't overwrite stored layout of main window with incorrect one
[qBittorrent.git] / src / gui / torrentsharelimitswidget.ui
blob9a58a54e1ddfab45b9ca86d3f001e2c5dc0ce2bb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TorrentShareLimitsWidget</class>
4 <widget class="QWidget" name="TorrentShareLimitsWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>445</width>
10 <height>132</height>
11 </rect>
12 </property>
13 <layout class="QVBoxLayout" name="verticalLayout">
14 <item>
15 <layout class="QGridLayout" name="limitsLayout">
16 <item row="2" column="1">
17 <widget class="QComboBox" name="comboBoxInactiveSeedingTimeMode">
18 <property name="currentIndex">
19 <number>-1</number>
20 </property>
21 <item>
22 <property name="text">
23 <string>Default</string>
24 </property>
25 </item>
26 <item>
27 <property name="text">
28 <string>Unlimited</string>
29 </property>
30 </item>
31 <item>
32 <property name="text">
33 <string>Set to</string>
34 </property>
35 </item>
36 </widget>
37 </item>
38 <item row="1" column="2">
39 <widget class="QSpinBox" name="spinBoxSeedingTimeValue">
40 <property name="enabled">
41 <bool>false</bool>
42 </property>
43 <property name="suffix">
44 <string extracomment="minutes"> min</string>
45 </property>
46 <property name="maximum">
47 <number>9999999</number>
48 </property>
49 <property name="value">
50 <number>1440</number>
51 </property>
52 </widget>
53 </item>
54 <item row="0" column="0">
55 <widget class="QLabel" name="labelRatio">
56 <property name="text">
57 <string>Ratio:</string>
58 </property>
59 </widget>
60 </item>
61 <item row="2" column="0">
62 <widget class="QLabel" name="labelInactiveSeedingTime">
63 <property name="text">
64 <string>Inactive seeding time:</string>
65 </property>
66 </widget>
67 </item>
68 <item row="2" column="2">
69 <widget class="QSpinBox" name="spinBoxInactiveSeedingTimeValue">
70 <property name="enabled">
71 <bool>false</bool>
72 </property>
73 <property name="suffix">
74 <string extracomment="minutes"> min</string>
75 </property>
76 <property name="maximum">
77 <number>9999999</number>
78 </property>
79 <property name="value">
80 <number>1440</number>
81 </property>
82 </widget>
83 </item>
84 <item row="0" column="2">
85 <widget class="QDoubleSpinBox" name="spinBoxRatioValue">
86 <property name="enabled">
87 <bool>false</bool>
88 </property>
89 <property name="maximum">
90 <double>9998.000000000000000</double>
91 </property>
92 <property name="singleStep">
93 <double>0.050000000000000</double>
94 </property>
95 <property name="value">
96 <double>1.000000000000000</double>
97 </property>
98 </widget>
99 </item>
100 <item row="1" column="1">
101 <widget class="QComboBox" name="comboBoxSeedingTimeMode">
102 <property name="currentIndex">
103 <number>-1</number>
104 </property>
105 <item>
106 <property name="text">
107 <string>Default</string>
108 </property>
109 </item>
110 <item>
111 <property name="text">
112 <string>Unlimited</string>
113 </property>
114 </item>
115 <item>
116 <property name="text">
117 <string>Set to</string>
118 </property>
119 </item>
120 </widget>
121 </item>
122 <item row="0" column="1">
123 <widget class="QComboBox" name="comboBoxRatioMode">
124 <property name="currentIndex">
125 <number>-1</number>
126 </property>
127 <item>
128 <property name="text">
129 <string>Default</string>
130 </property>
131 </item>
132 <item>
133 <property name="text">
134 <string>Unlimited</string>
135 </property>
136 </item>
137 <item>
138 <property name="text">
139 <string>Set to</string>
140 </property>
141 </item>
142 </widget>
143 </item>
144 <item row="1" column="0">
145 <widget class="QLabel" name="labelSeedingTime">
146 <property name="text">
147 <string>Seeding time:</string>
148 </property>
149 </widget>
150 </item>
151 </layout>
152 </item>
153 <item>
154 <layout class="QHBoxLayout" name="actionLayout">
155 <item>
156 <widget class="QLabel" name="labelAction">
157 <property name="text">
158 <string>Action when the limit is reached:</string>
159 </property>
160 </widget>
161 </item>
162 <item>
163 <widget class="QComboBox" name="comboBoxAction">
164 <property name="currentIndex">
165 <number>-1</number>
166 </property>
167 <item>
168 <property name="text">
169 <string>Default</string>
170 </property>
171 </item>
172 <item>
173 <property name="text">
174 <string>Stop torrent</string>
175 </property>
176 </item>
177 <item>
178 <property name="text">
179 <string>Remove torrent</string>
180 </property>
181 </item>
182 <item>
183 <property name="text">
184 <string>Remove torrent and its content</string>
185 </property>
186 </item>
187 <item>
188 <property name="text">
189 <string>Enable super seeding for torrent</string>
190 </property>
191 </item>
192 </widget>
193 </item>
194 <item>
195 <spacer name="actionLayoutSpacer">
196 <property name="orientation">
197 <enum>Qt::Horizontal</enum>
198 </property>
199 <property name="sizeHint" stdset="0">
200 <size>
201 <width>40</width>
202 <height>20</height>
203 </size>
204 </property>
205 </spacer>
206 </item>
207 </layout>
208 </item>
209 </layout>
210 </widget>
211 <resources/>
212 <connections/>
213 </ui>