1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>OptionsDialog</class>
4 <widget class="QDialog" name="OptionsDialog">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>779</width>
10    <height>591</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Options</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout_3">
17   <item>
18    <widget class="QSplitter" name="hsplitter">
19     <property name="orientation">
20      <enum>Qt::Horizontal</enum>
21     </property>
22     <property name="childrenCollapsible">
23      <bool>false</bool>
24     </property>
25     <widget class="QListWidget" name="tabSelection">
26      <property name="layoutDirection">
27       <enum>Qt::LeftToRight</enum>
28      </property>
29      <property name="horizontalScrollBarPolicy">
30       <enum>Qt::ScrollBarAlwaysOff</enum>
31      </property>
32      <property name="movement">
33       <enum>QListView::Static</enum>
34      </property>
35      <property name="flow">
36       <enum>QListView::TopToBottom</enum>
37      </property>
38      <property name="isWrapping" stdset="0">
39       <bool>false</bool>
40      </property>
41      <property name="resizeMode">
42       <enum>QListView::Adjust</enum>
43      </property>
44      <property name="viewMode">
45       <enum>QListView::IconMode</enum>
46      </property>
47      <property name="currentRow">
48       <number>0</number>
49      </property>
50      <item>
51       <property name="text">
52        <string>Behavior</string>
53       </property>
54      </item>
55      <item>
56       <property name="text">
57        <string>Downloads</string>
58       </property>
59      </item>
60      <item>
61       <property name="text">
62        <string>Connection</string>
63       </property>
64      </item>
65      <item>
66       <property name="text">
67        <string>Speed</string>
68       </property>
69      </item>
70      <item>
71       <property name="text">
72        <string>BitTorrent</string>
73       </property>
74      </item>
75      <item>
76       <property name="text">
77        <string>RSS</string>
78       </property>
79      </item>
80      <item>
81       <property name="text">
82        <string>Web UI</string>
83       </property>
84      </item>
85      <item>
86       <property name="text">
87        <string>Advanced</string>
88       </property>
89      </item>
90     </widget>
91     <widget class="QStackedWidget" name="tabOption">
92      <property name="currentIndex">
93       <number>0</number>
94      </property>
95      <widget class="QWidget" name="tabBehaviorPage">
96       <layout class="QVBoxLayout" name="verticalLayout_10">
97        <property name="leftMargin">
98         <number>0</number>
99        </property>
100        <property name="topMargin">
101         <number>0</number>
102        </property>
103        <property name="rightMargin">
104         <number>0</number>
105        </property>
106        <property name="bottomMargin">
107         <number>0</number>
108        </property>
109        <item>
110         <widget class="QScrollArea" name="scrollArea">
111          <property name="sizePolicy">
112           <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
113            <horstretch>0</horstretch>
114            <verstretch>0</verstretch>
115           </sizepolicy>
116          </property>
117          <property name="widgetResizable">
118           <bool>true</bool>
119          </property>
120          <widget class="QWidget" name="scrollAreaWidgetContents">
121           <property name="geometry">
122            <rect>
123             <x>0</x>
124             <y>0</y>
125             <width>501</width>
126             <height>893</height>
127            </rect>
128           </property>
129           <layout class="QVBoxLayout" name="verticalLayout_9">
130            <item>
131             <widget class="QGroupBox" name="UISettingsBox">
132              <property name="title">
133               <string>Interface</string>
134              </property>
135              <layout class="QGridLayout" name="gridLayout_81">
136               <item row="3" column="0" colspan="3">
137                <widget class="QGroupBox" name="checkUseCustomTheme">
138                 <property name="title">
139                  <string>Use custom UI Theme</string>
140                 </property>
141                 <property name="checkable">
142                  <bool>true</bool>
143                 </property>
144                 <layout class="QHBoxLayout" name="horizontalLayout_18">
145                  <item>
146                   <widget class="QLabel" name="label_16">
147                    <property name="text">
148                     <string>UI Theme file:</string>
149                    </property>
150                   </widget>
151                  </item>
152                  <item>
153                   <widget class="FileSystemPathLineEdit" name="customThemeFilePath" native="true"/>
154                  </item>
155                 </layout>
156                </widget>
157               </item>
158               <item row="1" column="2">
159                <spacer name="horizontalSpacer_111">
160                 <property name="orientation">
161                  <enum>Qt::Horizontal</enum>
162                 </property>
163                 <property name="sizeHint" stdset="0">
164                  <size>
165                   <width>200</width>
166                   <height>20</height>
167                  </size>
168                 </property>
169                </spacer>
170               </item>
171               <item row="1" column="0">
172                <widget class="QLabel" name="label_9">
173                 <property name="text">
174                  <string>Language:</string>
175                 </property>
176                </widget>
177               </item>
178               <item row="2" column="0" colspan="2">
179                <widget class="QCheckBox" name="checkUseSystemIcon">
180                 <property name="text">
181                  <string>Use system icon theme</string>
182                 </property>
183                </widget>
184               </item>
185               <item row="1" column="1">
186                <widget class="QComboBox" name="comboI18n">
187                 <property name="minimumSize">
188                  <size>
189                   <width>0</width>
190                   <height>0</height>
191                  </size>
192                 </property>
193                 <property name="sizeAdjustPolicy">
194                  <enum>QComboBox::AdjustToContents</enum>
195                 </property>
196                 <property name="modelColumn">
197                  <number>0</number>
198                 </property>
199                </widget>
200               </item>
201               <item row="0" column="0" colspan="2">
202                <widget class="QLabel" name="label_15">
203                 <property name="font">
204                  <font>
205                   <italic>true</italic>
206                  </font>
207                 </property>
208                 <property name="text">
209                  <string>Changing Interface settings requires application restart</string>
210                 </property>
211                </widget>
212               </item>
213              </layout>
214             </widget>
215            </item>
216            <item>
217             <widget class="QGroupBox" name="groupBox_4">
218              <property name="title">
219               <string>Transfer List</string>
220              </property>
221              <layout class="QVBoxLayout" name="verticalLayout_4">
222               <item>
223                <widget class="QCheckBox" name="confirmDeletion">
224                 <property name="toolTip">
225                  <string>Shows a confirmation dialog upon torrent deletion</string>
226                 </property>
227                 <property name="text">
228                  <string>Confirm when deleting torrents</string>
229                 </property>
230                 <property name="checked">
231                  <bool>true</bool>
232                 </property>
233                </widget>
234               </item>
235               <item>
236                <widget class="QCheckBox" name="checkAltRowColors">
237                 <property name="text">
238                  <string extracomment="In table elements, every other row will have a grey background.">Use alternating row colors</string>
239                 </property>
240                 <property name="checked">
241                  <bool>true</bool>
242                 </property>
243                </widget>
244               </item>
245               <item>
246                <layout class="QHBoxLayout" name="horizontalLayout">
247                 <item>
248                  <widget class="QCheckBox" name="checkHideZero">
249                   <property name="text">
250                    <string>Hide zero and infinity values</string>
251                   </property>
252                  </widget>
253                 </item>
254                 <item>
255                  <widget class="QComboBox" name="comboHideZero">
256                   <item>
257                    <property name="text">
258                     <string>Always</string>
259                    </property>
260                   </item>
261                   <item>
262                    <property name="text">
263                     <string>Paused torrents only</string>
264                    </property>
265                   </item>
266                  </widget>
267                 </item>
268                 <item>
269                  <spacer name="horizontalSpacer_10">
270                   <property name="orientation">
271                    <enum>Qt::Horizontal</enum>
272                   </property>
273                   <property name="sizeHint" stdset="0">
274                    <size>
275                     <width>0</width>
276                     <height>0</height>
277                    </size>
278                   </property>
279                  </spacer>
280                 </item>
281                </layout>
282               </item>
283               <item>
284                <widget class="QGroupBox" name="groupBox_7">
285                 <property name="title">
286                  <string>Action on double-click</string>
287                 </property>
288                 <layout class="QGridLayout" name="gridLayout_14">
289                  <item row="0" column="0">
290                   <widget class="QLabel" name="lblDlList_2">
291                    <property name="text">
292                     <string>Downloading torrents:</string>
293                    </property>
294                   </widget>
295                  </item>
296                  <item row="0" column="1">
297                   <widget class="QComboBox" name="actionTorrentDlOnDblClBox">
298                    <property name="currentIndex">
299                     <number>0</number>
300                    </property>
301                    <item>
302                     <property name="text">
303                      <string>Start / Stop Torrent</string>
304                     </property>
305                    </item>
306                    <item>
307                     <property name="text">
308                      <string>Open destination folder</string>
309                     </property>
310                    </item>
311                    <item>
312                     <property name="text">
313                      <string>Preview file, otherwise open destination folder</string>
314                     </property>
315                    </item>
316                    <item>
317                     <property name="text">
318                      <string>No action</string>
319                     </property>
320                    </item>
321                   </widget>
322                  </item>
323                  <item row="1" column="0">
324                   <widget class="QLabel" name="lblUploadList">
325                    <property name="text">
326                     <string>Completed torrents:</string>
327                    </property>
328                   </widget>
329                  </item>
330                  <item row="1" column="1">
331                   <widget class="QComboBox" name="actionTorrentFnOnDblClBox">
332                    <item>
333                     <property name="text">
334                      <string>Start / Stop Torrent</string>
335                     </property>
336                    </item>
337                    <item>
338                     <property name="text">
339                      <string>Open destination folder</string>
340                     </property>
341                    </item>
342                    <item>
343                     <property name="text">
344                      <string>Preview file, otherwise open destination folder</string>
345                     </property>
346                    </item>
347                    <item>
348                     <property name="text">
349                      <string>No action</string>
350                     </property>
351                    </item>
352                   </widget>
353                  </item>
354                  <item row="0" column="2">
355                   <spacer name="horizontalSpacer_12">
356                    <property name="orientation">
357                     <enum>Qt::Horizontal</enum>
358                    </property>
359                    <property name="sizeHint" stdset="0">
360                     <size>
361                      <width>40</width>
362                      <height>20</height>
363                     </size>
364                    </property>
365                   </spacer>
366                  </item>
367                 </layout>
368                </widget>
369               </item>
370              </layout>
371             </widget>
372            </item>
373            <item>
374             <widget class="QGroupBox" name="systrayBox">
375              <property name="title">
376               <string>Desktop</string>
377              </property>
378              <layout class="QVBoxLayout" name="verticalLayout_12">
379               <item>
380                <widget class="QCheckBox" name="checkStartup">
381                 <property name="text">
382                  <string>Start qBittorrent on Windows start up</string>
383                 </property>
384                </widget>
385               </item>
386               <item>
387                <widget class="QCheckBox" name="checkShowSplash">
388                 <property name="text">
389                  <string>Show splash screen on start up</string>
390                 </property>
391                 <property name="checked">
392                  <bool>true</bool>
393                 </property>
394                </widget>
395               </item>
396               <item>
397                <widget class="QCheckBox" name="checkStartMinimized">
398                 <property name="toolTip">
399                  <string>When qBittorrent is started, the main window will be minimized</string>
400                 </property>
401                 <property name="text">
402                  <string>Start qBittorrent minimized</string>
403                 </property>
404                </widget>
405               </item>
406               <item>
407                <widget class="QCheckBox" name="checkProgramExitConfirm">
408                 <property name="toolTip">
409                  <string>Shows a confirmation dialog when exiting with active torrents</string>
410                 </property>
411                 <property name="text">
412                  <string>Confirmation on exit when torrents are active</string>
413                 </property>
414                 <property name="checked">
415                  <bool>true</bool>
416                 </property>
417                </widget>
418               </item>
419               <item>
420                <widget class="QCheckBox" name="checkProgramAutoExitConfirm">
421                 <property name="text">
422                  <string>Confirmation on auto-exit when downloads finish</string>
423                 </property>
424                 <property name="checked">
425                  <bool>true</bool>
426                 </property>
427                </widget>
428               </item>
429               <item>
430                <widget class="QGroupBox" name="checkShowSystray">
431                 <property name="title">
432                  <string>Show &amp;qBittorrent in notification area</string>
433                 </property>
434                 <property name="checkable">
435                  <bool>true</bool>
436                 </property>
437                 <layout class="QVBoxLayout" name="verticalLayout_22">
438                  <item>
439                   <widget class="QCheckBox" name="checkMinimizeToSysTray">
440                    <property name="toolTip">
441                     <string>When minimizing, the main window is closed and must be reopened from the systray icon</string>
442                    </property>
443                    <property name="text">
444                     <string>Minimize qBittorrent to notification area</string>
445                    </property>
446                    <property name="checked">
447                     <bool>false</bool>
448                    </property>
449                   </widget>
450                  </item>
451                  <item>
452                   <widget class="QCheckBox" name="checkCloseToSystray">
453                    <property name="toolTip">
454                     <string>The systray icon will still be visible when closing the main window</string>
455                    </property>
456                    <property name="text">
457                     <string extracomment="The systray icon will still be visible when closing the main window">Close qBittorrent to notification area</string>
458                    </property>
459                   </widget>
460                  </item>
461                  <item>
462                   <layout class="QHBoxLayout" name="horizontalLayout_4">
463                    <item>
464                     <widget class="QLabel" name="labelTrayIconStyle">
465                      <property name="text">
466                       <string>Tray icon style:</string>
467                      </property>
468                     </widget>
469                    </item>
470                    <item>
471                     <widget class="QComboBox" name="comboTrayIcon">
472                      <item>
473                       <property name="text">
474                        <string>Normal</string>
475                       </property>
476                      </item>
477                      <item>
478                       <property name="text">
479                        <string>Monochrome (for dark theme)</string>
480                       </property>
481                      </item>
482                      <item>
483                       <property name="text">
484                        <string>Monochrome (for light theme)</string>
485                       </property>
486                      </item>
487                     </widget>
488                    </item>
489                    <item>
490                     <spacer name="horizontalSpacer_13">
491                      <property name="orientation">
492                       <enum>Qt::Horizontal</enum>
493                      </property>
494                      <property name="sizeHint" stdset="0">
495                       <size>
496                        <width>40</width>
497                        <height>20</height>
498                       </size>
499                      </property>
500                     </spacer>
501                    </item>
502                   </layout>
503                  </item>
504                 </layout>
505                </widget>
506               </item>
507               <item>
508                <widget class="QGroupBox" name="groupFileAssociation">
509                 <property name="title">
510                  <string>File association</string>
511                 </property>
512                 <layout class="QVBoxLayout" name="verticalLayout_28">
513                  <item>
514                   <widget class="QCheckBox" name="checkAssociateTorrents">
515                    <property name="text">
516                     <string>Use qBittorrent for .torrent files</string>
517                    </property>
518                   </widget>
519                  </item>
520                  <item>
521                   <widget class="QCheckBox" name="checkAssociateMagnetLinks">
522                    <property name="text">
523                     <string>Use qBittorrent for magnet links</string>
524                    </property>
525                   </widget>
526                  </item>
527                 </layout>
528                </widget>
529               </item>
530               <item>
531                <widget class="QCheckBox" name="checkProgramUpdates">
532                 <property name="text">
533                  <string>Check for program updates</string>
534                 </property>
535                </widget>
536               </item>
537              </layout>
538             </widget>
539            </item>
540            <item>
541             <widget class="QGroupBox" name="groupBox">
542              <property name="title">
543               <string>Power Management</string>
544              </property>
545              <layout class="QVBoxLayout" name="verticalLayout_16">
546               <item>
547                <widget class="QCheckBox" name="checkPreventFromSuspendWhenDownloading">
548                 <property name="text">
549                  <string>Inhibit system sleep when torrents are downloading</string>
550                 </property>
551                </widget>
552               </item>
553               <item>
554                <widget class="QCheckBox" name="checkPreventFromSuspendWhenSeeding">
555                 <property name="text">
556                  <string>Inhibit system sleep when torrents are seeding</string>
557                 </property>
558                </widget>
559               </item>
560              </layout>
561             </widget>
562            </item>
563            <item>
564             <widget class="QGroupBox" name="checkFileLog">
565              <property name="title">
566               <string>&amp;Log file</string>
567              </property>
568              <property name="checkable">
569               <bool>true</bool>
570              </property>
571              <property name="checked">
572               <bool>true</bool>
573              </property>
574              <layout class="QVBoxLayout" name="verticalLayout_11">
575               <item>
576                <layout class="QHBoxLayout" name="horizontalLayout_7">
577                 <item>
578                  <widget class="QLabel" name="label_4">
579                   <property name="sizePolicy">
580                    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
581                     <horstretch>0</horstretch>
582                     <verstretch>0</verstretch>
583                    </sizepolicy>
584                   </property>
585                   <property name="text">
586                    <string>Save path:</string>
587                   </property>
588                  </widget>
589                 </item>
590                 <item>
591                  <widget class="FileSystemPathLineEdit" name="textFileLogPath" native="true"/>
592                 </item>
593                </layout>
594               </item>
595               <item>
596                <layout class="QHBoxLayout" name="horizontalLayout_8">
597                 <item>
598                  <widget class="QCheckBox" name="checkFileLogBackup">
599                   <property name="toolTip">
600                    <string>Creates an additional log file after the log file reaches the specified file size</string>
601                   </property>
602                   <property name="text">
603                    <string>Backup the log file after:</string>
604                   </property>
605                  </widget>
606                 </item>
607                 <item>
608                  <widget class="QSpinBox" name="spinFileLogSize">
609                   <property name="suffix">
610                    <string> KiB</string>
611                   </property>
612                   <property name="minimum">
613                    <number>1</number>
614                   </property>
615                   <property name="maximum">
616                    <number>1024000</number>
617                   </property>
618                   <property name="value">
619                    <number>65</number>
620                   </property>
621                  </widget>
622                 </item>
623                 <item>
624                  <spacer name="horizontalSpacer_100">
625                   <property name="orientation">
626                    <enum>Qt::Horizontal</enum>
627                   </property>
628                   <property name="sizeHint" stdset="0">
629                    <size>
630                     <width>40</width>
631                     <height>20</height>
632                    </size>
633                   </property>
634                  </spacer>
635                 </item>
636                </layout>
637               </item>
638               <item>
639                <layout class="QHBoxLayout" name="horizontalLayout_9">
640                 <item>
641                  <widget class="QCheckBox" name="checkFileLogDelete">
642                   <property name="text">
643                    <string>Delete backup logs older than:</string>
644                   </property>
645                  </widget>
646                 </item>
647                 <item>
648                  <widget class="QSpinBox" name="spinFileLogAge">
649                   <property name="minimum">
650                    <number>1</number>
651                   </property>
652                   <property name="maximum">
653                    <number>365</number>
654                   </property>
655                   <property name="value">
656                    <number>6</number>
657                   </property>
658                  </widget>
659                 </item>
660                 <item>
661                  <widget class="QComboBox" name="comboFileLogAgeType">
662                   <property name="currentIndex">
663                    <number>1</number>
664                   </property>
665                   <item>
666                    <property name="text">
667                     <string extracomment="Delete backup logs older than 10 days">days</string>
668                    </property>
669                   </item>
670                   <item>
671                    <property name="text">
672                     <string extracomment="Delete backup logs older than 10 months">months</string>
673                    </property>
674                   </item>
675                   <item>
676                    <property name="text">
677                     <string extracomment="Delete backup logs older than 10 years">years</string>
678                    </property>
679                   </item>
680                  </widget>
681                 </item>
682                 <item>
683                  <spacer name="horizontalSpacer_16">
684                   <property name="orientation">
685                    <enum>Qt::Horizontal</enum>
686                   </property>
687                   <property name="sizeHint" stdset="0">
688                    <size>
689                     <width>40</width>
690                     <height>20</height>
691                    </size>
692                   </property>
693                  </spacer>
694                 </item>
695                </layout>
696               </item>
697              </layout>
698             </widget>
699            </item>
700            <item>
701             <spacer name="verticalSpacer_4">
702              <property name="orientation">
703               <enum>Qt::Vertical</enum>
704              </property>
705              <property name="sizeHint" stdset="0">
706               <size>
707                <width>20</width>
708                <height>40</height>
709               </size>
710              </property>
711             </spacer>
712            </item>
713           </layout>
714          </widget>
715         </widget>
716        </item>
717       </layout>
718      </widget>
719      <widget class="QWidget" name="tabDownloadsPage">
720       <layout class="QVBoxLayout" name="verticalLayout_13">
721        <property name="leftMargin">
722         <number>0</number>
723        </property>
724        <property name="topMargin">
725         <number>0</number>
726        </property>
727        <property name="rightMargin">
728         <number>0</number>
729        </property>
730        <property name="bottomMargin">
731         <number>0</number>
732        </property>
733        <item>
734         <widget class="QScrollArea" name="scrollArea_2">
735          <property name="widgetResizable">
736           <bool>true</bool>
737          </property>
738          <widget class="QWidget" name="scrollAreaWidgetContents_2">
739           <property name="geometry">
740            <rect>
741             <x>0</x>
742             <y>0</y>
743             <width>591</width>
744             <height>1138</height>
745            </rect>
746           </property>
747           <layout class="QVBoxLayout" name="verticalLayout">
748            <item>
749             <widget class="QGroupBox" name="torrentAdditionBox">
750              <property name="title">
751               <string>When adding a torrent</string>
752              </property>
753              <layout class="QVBoxLayout" name="torrentAdditionBoxLayout">
754               <item>
755                <widget class="QGroupBox" name="checkAdditionDialog">
756                 <property name="title">
757                  <string>Display &amp;torrent content and some options</string>
758                 </property>
759                 <property name="checkable">
760                  <bool>true</bool>
761                 </property>
762                 <layout class="QVBoxLayout" name="verticalLayout_18">
763                  <item>
764                   <widget class="QCheckBox" name="checkAdditionDialogFront">
765                    <property name="text">
766                     <string>Bring torrent dialog to the front</string>
767                    </property>
768                    <property name="checked">
769                     <bool>true</bool>
770                    </property>
771                   </widget>
772                  </item>
773                 </layout>
774                </widget>
775               </item>
776               <item>
777                <layout class="QHBoxLayout" name="horizontalLayout_19">
778                 <item>
779                  <widget class="QLabel" name="contentLayoutLabel">
780                   <property name="text">
781                    <string>Torrent content layout:</string>
782                   </property>
783                  </widget>
784                 </item>
785                 <item>
786                  <widget class="QComboBox" name="contentLayoutComboBox">
787                   <property name="currentIndex">
788                    <number>0</number>
789                   </property>
790                   <item>
791                    <property name="text">
792                     <string>Original</string>
793                    </property>
794                   </item>
795                   <item>
796                    <property name="text">
797                     <string>Create subfolder</string>
798                    </property>
799                   </item>
800                   <item>
801                    <property name="text">
802                     <string>Don't create subfolder</string>
803                    </property>
804                   </item>
805                  </widget>
806                 </item>
807                 <item>
808                  <spacer name="horizontalSpacer_20">
809                   <property name="orientation">
810                    <enum>Qt::Horizontal</enum>
811                   </property>
812                   <property name="sizeHint" stdset="0">
813                    <size>
814                     <width>40</width>
815                     <height>20</height>
816                    </size>
817                   </property>
818                  </spacer>
819                 </item>
820                </layout>
821               </item>
822               <item>
823                <widget class="QCheckBox" name="checkStartPaused">
824                 <property name="toolTip">
825                  <string>The torrent will be added to download list in a paused state</string>
826                 </property>
827                 <property name="text">
828                  <string extracomment="The torrent will be added to download list in a paused state">Do not start the download automatically</string>
829                 </property>
830                </widget>
831               </item>
832               <item>
833                <widget class="QGroupBox" name="deleteTorrentBox">
834                 <property name="toolTip">
835                  <string>Should the .torrent file be deleted after adding it</string>
836                 </property>
837                 <property name="title">
838                  <string>De&amp;lete .torrent files afterwards </string>
839                 </property>
840                 <property name="checkable">
841                  <bool>true</bool>
842                 </property>
843                 <property name="checked">
844                  <bool>false</bool>
845                 </property>
846                 <layout class="QVBoxLayout" name="deleteTorrentBoxLayout">
847                  <item>
848                   <widget class="QCheckBox" name="deleteCancelledTorrentBox">
849                    <property name="toolTip">
850                     <string>Also delete .torrent files whose addition was cancelled</string>
851                    </property>
852                    <property name="text">
853                     <string>Also when addition is cancelled</string>
854                    </property>
855                   </widget>
856                  </item>
857                  <item>
858                   <layout class="QHBoxLayout" name="deleteTorrentWarningLayout">
859                    <item>
860                     <widget class="QLabel" name="deleteTorrentWarningIcon">
861                      <property name="sizePolicy">
862                       <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
863                        <horstretch>0</horstretch>
864                        <verstretch>0</verstretch>
865                       </sizepolicy>
866                      </property>
867                      <property name="text">
868                       <string notr="true">&lt;&gt;</string>
869                      </property>
870                     </widget>
871                    </item>
872                    <item>
873                     <widget class="QLabel" name="deleteTorrentWarningLabel">
874                      <property name="text">
875                       <string>Warning! Data loss possible!</string>
876                      </property>
877                     </widget>
878                    </item>
879                   </layout>
880                  </item>
881                 </layout>
882                </widget>
883               </item>
884              </layout>
885             </widget>
886            </item>
887            <item>
888             <widget class="QCheckBox" name="checkPreallocateAll">
889              <property name="toolTip">
890               <string>Allocate full file sizes on disk before starting downloads, to minimize fragmentation. Only useful for HDDs.</string>
891              </property>
892              <property name="text">
893               <string>Pre-allocate disk space for all files</string>
894              </property>
895             </widget>
896            </item>
897            <item>
898             <widget class="QCheckBox" name="checkAppendqB">
899              <property name="text">
900               <string>Append .!qB extension to incomplete files</string>
901              </property>
902             </widget>
903            </item>
904            <item>
905             <widget class="QCheckBox" name="checkRecursiveDownload">
906              <property name="toolTip">
907               <string>When a torrent is downloaded, offer to add torrents from any .torrent files found inside it</string>
908              </property>
909              <property name="text">
910               <string>Enable recursive download dialog</string>
911              </property>
912             </widget>
913            </item>
914            <item>
915             <widget class="QGroupBox" name="groupSavingManagement">
916              <property name="title">
917               <string>Saving Management</string>
918              </property>
919              <layout class="QVBoxLayout" name="groupSavingManagementLayout">
920               <item>
921                <layout class="QGridLayout" name="gridLayout_3">
922                 <item row="0" column="0">
923                  <widget class="QLabel" name="label_40">
924                   <property name="text">
925                    <string>Default Torrent Management Mode:</string>
926                   </property>
927                  </widget>
928                 </item>
929                 <item row="0" column="1">
930                  <layout class="QHBoxLayout" name="horizontalLayout_70">
931                   <property name="spacing">
932                    <number>10</number>
933                   </property>
934                   <item>
935                    <widget class="QComboBox" name="comboSavingMode">
936                     <property name="toolTip">
937                      <string>Automatic: Various torrent properties (e.g. save path) will be decided by the associated category
938Manual: Various torrent properties (e.g. save path) must be assigned manually</string>
939                     </property>
940                     <item>
941                      <property name="text">
942                       <string>Manual</string>
943                      </property>
944                     </item>
945                     <item>
946                      <property name="text">
947                       <string>Automatic</string>
948                      </property>
949                     </item>
950                    </widget>
951                   </item>
952                   <item>
953                    <spacer name="horizontalSpacer_160">
954                     <property name="orientation">
955                      <enum>Qt::Horizontal</enum>
956                     </property>
957                     <property name="sizeHint" stdset="0">
958                      <size>
959                       <width>40</width>
960                       <height>20</height>
961                      </size>
962                     </property>
963                    </spacer>
964                   </item>
965                  </layout>
966                 </item>
967                 <item row="1" column="0">
968                  <widget class="QLabel" name="labelTorrentCategoryChanged">
969                   <property name="text">
970                    <string>When Torrent Category changed:</string>
971                   </property>
972                  </widget>
973                 </item>
974                 <item row="1" column="1">
975                  <layout class="QHBoxLayout" name="horizontalLayout_14">
976                   <item>
977                    <widget class="QComboBox" name="comboTorrentCategoryChanged">
978                     <item>
979                      <property name="text">
980                       <string>Relocate torrent</string>
981                      </property>
982                     </item>
983                     <item>
984                      <property name="text">
985                       <string>Switch torrent to Manual Mode</string>
986                      </property>
987                     </item>
988                    </widget>
989                   </item>
990                   <item>
991                    <spacer name="horizontalSpacer_17">
992                     <property name="orientation">
993                      <enum>Qt::Horizontal</enum>
994                     </property>
995                     <property name="sizeHint" stdset="0">
996                      <size>
997                       <width>40</width>
998                       <height>20</height>
999                      </size>
1000                     </property>
1001                    </spacer>
1002                   </item>
1003                  </layout>
1004                 </item>
1005                 <item row="2" column="0">
1006                  <widget class="QLabel" name="labelCategoryDefaultPathChanged">
1007                   <property name="text">
1008                    <string>When Default Save Path changed:</string>
1009                   </property>
1010                  </widget>
1011                 </item>
1012                 <item row="2" column="1">
1013                  <layout class="QHBoxLayout" name="horizontalLayout_15">
1014                   <item>
1015                    <widget class="QComboBox" name="comboCategoryDefaultPathChanged">
1016                     <property name="currentIndex">
1017                      <number>1</number>
1018                     </property>
1019                     <item>
1020                      <property name="text">
1021                       <string>Relocate affected torrents</string>
1022                      </property>
1023                     </item>
1024                     <item>
1025                      <property name="text">
1026                       <string>Switch affected torrents to Manual Mode</string>
1027                      </property>
1028                     </item>
1029                    </widget>
1030                   </item>
1031                   <item>
1032                    <spacer name="horizontalSpacer_18">
1033                     <property name="orientation">
1034                      <enum>Qt::Horizontal</enum>
1035                     </property>
1036                     <property name="sizeHint" stdset="0">
1037                      <size>
1038                       <width>40</width>
1039                       <height>20</height>
1040                      </size>
1041                     </property>
1042                    </spacer>
1043                   </item>
1044                  </layout>
1045                 </item>
1046                 <item row="3" column="0">
1047                  <widget class="QLabel" name="labelCategoryChanged">
1048                   <property name="text">
1049                    <string>When Category Save Path changed:</string>
1050                   </property>
1051                  </widget>
1052                 </item>
1053                 <item row="3" column="1">
1054                  <layout class="QHBoxLayout" name="horizontalLayout_17">
1055                   <item>
1056                    <widget class="QComboBox" name="comboCategoryChanged">
1057                     <property name="currentIndex">
1058                      <number>1</number>
1059                     </property>
1060                     <item>
1061                      <property name="text">
1062                       <string>Relocate affected torrents</string>
1063                      </property>
1064                     </item>
1065                     <item>
1066                      <property name="text">
1067                       <string>Switch affected torrents to Manual Mode</string>
1068                      </property>
1069                     </item>
1070                    </widget>
1071                   </item>
1072                   <item>
1073                    <spacer name="horizontalSpacer_19">
1074                     <property name="orientation">
1075                      <enum>Qt::Horizontal</enum>
1076                     </property>
1077                     <property name="sizeHint" stdset="0">
1078                      <size>
1079                       <width>40</width>
1080                       <height>20</height>
1081                      </size>
1082                     </property>
1083                    </spacer>
1084                   </item>
1085                  </layout>
1086                 </item>
1087                </layout>
1088               </item>
1089               <item>
1090                <widget class="QCheckBox" name="checkUseSubcategories">
1091                 <property name="text">
1092                  <string>Use Subcategories</string>
1093                 </property>
1094                </widget>
1095               </item>
1096               <item>
1097                <layout class="QGridLayout" name="gridLayout_4">
1098                 <item row="1" column="1">
1099                  <widget class="FileSystemPathLineEdit" name="textTempPath" native="true"/>
1100                 </item>
1101                 <item row="3" column="0">
1102                  <widget class="QCheckBox" name="checkExportDirFin">
1103                   <property name="text">
1104                    <string>Copy .torrent files for finished downloads to:</string>
1105                   </property>
1106                  </widget>
1107                 </item>
1108                 <item row="0" column="0">
1109                  <widget class="QLabel" name="labelSavePath">
1110                   <property name="text">
1111                    <string>Default Save Path:</string>
1112                   </property>
1113                  </widget>
1114                 </item>
1115                 <item row="2" column="0">
1116                  <widget class="QCheckBox" name="checkExportDir">
1117                   <property name="text">
1118                    <string>Copy .torrent files to:</string>
1119                   </property>
1120                  </widget>
1121                 </item>
1122                 <item row="1" column="0">
1123                  <widget class="QCheckBox" name="checkTempFolder">
1124                   <property name="text">
1125                    <string>Keep incomplete torrents in:</string>
1126                   </property>
1127                  </widget>
1128                 </item>
1129                 <item row="3" column="1">
1130                  <widget class="FileSystemPathLineEdit" name="textExportDirFin" native="true"/>
1131                 </item>
1132                 <item row="0" column="1">
1133                  <widget class="FileSystemPathLineEdit" name="textSavePath" native="true"/>
1134                 </item>
1135                 <item row="2" column="1">
1136                  <widget class="FileSystemPathLineEdit" name="textExportDir" native="true"/>
1137                 </item>
1138                </layout>
1139               </item>
1140              </layout>
1141             </widget>
1142            </item>
1143            <item>
1144             <widget class="QGroupBox" name="groupBox_2">
1145              <property name="title">
1146               <string>Automatically add torrents from:</string>
1147              </property>
1148              <layout class="QVBoxLayout" name="verticalLayout_38">
1149               <item>
1150                <layout class="QHBoxLayout" name="horizontalLayout_16">
1151                 <item>
1152                  <widget class="QTreeView" name="scanFoldersView">
1153                   <property name="sizePolicy">
1154                    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
1155                     <horstretch>0</horstretch>
1156                     <verstretch>1</verstretch>
1157                    </sizepolicy>
1158                   </property>
1159                   <property name="minimumSize">
1160                    <size>
1161                     <width>250</width>
1162                     <height>150</height>
1163                    </size>
1164                   </property>
1165                   <property name="editTriggers">
1166                    <set>QAbstractItemView::AllEditTriggers</set>
1167                   </property>
1168                   <property name="selectionMode">
1169                    <enum>QAbstractItemView::SingleSelection</enum>
1170                   </property>
1171                   <property name="selectionBehavior">
1172                    <enum>QAbstractItemView::SelectRows</enum>
1173                   </property>
1174                   <property name="textElideMode">
1175                    <enum>Qt::ElideNone</enum>
1176                   </property>
1177                   <property name="rootIsDecorated">
1178                    <bool>false</bool>
1179                   </property>
1180                   <attribute name="headerDefaultSectionSize">
1181                    <number>80</number>
1182                   </attribute>
1183                   <attribute name="headerStretchLastSection">
1184                    <bool>false</bool>
1185                   </attribute>
1186                  </widget>
1187                 </item>
1188                 <item>
1189                  <layout class="QVBoxLayout" name="verticalLayout_37">
1190                   <item>
1191                    <widget class="QPushButton" name="addWatchedFolderButton">
1192                     <property name="text">
1193                      <string>Add...</string>
1194                     </property>
1195                    </widget>
1196                   </item>
1197                   <item>
1198                    <widget class="QPushButton" name="editWatchedFolderButton">
1199                     <property name="enabled">
1200                      <bool>false</bool>
1201                     </property>
1202                     <property name="text">
1203                      <string>Options..</string>
1204                     </property>
1205                    </widget>
1206                   </item>
1207                   <item>
1208                    <widget class="QPushButton" name="removeWatchedFolderButton">
1209                     <property name="enabled">
1210                      <bool>false</bool>
1211                     </property>
1212                     <property name="text">
1213                      <string>Remove</string>
1214                     </property>
1215                    </widget>
1216                   </item>
1217                   <item>
1218                    <spacer name="verticalSpacer_6">
1219                     <property name="orientation">
1220                      <enum>Qt::Vertical</enum>
1221                     </property>
1222                     <property name="sizeHint" stdset="0">
1223                      <size>
1224                       <width>20</width>
1225                       <height>40</height>
1226                      </size>
1227                     </property>
1228                    </spacer>
1229                   </item>
1230                  </layout>
1231                 </item>
1232                </layout>
1233               </item>
1234              </layout>
1235             </widget>
1236            </item>
1237            <item>
1238             <widget class="QGroupBox" name="groupMailNotification">
1239              <property name="title">
1240               <string>Email notification &amp;upon download completion</string>
1241              </property>
1242              <property name="checkable">
1243               <bool>true</bool>
1244              </property>
1245              <property name="checked">
1246               <bool>false</bool>
1247              </property>
1248              <layout class="QVBoxLayout" name="verticalLayout_171">
1249               <item>
1250                <layout class="QGridLayout" name="gridLayout_9">
1251                 <item row="1" column="1">
1252                  <widget class="QLineEdit" name="lineEditDestEmail"/>
1253                 </item>
1254                 <item row="1" column="0">
1255                  <widget class="QLabel" name="label_2">
1256                   <property name="toolTip">
1257                    <string>Receiver</string>
1258                   </property>
1259                   <property name="text">
1260                    <string comment="To receiver">To:</string>
1261                   </property>
1262                  </widget>
1263                 </item>
1264                 <item row="2" column="0">
1265                  <widget class="QLabel" name="label_3">
1266                   <property name="text">
1267                    <string>SMTP server:</string>
1268                   </property>
1269                  </widget>
1270                 </item>
1271                 <item row="2" column="1">
1272                  <widget class="QLineEdit" name="lineEditSmtpServer"/>
1273                 </item>
1274                 <item row="0" column="1">
1275                  <widget class="QLineEdit" name="senderEmailTxt"/>
1276                 </item>
1277                 <item row="0" column="0">
1278                  <widget class="QLabel" name="label_25">
1279                   <property name="toolTip">
1280                    <string>Sender</string>
1281                   </property>
1282                   <property name="text">
1283                    <string comment="From sender">From:</string>
1284                   </property>
1285                  </widget>
1286                 </item>
1287                </layout>
1288               </item>
1289               <item>
1290                <widget class="QCheckBox" name="checkSmtpSSL">
1291                 <property name="text">
1292                  <string>This server requires a secure connection (SSL)</string>
1293                 </property>
1294                </widget>
1295               </item>
1296               <item>
1297                <widget class="QGroupBox" name="groupMailNotifAuth">
1298                 <property name="title">
1299                  <string>Authentication</string>
1300                 </property>
1301                 <property name="checkable">
1302                  <bool>true</bool>
1303                 </property>
1304                 <property name="checked">
1305                  <bool>false</bool>
1306                 </property>
1307                 <layout class="QFormLayout" name="formLayout_2">
1308                  <item row="0" column="0">
1309                   <widget class="QLabel" name="label_7">
1310                    <property name="text">
1311                     <string>Username:</string>
1312                    </property>
1313                   </widget>
1314                  </item>
1315                  <item row="0" column="1">
1316                   <widget class="QLineEdit" name="mailNotifUsername"/>
1317                  </item>
1318                  <item row="1" column="0">
1319                   <widget class="QLabel" name="label_8">
1320                    <property name="text">
1321                     <string>Password:</string>
1322                    </property>
1323                   </widget>
1324                  </item>
1325                  <item row="1" column="1">
1326                   <widget class="QLineEdit" name="mailNotifPassword">
1327                    <property name="echoMode">
1328                     <enum>QLineEdit::Password</enum>
1329                    </property>
1330                   </widget>
1331                  </item>
1332                 </layout>
1333                </widget>
1334               </item>
1335              </layout>
1336             </widget>
1337            </item>
1338            <item>
1339             <widget class="QGroupBox" name="autoRunBox">
1340              <property name="title">
1341               <string>Run e&amp;xternal program on torrent completion</string>
1342              </property>
1343              <property name="checkable">
1344               <bool>true</bool>
1345              </property>
1346              <property name="checked">
1347               <bool>false</bool>
1348              </property>
1349              <layout class="QVBoxLayout" name="verticalLayout_19">
1350               <item>
1351                <widget class="QLineEdit" name="lineEditAutoRun"/>
1352               </item>
1353               <item>
1354                <widget class="QCheckBox" name="autoRunConsole">
1355                 <property name="text">
1356                  <string>Show console window</string>
1357                 </property>
1358                </widget>
1359               </item>
1360               <item>
1361                <widget class="QLabel" name="labelAutoRunParam">
1362                 <property name="wordWrap">
1363                  <bool>true</bool>
1364                 </property>
1365                </widget>
1366               </item>
1367              </layout>
1368             </widget>
1369            </item>
1370           </layout>
1371          </widget>
1372         </widget>
1373        </item>
1374       </layout>
1375      </widget>
1376      <widget class="QWidget" name="tabConnectionPage">
1377       <layout class="QVBoxLayout" name="verticalLayout_6">
1378        <property name="leftMargin">
1379         <number>0</number>
1380        </property>
1381        <property name="topMargin">
1382         <number>0</number>
1383        </property>
1384        <property name="rightMargin">
1385         <number>0</number>
1386        </property>
1387        <property name="bottomMargin">
1388         <number>0</number>
1389        </property>
1390        <item>
1391         <widget class="QScrollArea" name="scrollArea_3">
1392          <property name="widgetResizable">
1393           <bool>true</bool>
1394          </property>
1395          <widget class="QWidget" name="scrollAreaWidgetContents_3">
1396           <property name="geometry">
1397            <rect>
1398             <x>0</x>
1399             <y>0</y>
1400             <width>501</width>
1401             <height>745</height>
1402            </rect>
1403           </property>
1404           <layout class="QVBoxLayout" name="verticalLayout_20">
1405            <item>
1406             <layout class="QHBoxLayout" name="horizontalLayout_12">
1407              <item>
1408               <widget class="QLabel" name="label_24">
1409                <property name="text">
1410                 <string>Peer connection protocol:</string>
1411                </property>
1412               </widget>
1413              </item>
1414              <item>
1415               <widget class="QComboBox" name="comboProtocol">
1416                <item>
1417                 <property name="text">
1418                  <string>TCP and μTP</string>
1419                 </property>
1420                </item>
1421                <item>
1422                 <property name="text">
1423                  <string notr="true">TCP</string>
1424                 </property>
1425                </item>
1426                <item>
1427                 <property name="text">
1428                  <string notr="true">μTP</string>
1429                 </property>
1430                </item>
1431               </widget>
1432              </item>
1433              <item>
1434               <spacer name="horizontalSpacer_23">
1435                <property name="orientation">
1436                 <enum>Qt::Horizontal</enum>
1437                </property>
1438                <property name="sizeHint" stdset="0">
1439                 <size>
1440                  <width>40</width>
1441                  <height>20</height>
1442                 </size>
1443                </property>
1444               </spacer>
1445              </item>
1446             </layout>
1447            </item>
1448            <item>
1449             <widget class="QGroupBox" name="ListeningPortBox">
1450              <property name="title">
1451               <string>Listening Port</string>
1452              </property>
1453              <layout class="QVBoxLayout" name="listeningPortLayout">
1454               <item>
1455                <layout class="QHBoxLayout" name="listeningPortLayout2">
1456                 <item>
1457                  <widget class="QLabel" name="lbl_ports">
1458                   <property name="text">
1459                    <string>Port used for incoming connections:</string>
1460                   </property>
1461                  </widget>
1462                 </item>
1463                 <item>
1464                  <widget class="QSpinBox" name="spinPort">
1465                   <property name="minimum">
1466                    <number>1</number>
1467                   </property>
1468                   <property name="maximum">
1469                    <number>65535</number>
1470                   </property>
1471                   <property name="value">
1472                    <number>8999</number>
1473                   </property>
1474                  </widget>
1475                 </item>
1476                 <item>
1477                  <widget class="QPushButton" name="randomButton">
1478                   <property name="text">
1479                    <string>Random</string>
1480                   </property>
1481                  </widget>
1482                 </item>
1483                 <item>
1484                  <spacer name="horizontalSpacer_4">
1485                   <property name="orientation">
1486                    <enum>Qt::Horizontal</enum>
1487                   </property>
1488                   <property name="sizeHint" stdset="0">
1489                    <size>
1490                     <width>40</width>
1491                     <height>20</height>
1492                    </size>
1493                   </property>
1494                  </spacer>
1495                 </item>
1496                </layout>
1497               </item>
1498               <item>
1499                <widget class="QCheckBox" name="checkUPnP">
1500                 <property name="text">
1501                  <string>Use UPnP / NAT-PMP port forwarding from my router</string>
1502                 </property>
1503                 <property name="checked">
1504                  <bool>true</bool>
1505                 </property>
1506                </widget>
1507               </item>
1508               <item>
1509                <widget class="QCheckBox" name="checkRandomPort">
1510                 <property name="text">
1511                  <string>Use different port on each startup</string>
1512                 </property>
1513                </widget>
1514               </item>
1515              </layout>
1516             </widget>
1517            </item>
1518            <item>
1519             <widget class="QGroupBox" name="nbConnecBox">
1520              <property name="title">
1521               <string>Connections Limits</string>
1522              </property>
1523              <layout class="QGridLayout" name="gridLayout">
1524               <item row="3" column="1">
1525                <widget class="QSpinBox" name="spinMaxUploadsPerTorrent">
1526                 <property name="maximum">
1527                  <number>500</number>
1528                 </property>
1529                 <property name="value">
1530                  <number>4</number>
1531                 </property>
1532                </widget>
1533               </item>
1534               <item row="1" column="0">
1535                <widget class="QCheckBox" name="checkMaxConnecsPerTorrent">
1536                 <property name="text">
1537                  <string>Maximum number of connections per torrent:</string>
1538                 </property>
1539                 <property name="checked">
1540                  <bool>true</bool>
1541                 </property>
1542                </widget>
1543               </item>
1544               <item row="0" column="0">
1545                <widget class="QCheckBox" name="checkMaxConnecs">
1546                 <property name="text">
1547                  <string>Global maximum number of connections:</string>
1548                 </property>
1549                 <property name="checked">
1550                  <bool>true</bool>
1551                 </property>
1552                </widget>
1553               </item>
1554               <item row="0" column="1">
1555                <widget class="QSpinBox" name="spinMaxConnec">
1556                 <property name="enabled">
1557                  <bool>true</bool>
1558                 </property>
1559                 <property name="minimum">
1560                  <number>2</number>
1561                 </property>
1562                 <property name="maximum">
1563                  <number>2000</number>
1564                 </property>
1565                 <property name="value">
1566                  <number>500</number>
1567                 </property>
1568                </widget>
1569               </item>
1570               <item row="1" column="1">
1571                <widget class="QSpinBox" name="spinMaxConnecPerTorrent">
1572                 <property name="minimum">
1573                  <number>2</number>
1574                 </property>
1575                 <property name="maximum">
1576                  <number>2000</number>
1577                 </property>
1578                 <property name="value">
1579                  <number>100</number>
1580                 </property>
1581                </widget>
1582               </item>
1583               <item row="3" column="0">
1584                <widget class="QCheckBox" name="checkMaxUploadsPerTorrent">
1585                 <property name="text">
1586                  <string>Maximum number of upload slots per torrent:</string>
1587                 </property>
1588                </widget>
1589               </item>
1590               <item row="2" column="0">
1591                <widget class="QCheckBox" name="checkMaxUploads">
1592                 <property name="text">
1593                  <string>Global maximum number of upload slots:</string>
1594                 </property>
1595                </widget>
1596               </item>
1597               <item row="2" column="1">
1598                <widget class="QSpinBox" name="spinMaxUploads">
1599                 <property name="maximum">
1600                  <number>2000</number>
1601                 </property>
1602                 <property name="value">
1603                  <number>8</number>
1604                 </property>
1605                </widget>
1606               </item>
1607               <item row="0" column="2">
1608                <spacer name="horizontalSpacer_3">
1609                 <property name="orientation">
1610                  <enum>Qt::Horizontal</enum>
1611                 </property>
1612                 <property name="sizeHint" stdset="0">
1613                  <size>
1614                   <width>40</width>
1615                   <height>20</height>
1616                  </size>
1617                 </property>
1618                </spacer>
1619               </item>
1620              </layout>
1621             </widget>
1622            </item>
1623            <item>
1624             <widget class="QGroupBox" name="groupProxy">
1625              <property name="enabled">
1626               <bool>true</bool>
1627              </property>
1628              <property name="title">
1629               <string>Proxy Server</string>
1630              </property>
1631              <layout class="QVBoxLayout" name="verticalLayout_29">
1632               <item>
1633                <layout class="QHBoxLayout" name="proxyTypeLayout">
1634                 <item>
1635                  <widget class="QLabel" name="ProxyType_lbl">
1636                   <property name="text">
1637                    <string>Type:</string>
1638                   </property>
1639                  </widget>
1640                 </item>
1641                 <item>
1642                  <widget class="QComboBox" name="comboProxyType">
1643                   <item>
1644                    <property name="text">
1645                     <string>(None)</string>
1646                    </property>
1647                   </item>
1648                   <item>
1649                    <property name="text">
1650                     <string>SOCKS4</string>
1651                    </property>
1652                   </item>
1653                   <item>
1654                    <property name="text">
1655                     <string>SOCKS5</string>
1656                    </property>
1657                   </item>
1658                   <item>
1659                    <property name="text">
1660                     <string>HTTP</string>
1661                    </property>
1662                   </item>
1663                  </widget>
1664                 </item>
1665                 <item>
1666                  <widget class="QLabel" name="lblProxyIP">
1667                   <property name="enabled">
1668                    <bool>false</bool>
1669                   </property>
1670                   <property name="text">
1671                    <string>Host:</string>
1672                   </property>
1673                  </widget>
1674                 </item>
1675                 <item>
1676                  <widget class="QLineEdit" name="textProxyIP">
1677                   <property name="enabled">
1678                    <bool>false</bool>
1679                   </property>
1680                  </widget>
1681                 </item>
1682                 <item>
1683                  <widget class="QLabel" name="lblProxyPort">
1684                   <property name="enabled">
1685                    <bool>false</bool>
1686                   </property>
1687                   <property name="text">
1688                    <string>Port:</string>
1689                   </property>
1690                  </widget>
1691                 </item>
1692                 <item>
1693                  <widget class="QSpinBox" name="spinProxyPort">
1694                   <property name="enabled">
1695                    <bool>false</bool>
1696                   </property>
1697                   <property name="minimum">
1698                    <number>1</number>
1699                   </property>
1700                   <property name="maximum">
1701                    <number>65535</number>
1702                   </property>
1703                   <property name="value">
1704                    <number>8080</number>
1705                   </property>
1706                  </widget>
1707                 </item>
1708                </layout>
1709               </item>
1710               <item>
1711                <widget class="QCheckBox" name="checkProxyPeerConnecs">
1712                 <property name="enabled">
1713                  <bool>false</bool>
1714                 </property>
1715                 <property name="toolTip">
1716                  <string>Otherwise, the proxy server is only used for tracker connections</string>
1717                 </property>
1718                 <property name="text">
1719                  <string>Use proxy for peer connections</string>
1720                 </property>
1721                </widget>
1722               </item>
1723               <item>
1724                <widget class="QCheckBox" name="isProxyOnlyForTorrents">
1725                 <property name="toolTip">
1726                  <string>RSS feeds, search engine, software updates or anything else other than torrent transfers and related operations (such as peer exchanges) will use a direct connection</string>
1727                 </property>
1728                 <property name="text">
1729                  <string>Use proxy only for torrents</string>
1730                 </property>
1731                 <property name="checked">
1732                  <bool>false</bool>
1733                 </property>
1734                </widget>
1735               </item>
1736               <item>
1737                <widget class="QGroupBox" name="checkProxyAuth">
1738                 <property name="enabled">
1739                  <bool>false</bool>
1740                 </property>
1741                 <property name="title">
1742                  <string>A&amp;uthentication</string>
1743                 </property>
1744                 <property name="checkable">
1745                  <bool>true</bool>
1746                 </property>
1747                 <property name="checked">
1748                  <bool>false</bool>
1749                 </property>
1750                 <layout class="QVBoxLayout" name="verticalLayout_24">
1751                  <item>
1752                   <layout class="QGridLayout" name="gridLayout_12">
1753                    <item row="0" column="0">
1754                     <widget class="QLabel" name="lblProxyUsername">
1755                      <property name="text">
1756                       <string>Username:</string>
1757                      </property>
1758                     </widget>
1759                    </item>
1760                    <item row="0" column="1">
1761                     <widget class="QLineEdit" name="textProxyUsername"/>
1762                    </item>
1763                    <item row="1" column="0">
1764                     <widget class="QLabel" name="lblProxyPassword">
1765                      <property name="text">
1766                       <string>Password:</string>
1767                      </property>
1768                     </widget>
1769                    </item>
1770                    <item row="1" column="1">
1771                     <widget class="QLineEdit" name="textProxyPassword">
1772                      <property name="echoMode">
1773                       <enum>QLineEdit::Password</enum>
1774                      </property>
1775                     </widget>
1776                    </item>
1777                   </layout>
1778                  </item>
1779                  <item>
1780                   <widget class="QLabel" name="label_23">
1781                    <property name="text">
1782                     <string>Info: The password is saved unencrypted</string>
1783                    </property>
1784                   </widget>
1785                  </item>
1786                 </layout>
1787                </widget>
1788               </item>
1789              </layout>
1790             </widget>
1791            </item>
1792            <item>
1793             <widget class="QGroupBox" name="groupIPFilter">
1794              <property name="title">
1795               <string>IP Fi&amp;ltering</string>
1796              </property>
1797              <layout class="QVBoxLayout" name="verticalLayout_17">
1798               <item>
1799                <layout class="QHBoxLayout" name="horizontalLayout_11">
1800                 <item>
1801                  <widget class="QCheckBox" name="checkIPFilter">
1802                   <property name="text">
1803                    <string>Filter path (.dat, .p2p, .p2b):</string>
1804                   </property>
1805                  </widget>
1806                 </item>
1807                 <item>
1808                  <widget class="FileSystemPathLineEdit" name="textFilterPath" native="true"/>
1809                 </item>
1810                 <item>
1811                  <widget class="QToolButton" name="IpFilterRefreshBtn">
1812                   <property name="minimumSize">
1813                    <size>
1814                     <width>0</width>
1815                     <height>25</height>
1816                    </size>
1817                   </property>
1818                   <property name="toolTip">
1819                    <string>Reload the filter</string>
1820                   </property>
1821                  </widget>
1822                 </item>
1823                </layout>
1824               </item>
1825               <item>
1826                <widget class="QPushButton" name="banListButton">
1827                 <property name="sizePolicy">
1828                  <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
1829                   <horstretch>0</horstretch>
1830                   <verstretch>0</verstretch>
1831                  </sizepolicy>
1832                 </property>
1833                 <property name="text">
1834                  <string>Manually banned IP addresses...</string>
1835                 </property>
1836                </widget>
1837               </item>
1838               <item>
1839                <widget class="QCheckBox" name="checkIpFilterTrackers">
1840                 <property name="text">
1841                  <string>Apply to trackers</string>
1842                 </property>
1843                </widget>
1844               </item>
1845              </layout>
1846             </widget>
1847            </item>
1848            <item>
1849             <spacer name="verticalSpacer_3">
1850              <property name="orientation">
1851               <enum>Qt::Vertical</enum>
1852              </property>
1853              <property name="sizeHint" stdset="0">
1854               <size>
1855                <width>20</width>
1856                <height>40</height>
1857               </size>
1858              </property>
1859             </spacer>
1860            </item>
1861           </layout>
1862          </widget>
1863         </widget>
1864        </item>
1865       </layout>
1866      </widget>
1867      <widget class="QWidget" name="tabSpeedPage">
1868       <layout class="QVBoxLayout" name="verticalLayout_34">
1869        <property name="leftMargin">
1870         <number>0</number>
1871        </property>
1872        <property name="topMargin">
1873         <number>0</number>
1874        </property>
1875        <property name="rightMargin">
1876         <number>0</number>
1877        </property>
1878        <property name="bottomMargin">
1879         <number>0</number>
1880        </property>
1881        <item>
1882         <widget class="QScrollArea" name="scrollArea_9">
1883          <property name="widgetResizable">
1884           <bool>true</bool>
1885          </property>
1886          <widget class="QWidget" name="scrollAreaWidgetContents_9">
1887           <property name="geometry">
1888            <rect>
1889             <x>0</x>
1890             <y>0</y>
1891             <width>516</width>
1892             <height>525</height>
1893            </rect>
1894           </property>
1895           <layout class="QVBoxLayout" name="verticalLayout_5">
1896            <item>
1897             <widget class="QGroupBox" name="rateLimitBox">
1898              <property name="title">
1899               <string>Global Rate Limits</string>
1900              </property>
1901              <layout class="QGridLayout" name="rateLimitBoxLayout">
1902               <item row="0" column="2">
1903                <widget class="QSpinBox" name="spinUploadLimit">
1904                 <property name="specialValueText">
1905                  <string>∞</string>
1906                 </property>
1907                 <property name="suffix">
1908                  <string> KiB/s</string>
1909                 </property>
1910                 <property name="maximum">
1911                  <number>2000000</number>
1912                 </property>
1913                 <property name="value">
1914                  <number>100</number>
1915                 </property>
1916                </widget>
1917               </item>
1918               <item row="1" column="2">
1919                <widget class="QSpinBox" name="spinDownloadLimit">
1920                 <property name="specialValueText">
1921                  <string>∞</string>
1922                 </property>
1923                 <property name="suffix">
1924                  <string> KiB/s</string>
1925                 </property>
1926                 <property name="maximum">
1927                  <number>2000000</number>
1928                 </property>
1929                 <property name="value">
1930                  <number>100</number>
1931                 </property>
1932                </widget>
1933               </item>
1934               <item row="0" column="0" rowspan="2">
1935                <widget class="QLabel" name="labelGlobalRate"/>
1936               </item>
1937               <item row="0" column="3">
1938                <spacer name="horizontalSpacer">
1939                 <property name="orientation">
1940                  <enum>Qt::Horizontal</enum>
1941                 </property>
1942                 <property name="sizeHint" stdset="0">
1943                  <size>
1944                   <width>40</width>
1945                   <height>20</height>
1946                  </size>
1947                 </property>
1948                </spacer>
1949               </item>
1950               <item row="0" column="1">
1951                <widget class="QLabel" name="label_10">
1952                 <property name="text">
1953                  <string>Upload:</string>
1954                 </property>
1955                </widget>
1956               </item>
1957               <item row="1" column="1">
1958                <widget class="QLabel" name="label_11">
1959                 <property name="text">
1960                  <string>Download:</string>
1961                 </property>
1962                </widget>
1963               </item>
1964              </layout>
1965             </widget>
1966            </item>
1967            <item>
1968             <widget class="QGroupBox" name="altRateLimitBox">
1969              <property name="title">
1970               <string>Alternative Rate Limits</string>
1971              </property>
1972              <layout class="QGridLayout" name="gridLayout_6">
1973               <item row="1" column="2">
1974                <widget class="QSpinBox" name="spinDownloadLimitAlt">
1975                 <property name="specialValueText">
1976                  <string>∞</string>
1977                 </property>
1978                 <property name="suffix">
1979                  <string> KiB/s</string>
1980                 </property>
1981                 <property name="maximum">
1982                  <number>2000000</number>
1983                 </property>
1984                 <property name="value">
1985                  <number>10</number>
1986                 </property>
1987                </widget>
1988               </item>
1989               <item row="0" column="0" rowspan="2">
1990                <widget class="QLabel" name="labelAltRate"/>
1991               </item>
1992               <item row="2" column="0" colspan="4">
1993                <widget class="QGroupBox" name="groupBoxSchedule">
1994                 <property name="title">
1995                  <string>Schedule &amp;the use of alternative rate limits</string>
1996                 </property>
1997                 <property name="checkable">
1998                  <bool>true</bool>
1999                 </property>
2000                 <property name="checked">
2001                  <bool>false</bool>
2002                 </property>
2003                 <layout class="QGridLayout" name="gridLayout_7">
2004                  <item row="0" column="0">
2005                   <widget class="QLabel" name="label_6">
2006                    <property name="toolTip">
2007                     <string>Start time</string>
2008                    </property>
2009                    <property name="text">
2010                     <string comment="From start time">From:</string>
2011                    </property>
2012                   </widget>
2013                  </item>
2014                  <item row="0" column="3">
2015                   <widget class="QTimeEdit" name="timeEditScheduleTo">
2016                    <property name="wrapping">
2017                     <bool>true</bool>
2018                    </property>
2019                    <property name="displayFormat">
2020                     <string notr="true">hh:mm</string>
2021                    </property>
2022                    <property name="time">
2023                     <time>
2024                      <hour>20</hour>
2025                      <minute>0</minute>
2026                      <second>0</second>
2027                     </time>
2028                    </property>
2029                   </widget>
2030                  </item>
2031                  <item row="0" column="2">
2032                   <widget class="QLabel" name="label_17">
2033                    <property name="toolTip">
2034                     <string>End time</string>
2035                    </property>
2036                    <property name="text">
2037                     <string comment="To end time">To:</string>
2038                    </property>
2039                   </widget>
2040                  </item>
2041                  <item row="0" column="1">
2042                   <widget class="QTimeEdit" name="timeEditScheduleFrom">
2043                    <property name="wrapping">
2044                     <bool>true</bool>
2045                    </property>
2046                    <property name="displayFormat">
2047                     <string notr="true">hh:mm</string>
2048                    </property>
2049                    <property name="calendarPopup">
2050                     <bool>false</bool>
2051                    </property>
2052                    <property name="time">
2053                     <time>
2054                      <hour>8</hour>
2055                      <minute>0</minute>
2056                      <second>0</second>
2057                     </time>
2058                    </property>
2059                   </widget>
2060                  </item>
2061                  <item row="1" column="0">
2062                   <widget class="QLabel" name="label_18">
2063                    <property name="text">
2064                     <string>When:</string>
2065                    </property>
2066                   </widget>
2067                  </item>
2068                  <item row="1" column="1" colspan="3">
2069                   <widget class="QComboBox" name="comboBoxScheduleDays">
2070                    <property name="sizePolicy">
2071                     <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
2072                      <horstretch>0</horstretch>
2073                      <verstretch>0</verstretch>
2074                     </sizepolicy>
2075                    </property>
2076                    <item>
2077                     <property name="text">
2078                      <string>Every day</string>
2079                     </property>
2080                    </item>
2081                    <item>
2082                     <property name="text">
2083                      <string>Weekdays</string>
2084                     </property>
2085                    </item>
2086                    <item>
2087                     <property name="text">
2088                      <string>Weekends</string>
2089                     </property>
2090                    </item>
2091                   </widget>
2092                  </item>
2093                  <item row="0" column="4">
2094                   <spacer name="horizontalSpacer_8">
2095                    <property name="orientation">
2096                     <enum>Qt::Horizontal</enum>
2097                    </property>
2098                    <property name="sizeHint" stdset="0">
2099                     <size>
2100                      <width>40</width>
2101                      <height>20</height>
2102                     </size>
2103                    </property>
2104                   </spacer>
2105                  </item>
2106                 </layout>
2107                </widget>
2108               </item>
2109               <item row="0" column="2">
2110                <widget class="QSpinBox" name="spinUploadLimitAlt">
2111                 <property name="specialValueText">
2112                  <string>∞</string>
2113                 </property>
2114                 <property name="suffix">
2115                  <string> KiB/s</string>
2116                 </property>
2117                 <property name="maximum">
2118                  <number>2000000</number>
2119                 </property>
2120                 <property name="value">
2121                  <number>10</number>
2122                 </property>
2123                </widget>
2124               </item>
2125               <item row="0" column="3">
2126                <spacer name="horizontalSpacer_5">
2127                 <property name="orientation">
2128                  <enum>Qt::Horizontal</enum>
2129                 </property>
2130                 <property name="sizeHint" stdset="0">
2131                  <size>
2132                   <width>40</width>
2133                   <height>20</height>
2134                  </size>
2135                 </property>
2136                </spacer>
2137               </item>
2138               <item row="0" column="1">
2139                <widget class="QLabel" name="label_13">
2140                 <property name="text">
2141                  <string>Upload:</string>
2142                 </property>
2143                </widget>
2144               </item>
2145               <item row="1" column="1">
2146                <widget class="QLabel" name="label_14">
2147                 <property name="text">
2148                  <string>Download:</string>
2149                 </property>
2150                </widget>
2151               </item>
2152              </layout>
2153             </widget>
2154            </item>
2155            <item>
2156             <widget class="QGroupBox" name="rateLimitsGroupBox">
2157              <property name="title">
2158               <string>Rate Limits Settings</string>
2159              </property>
2160              <layout class="QVBoxLayout" name="verticalLayout_30">
2161               <item>
2162                <widget class="QCheckBox" name="checkLimituTPConnections">
2163                 <property name="text">
2164                  <string>Apply rate limit to µTP protocol</string>
2165                 </property>
2166                </widget>
2167               </item>
2168               <item>
2169                <widget class="QCheckBox" name="checkLimitTransportOverhead">
2170                 <property name="text">
2171                  <string>Apply rate limit to transport overhead</string>
2172                 </property>
2173                </widget>
2174               </item>
2175               <item>
2176                <widget class="QCheckBox" name="checkLimitLocalPeerRate">
2177                 <property name="text">
2178                  <string>Apply rate limit to peers on LAN</string>
2179                 </property>
2180                </widget>
2181               </item>
2182              </layout>
2183             </widget>
2184            </item>
2185            <item>
2186             <spacer name="verticalSpacer_2">
2187              <property name="orientation">
2188               <enum>Qt::Vertical</enum>
2189              </property>
2190              <property name="sizeHint" stdset="0">
2191               <size>
2192                <width>20</width>
2193                <height>40</height>
2194               </size>
2195              </property>
2196             </spacer>
2197            </item>
2198           </layout>
2199          </widget>
2200         </widget>
2201        </item>
2202       </layout>
2203      </widget>
2204      <widget class="QWidget" name="tabBitTorrentPage">
2205       <layout class="QVBoxLayout" name="verticalLayout_15">
2206        <property name="leftMargin">
2207         <number>0</number>
2208        </property>
2209        <property name="topMargin">
2210         <number>0</number>
2211        </property>
2212        <property name="rightMargin">
2213         <number>0</number>
2214        </property>
2215        <property name="bottomMargin">
2216         <number>0</number>
2217        </property>
2218        <item>
2219         <widget class="QScrollArea" name="scrollArea_4">
2220          <property name="widgetResizable">
2221           <bool>true</bool>
2222          </property>
2223          <widget class="QWidget" name="scrollAreaWidgetContents_4">
2224           <property name="geometry">
2225            <rect>
2226             <x>0</x>
2227             <y>0</y>
2228             <width>513</width>
2229             <height>679</height>
2230            </rect>
2231           </property>
2232           <layout class="QVBoxLayout" name="verticalLayout_7">
2233            <item>
2234             <widget class="QGroupBox" name="AddBTFeaturesBox">
2235              <property name="title">
2236               <string>Privacy</string>
2237              </property>
2238              <layout class="QVBoxLayout" name="verticalLayout_14">
2239               <item>
2240                <widget class="QCheckBox" name="checkDHT">
2241                 <property name="toolTip">
2242                  <string>Find peers on the DHT network</string>
2243                 </property>
2244                 <property name="text">
2245                  <string>Enable DHT (decentralized network) to find more peers</string>
2246                 </property>
2247                 <property name="checked">
2248                  <bool>true</bool>
2249                 </property>
2250                </widget>
2251               </item>
2252               <item>
2253                <widget class="QCheckBox" name="checkPeX">
2254                 <property name="toolTip">
2255                  <string>Exchange peers with compatible Bittorrent clients (µTorrent, Vuze, ...)</string>
2256                 </property>
2257                 <property name="text">
2258                  <string>Enable Peer Exchange (PeX) to find more peers</string>
2259                 </property>
2260                 <property name="checked">
2261                  <bool>true</bool>
2262                 </property>
2263                </widget>
2264               </item>
2265               <item>
2266                <widget class="QCheckBox" name="checkLSD">
2267                 <property name="toolTip">
2268                  <string>Look for peers on your local network</string>
2269                 </property>
2270                 <property name="text">
2271                  <string>Enable Local Peer Discovery to find more peers</string>
2272                 </property>
2273                 <property name="checked">
2274                  <bool>true</bool>
2275                 </property>
2276                </widget>
2277               </item>
2278               <item>
2279                <layout class="QHBoxLayout">
2280                 <item>
2281                  <widget class="QLabel" name="lbl_encryption">
2282                   <property name="text">
2283                    <string>Encryption mode:</string>
2284                   </property>
2285                  </widget>
2286                 </item>
2287                 <item>
2288                  <widget class="QComboBox" name="comboEncryption">
2289                   <property name="toolTip">
2290                    <string>Allow encryption: Connect to peers regardless of setting
2291Require encryption: Only connect to peers with protocol encryption
2292Disable encryption: Only connect to peers without protocol encryption</string>
2293                   </property>
2294                   <item>
2295                    <property name="text">
2296                     <string>Allow encryption</string>
2297                    </property>
2298                   </item>
2299                   <item>
2300                    <property name="text">
2301                     <string>Require encryption</string>
2302                    </property>
2303                   </item>
2304                   <item>
2305                    <property name="text">
2306                     <string>Disable encryption</string>
2307                    </property>
2308                   </item>
2309                  </widget>
2310                 </item>
2311                 <item>
2312                  <spacer>
2313                   <property name="orientation">
2314                    <enum>Qt::Horizontal</enum>
2315                   </property>
2316                   <property name="sizeHint" stdset="0">
2317                    <size>
2318                     <width>40</width>
2319                     <height>20</height>
2320                    </size>
2321                   </property>
2322                  </spacer>
2323                 </item>
2324                </layout>
2325               </item>
2326               <item>
2327                <layout class="QHBoxLayout" name="horizontalLayout_6">
2328                 <item>
2329                  <widget class="QCheckBox" name="checkAnonymousMode">
2330                   <property name="toolTip">
2331                    <string>Enable when using a proxy or a VPN connection</string>
2332                   </property>
2333                   <property name="text">
2334                    <string>Enable anonymous mode</string>
2335                   </property>
2336                  </widget>
2337                 </item>
2338                 <item>
2339                  <widget class="QLabel" name="label_anonymous">
2340                   <property name="text">
2341                    <string>(&lt;a href=&quot;https://github.com/qbittorrent/qBittorrent/wiki/Anonymous-Mode&quot;&gt;More information&lt;/a&gt;)</string>
2342                   </property>
2343                   <property name="openExternalLinks">
2344                    <bool>true</bool>
2345                   </property>
2346                  </widget>
2347                 </item>
2348                 <item>
2349                  <spacer name="horizontalSpacer_14">
2350                   <property name="orientation">
2351                    <enum>Qt::Horizontal</enum>
2352                   </property>
2353                   <property name="sizeHint" stdset="0">
2354                    <size>
2355                     <width>40</width>
2356                     <height>20</height>
2357                    </size>
2358                   </property>
2359                  </spacer>
2360                 </item>
2361                </layout>
2362               </item>
2363              </layout>
2364             </widget>
2365            </item>
2366            <item>
2367             <widget class="QGroupBox" name="checkEnableQueueing">
2368              <property name="title">
2369               <string>&amp;Torrent Queueing</string>
2370              </property>
2371              <property name="checkable">
2372               <bool>true</bool>
2373              </property>
2374              <property name="checked">
2375               <bool>false</bool>
2376              </property>
2377              <layout class="QGridLayout" name="gridLayout_2">
2378               <item row="0" column="0">
2379                <widget class="QLabel" name="label_max_active_dl">
2380                 <property name="text">
2381                  <string>Maximum active downloads:</string>
2382                 </property>
2383                </widget>
2384               </item>
2385               <item row="0" column="1">
2386                <widget class="QSpinBox" name="spinMaxActiveDownloads">
2387                 <property name="specialValueText">
2388                  <string>∞</string>
2389                 </property>
2390                 <property name="minimum">
2391                  <number>-1</number>
2392                 </property>
2393                 <property name="maximum">
2394                  <number>999</number>
2395                 </property>
2396                 <property name="value">
2397                  <number>3</number>
2398                 </property>
2399                </widget>
2400               </item>
2401               <item row="1" column="0">
2402                <widget class="QLabel" name="label_max_active_up">
2403                 <property name="text">
2404                  <string>Maximum active uploads:</string>
2405                 </property>
2406                </widget>
2407               </item>
2408               <item row="1" column="1">
2409                <widget class="QSpinBox" name="spinMaxActiveUploads">
2410                 <property name="specialValueText">
2411                  <string>∞</string>
2412                 </property>
2413                 <property name="minimum">
2414                  <number>-1</number>
2415                 </property>
2416                 <property name="maximum">
2417                  <number>999</number>
2418                 </property>
2419                 <property name="value">
2420                  <number>3</number>
2421                 </property>
2422                </widget>
2423               </item>
2424               <item row="2" column="0">
2425                <widget class="QLabel" name="maxActiveTorrents_lbl">
2426                 <property name="text">
2427                  <string>Maximum active torrents:</string>
2428                 </property>
2429                </widget>
2430               </item>
2431               <item row="2" column="1">
2432                <widget class="QSpinBox" name="spinMaxActiveTorrents">
2433                 <property name="specialValueText">
2434                  <string>∞</string>
2435                 </property>
2436                 <property name="minimum">
2437                  <number>-1</number>
2438                 </property>
2439                 <property name="maximum">
2440                  <number>999</number>
2441                 </property>
2442                 <property name="value">
2443                  <number>5</number>
2444                 </property>
2445                </widget>
2446               </item>
2447               <item row="0" column="2">
2448                <spacer name="horizontalSpacer_7">
2449                 <property name="orientation">
2450                  <enum>Qt::Horizontal</enum>
2451                 </property>
2452                 <property name="sizeHint" stdset="0">
2453                  <size>
2454                   <width>40</width>
2455                   <height>20</height>
2456                  </size>
2457                 </property>
2458                </spacer>
2459               </item>
2460               <item row="3" column="0" colspan="3">
2461                <widget class="QGroupBox" name="checkIgnoreSlowTorrentsForQueueing">
2462                 <property name="title">
2463                  <string>Do not count slow torrents in these limits</string>
2464                 </property>
2465                 <property name="checkable">
2466                  <bool>true</bool>
2467                 </property>
2468                 <property name="checked">
2469                  <bool>false</bool>
2470                 </property>
2471                 <layout class="QGridLayout" name="gridLayout_13">
2472                  <item row="0" column="1">
2473                   <widget class="QSpinBox" name="spinDownloadRateForSlowTorrents">
2474                    <property name="suffix">
2475                     <string> KiB/s</string>
2476                    </property>
2477                    <property name="maximum">
2478                     <number>2000000</number>
2479                    </property>
2480                    <property name="value">
2481                     <number>2</number>
2482                    </property>
2483                   </widget>
2484                  </item>
2485                  <item row="1" column="1">
2486                   <widget class="QSpinBox" name="spinUploadRateForSlowTorrents">
2487                    <property name="suffix">
2488                     <string> KiB/s</string>
2489                    </property>
2490                    <property name="maximum">
2491                     <number>2000000</number>
2492                    </property>
2493                    <property name="value">
2494                     <number>2</number>
2495                    </property>
2496                   </widget>
2497                  </item>
2498                  <item row="1" column="0">
2499                   <widget class="QLabel" name="labelUploadRateForSlowTorrents">
2500                    <property name="text">
2501                     <string>Upload rate threshold:</string>
2502                    </property>
2503                   </widget>
2504                  </item>
2505                  <item row="0" column="0">
2506                   <widget class="QLabel" name="labelDownloadRateForSlowTorrents">
2507                    <property name="text">
2508                     <string>Download rate threshold:</string>
2509                    </property>
2510                   </widget>
2511                  </item>
2512                  <item row="0" column="2">
2513                   <spacer name="horizontalSpacer_9">
2514                    <property name="orientation">
2515                     <enum>Qt::Horizontal</enum>
2516                    </property>
2517                    <property name="sizeHint" stdset="0">
2518                     <size>
2519                      <width>40</width>
2520                      <height>20</height>
2521                     </size>
2522                    </property>
2523                   </spacer>
2524                  </item>
2525                  <item row="2" column="1">
2526                   <widget class="QSpinBox" name="spinSlowTorrentsInactivityTimer">
2527                    <property name="suffix">
2528                     <string extracomment="seconds"> sec</string>
2529                    </property>
2530                    <property name="minimum">
2531                     <number>1</number>
2532                    </property>
2533                    <property name="maximum">
2534                     <number>999999</number>
2535                    </property>
2536                    <property name="value">
2537                     <number>60</number>
2538                    </property>
2539                   </widget>
2540                  </item>
2541                  <item row="2" column="0">
2542                   <widget class="QLabel" name="labelSlowTorrentInactivityTimer">
2543                    <property name="text">
2544                     <string>Torrent inactivity timer:</string>
2545                    </property>
2546                   </widget>
2547                  </item>
2548                 </layout>
2549                </widget>
2550               </item>
2551              </layout>
2552             </widget>
2553            </item>
2554            <item>
2555             <widget class="QGroupBox" name="seedingLimitsBox">
2556              <property name="title">
2557               <string>Seeding Limits</string>
2558              </property>
2559              <layout class="QGridLayout" name="gridLayout_91">
2560               <item row="2" column="1">
2561                <widget class="QSpinBox" name="spinMaxSeedingMinutes">
2562                 <property name="enabled">
2563                  <bool>false</bool>
2564                 </property>
2565                 <property name="suffix">
2566                  <string extracomment="minutes"> min</string>
2567                 </property>
2568                 <property name="maximum">
2569                  <number>9999999</number>
2570                 </property>
2571                 <property name="value">
2572                  <number>1440</number>
2573                 </property>
2574                </widget>
2575               </item>
2576               <item row="2" column="0">
2577                <widget class="QCheckBox" name="checkMaxSeedingMinutes">
2578                 <property name="text">
2579                  <string>When seeding time reaches</string>
2580                 </property>
2581                </widget>
2582               </item>
2583               <item row="3" column="0">
2584                <widget class="QLabel" name="label">
2585                 <property name="text">
2586                  <string>then</string>
2587                 </property>
2588                 <property name="alignment">
2589                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
2590                 </property>
2591                </widget>
2592               </item>
2593               <item row="3" column="1">
2594                <widget class="QComboBox" name="comboRatioLimitAct">
2595                 <property name="enabled">
2596                  <bool>false</bool>
2597                 </property>
2598                 <item>
2599                  <property name="text">
2600                   <string>Pause torrent</string>
2601                  </property>
2602                 </item>
2603                 <item>
2604                  <property name="text">
2605                   <string>Remove torrent</string>
2606                  </property>
2607                 </item>
2608                 <item>
2609                  <property name="text">
2610                   <string>Remove torrent and its files</string>
2611                  </property>
2612                 </item>
2613                 <item>
2614                  <property name="text">
2615                   <string>Enable super seeding for torrent</string>
2616                  </property>
2617                 </item>
2618                </widget>
2619               </item>
2620               <item row="1" column="0">
2621                <widget class="QCheckBox" name="checkMaxRatio">
2622                 <property name="text">
2623                  <string>When ratio reaches</string>
2624                 </property>
2625                </widget>
2626               </item>
2627               <item row="1" column="1">
2628                <widget class="QDoubleSpinBox" name="spinMaxRatio">
2629                 <property name="enabled">
2630                  <bool>false</bool>
2631                 </property>
2632                 <property name="maximum">
2633                  <double>9998.000000000000000</double>
2634                 </property>
2635                 <property name="singleStep">
2636                  <double>0.050000000000000</double>
2637                 </property>
2638                 <property name="value">
2639                  <double>1.000000000000000</double>
2640                 </property>
2641                </widget>
2642               </item>
2643               <item row="1" column="2">
2644                <spacer name="horizontalSpacer_2">
2645                 <property name="orientation">
2646                  <enum>Qt::Horizontal</enum>
2647                 </property>
2648                 <property name="sizeHint" stdset="0">
2649                  <size>
2650                   <width>40</width>
2651                   <height>20</height>
2652                  </size>
2653                 </property>
2654                </spacer>
2655               </item>
2656              </layout>
2657             </widget>
2658            </item>
2659            <item>
2660             <widget class="QGroupBox" name="checkEnableAddTrackers">
2661              <property name="title">
2662               <string>A&amp;utomatically add these trackers to new downloads:</string>
2663              </property>
2664              <property name="checkable">
2665               <bool>true</bool>
2666              </property>
2667              <property name="checked">
2668               <bool>false</bool>
2669              </property>
2670              <layout class="QGridLayout" name="gridLayout_16">
2671               <item row="0" column="0">
2672                <widget class="QPlainTextEdit" name="textTrackers">
2673                 <property name="enabled">
2674                  <bool>true</bool>
2675                 </property>
2676                 <property name="focusPolicy">
2677                  <enum>Qt::StrongFocus</enum>
2678                 </property>
2679                </widget>
2680               </item>
2681              </layout>
2682             </widget>
2683            </item>
2684            <item>
2685             <spacer name="verticalSpacer_8">
2686              <property name="orientation">
2687               <enum>Qt::Vertical</enum>
2688              </property>
2689              <property name="sizeHint" stdset="0">
2690               <size>
2691                <width>20</width>
2692                <height>40</height>
2693               </size>
2694              </property>
2695             </spacer>
2696            </item>
2697           </layout>
2698          </widget>
2699         </widget>
2700        </item>
2701       </layout>
2702      </widget>
2703      <widget class="QWidget" name="tabRSSPage">
2704       <layout class="QVBoxLayout" name="verticalLayout_25">
2705        <property name="leftMargin">
2706         <number>0</number>
2707        </property>
2708        <property name="topMargin">
2709         <number>0</number>
2710        </property>
2711        <property name="rightMargin">
2712         <number>0</number>
2713        </property>
2714        <property name="bottomMargin">
2715         <number>0</number>
2716        </property>
2717        <item>
2718         <widget class="QScrollArea" name="scrollArea_5">
2719          <property name="widgetResizable">
2720           <bool>true</bool>
2721          </property>
2722          <widget class="QWidget" name="scrollAreaWidgetContents_5">
2723           <property name="geometry">
2724            <rect>
2725             <x>0</x>
2726             <y>0</y>
2727             <width>516</width>
2728             <height>525</height>
2729            </rect>
2730           </property>
2731           <layout class="QVBoxLayout" name="verticalLayout_27">
2732            <item>
2733             <widget class="QGroupBox" name="groupRSSReader">
2734              <property name="title">
2735               <string>RSS Reader</string>
2736              </property>
2737              <layout class="QVBoxLayout" name="verticalLayout_26">
2738               <item>
2739                <widget class="QCheckBox" name="checkRSSEnable">
2740                 <property name="text">
2741                  <string>Enable fetching RSS feeds</string>
2742                 </property>
2743                </widget>
2744               </item>
2745               <item>
2746                <layout class="QGridLayout" name="gridLayout_5">
2747                 <item row="0" column="0">
2748                  <widget class="QLabel" name="label_111">
2749                   <property name="text">
2750                    <string>Feeds refresh interval:</string>
2751                   </property>
2752                  </widget>
2753                 </item>
2754                 <item row="1" column="1">
2755                  <widget class="QSpinBox" name="spinRSSMaxArticlesPerFeed">
2756                   <property name="maximum">
2757                    <number>9999</number>
2758                   </property>
2759                   <property name="value">
2760                    <number>100</number>
2761                   </property>
2762                  </widget>
2763                 </item>
2764                 <item row="1" column="0">
2765                  <widget class="QLabel" name="label_12">
2766                   <property name="text">
2767                    <string>Maximum number of articles per feed:</string>
2768                   </property>
2769                  </widget>
2770                 </item>
2771                 <item row="0" column="1">
2772                  <widget class="QSpinBox" name="spinRSSRefreshInterval">
2773                   <property name="suffix">
2774                    <string> min</string>
2775                   </property>
2776                   <property name="minimum">
2777                    <number>1</number>
2778                   </property>
2779                   <property name="maximum">
2780                    <number>999999</number>
2781                   </property>
2782                   <property name="value">
2783                    <number>5</number>
2784                   </property>
2785                  </widget>
2786                 </item>
2787                 <item row="0" column="2">
2788                  <spacer name="horizontalSpacer_6">
2789                   <property name="orientation">
2790                    <enum>Qt::Horizontal</enum>
2791                   </property>
2792                   <property name="sizeHint" stdset="0">
2793                    <size>
2794                     <width>40</width>
2795                     <height>20</height>
2796                    </size>
2797                   </property>
2798                  </spacer>
2799                 </item>
2800                </layout>
2801               </item>
2802              </layout>
2803             </widget>
2804            </item>
2805            <item>
2806             <widget class="QGroupBox" name="groupRSSAutoDownloader">
2807              <property name="title">
2808               <string>RSS Torrent Auto Downloader</string>
2809              </property>
2810              <layout class="QVBoxLayout" name="verticalLayout_21">
2811               <item>
2812                <widget class="QCheckBox" name="checkRSSAutoDownloaderEnable">
2813                 <property name="text">
2814                  <string>Enable auto downloading of RSS torrents</string>
2815                 </property>
2816                </widget>
2817               </item>
2818               <item>
2819                <widget class="QPushButton" name="btnEditRules">
2820                 <property name="text">
2821                  <string>Edit auto downloading rules...</string>
2822                 </property>
2823                </widget>
2824               </item>
2825              </layout>
2826             </widget>
2827            </item>
2828            <item>
2829             <widget class="QGroupBox" name="groupRSSSmartEpisodeFilter">
2830              <property name="title">
2831               <string>RSS Smart Episode Filter</string>
2832              </property>
2833              <layout class="QVBoxLayout" name="verticalLayout_31">
2834               <item>
2835                <widget class="QCheckBox" name="checkSmartFilterDownloadRepacks">
2836                 <property name="text">
2837                  <string>Download REPACK/PROPER episodes</string>
2838                 </property>
2839                </widget>
2840               </item>
2841               <item>
2842                <widget class="QLabel" name="label_5">
2843                 <property name="text">
2844                  <string>Filters:</string>
2845                 </property>
2846                </widget>
2847               </item>
2848               <item>
2849                <widget class="QPlainTextEdit" name="textSmartEpisodeFilters"/>
2850               </item>
2851              </layout>
2852             </widget>
2853            </item>
2854            <item>
2855             <spacer name="verticalSpacer_5">
2856              <property name="orientation">
2857               <enum>Qt::Vertical</enum>
2858              </property>
2859              <property name="sizeHint" stdset="0">
2860               <size>
2861                <width>20</width>
2862                <height>200</height>
2863               </size>
2864              </property>
2865             </spacer>
2866            </item>
2867           </layout>
2868          </widget>
2869         </widget>
2870        </item>
2871       </layout>
2872      </widget>
2873      <widget class="QWidget" name="tabWebuiPage">
2874       <layout class="QVBoxLayout" name="tabWebuiPageLayout">
2875        <property name="leftMargin">
2876         <number>0</number>
2877        </property>
2878        <property name="topMargin">
2879         <number>0</number>
2880        </property>
2881        <property name="rightMargin">
2882         <number>0</number>
2883        </property>
2884        <property name="bottomMargin">
2885         <number>0</number>
2886        </property>
2887        <item>
2888         <widget class="QScrollArea" name="scrollArea_7">
2889          <property name="widgetResizable">
2890           <bool>true</bool>
2891          </property>
2892          <widget class="QWidget" name="scrollAreaWidgetContents_7">
2893           <property name="geometry">
2894            <rect>
2895             <x>0</x>
2896             <y>0</y>
2897             <width>501</width>
2898             <height>636</height>
2899            </rect>
2900           </property>
2901           <layout class="QVBoxLayout" name="verticalLayout_23">
2902            <item>
2903             <widget class="QGroupBox" name="checkWebUi">
2904              <property name="title">
2905               <string>Web User Interface (Remote control)</string>
2906              </property>
2907              <property name="checkable">
2908               <bool>true</bool>
2909              </property>
2910              <property name="checked">
2911               <bool>false</bool>
2912              </property>
2913              <layout class="QVBoxLayout" name="verticalLayout_2">
2914               <item>
2915                <layout class="QHBoxLayout" name="horizontalLayout_2">
2916                 <item>
2917                  <widget class="QLabel" name="lblWebUiAddress">
2918                   <property name="text">
2919                    <string>IP address:</string>
2920                   </property>
2921                  </widget>
2922                 </item>
2923                 <item>
2924                  <widget class="QLineEdit" name="textWebUiAddress">
2925                   <property name="toolTip">
2926                    <string>IP address that the Web UI will bind to.
2927Specify an IPv4 or IPv6 address. You can specify &quot;0.0.0.0&quot; for any IPv4 address,
2928&quot;::&quot; for any IPv6 address, or &quot;*&quot; for both IPv4 and IPv6.</string>
2929                   </property>
2930                  </widget>
2931                 </item>
2932                 <item>
2933                  <widget class="QLabel" name="lblWebUiPort">
2934                   <property name="text">
2935                    <string>Port:</string>
2936                   </property>
2937                  </widget>
2938                 </item>
2939                 <item>
2940                  <widget class="QSpinBox" name="spinWebUiPort">
2941                   <property name="minimum">
2942                    <number>1</number>
2943                   </property>
2944                   <property name="maximum">
2945                    <number>65535</number>
2946                   </property>
2947                   <property name="value">
2948                    <number>8080</number>
2949                   </property>
2950                  </widget>
2951                 </item>
2952                </layout>
2953               </item>
2954               <item>
2955                <widget class="QCheckBox" name="checkWebUIUPnP">
2956                 <property name="text">
2957                  <string>Use UPnP / NAT-PMP to forward the port from my router</string>
2958                 </property>
2959                 <property name="checked">
2960                  <bool>true</bool>
2961                 </property>
2962                </widget>
2963               </item>
2964               <item>
2965                <widget class="QGroupBox" name="checkWebUiHttps">
2966                 <property name="title">
2967                  <string>&amp;Use HTTPS instead of HTTP</string>
2968                 </property>
2969                 <property name="checkable">
2970                  <bool>true</bool>
2971                 </property>
2972                 <property name="checked">
2973                  <bool>false</bool>
2974                 </property>
2975                 <layout class="QGridLayout" name="gridLayout_11">
2976                  <item row="1" column="1">
2977                   <widget class="QLabel" name="lblWebUiKey">
2978                    <property name="text">
2979                     <string>Key:</string>
2980                    </property>
2981                   </widget>
2982                  </item>
2983                  <item row="0" column="1">
2984                   <widget class="QLabel" name="lblWebUiCrt">
2985                    <property name="text">
2986                     <string>Certificate:</string>
2987                    </property>
2988                   </widget>
2989                  </item>
2990                  <item row="0" column="0">
2991                   <widget class="QLabel" name="lblSslCertStatus"/>
2992                  </item>
2993                  <item row="1" column="0">
2994                   <widget class="QLabel" name="lblSslKeyStatus"/>
2995                  </item>
2996                  <item row="2" column="0" colspan="3">
2997                   <widget class="QLabel" name="lblWebUIInfo">
2998                    <property name="text">
2999                     <string>&lt;a href=https://httpd.apache.org/docs/current/ssl/ssl_faq.html#aboutcerts&gt;Information about certificates&lt;/a&gt;</string>
3000                    </property>
3001                    <property name="openExternalLinks">
3002                     <bool>true</bool>
3003                    </property>
3004                   </widget>
3005                  </item>
3006                  <item row="0" column="2">
3007                   <widget class="FileSystemPathLineEdit" name="textWebUIHttpsCert" native="true"/>
3008                  </item>
3009                  <item row="1" column="2">
3010                   <widget class="FileSystemPathLineEdit" name="textWebUIHttpsKey" native="true"/>
3011                  </item>
3012                 </layout>
3013                </widget>
3014               </item>
3015               <item>
3016                <widget class="QGroupBox" name="groupWebUiAuth">
3017                 <property name="title">
3018                  <string>Authentication</string>
3019                 </property>
3020                 <layout class="QVBoxLayout" name="verticalLayout_35">
3021                  <item>
3022                   <layout class="QGridLayout" name="gridLayout_8">
3023                    <item row="0" column="0">
3024                     <widget class="QLabel" name="lblWebUiUsername">
3025                      <property name="text">
3026                       <string>Username:</string>
3027                      </property>
3028                     </widget>
3029                    </item>
3030                    <item row="0" column="1">
3031                     <widget class="QLineEdit" name="textWebUiUsername"/>
3032                    </item>
3033                    <item row="1" column="0">
3034                     <widget class="QLabel" name="lblWebUiPassword">
3035                      <property name="text">
3036                       <string>Password:</string>
3037                      </property>
3038                     </widget>
3039                    </item>
3040                    <item row="1" column="1">
3041                     <widget class="QLineEdit" name="textWebUiPassword">
3042                      <property name="echoMode">
3043                       <enum>QLineEdit::Password</enum>
3044                      </property>
3045                      <property name="placeholderText">
3046                       <string>Change current password</string>
3047                      </property>
3048                     </widget>
3049                    </item>
3050                   </layout>
3051                  </item>
3052                  <item>
3053                   <widget class="QCheckBox" name="checkBypassLocalAuth">
3054                    <property name="text">
3055                     <string>Bypass authentication for clients on localhost</string>
3056                    </property>
3057                   </widget>
3058                  </item>
3059                  <item>
3060                   <widget class="QCheckBox" name="checkBypassAuthSubnetWhitelist">
3061                    <property name="text">
3062                     <string>Bypass authentication for clients in whitelisted IP subnets</string>
3063                    </property>
3064                   </widget>
3065                  </item>
3066                  <item>
3067                   <widget class="QPushButton" name="IPSubnetWhitelistButton">
3068                    <property name="sizePolicy">
3069                     <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
3070                      <horstretch>0</horstretch>
3071                      <verstretch>0</verstretch>
3072                     </sizepolicy>
3073                    </property>
3074                    <property name="text">
3075                     <string>IP subnet whitelist...</string>
3076                    </property>
3077                   </widget>
3078                  </item>
3079                  <item>
3080                   <layout class="QGridLayout" name="gridLayout_10">
3081                    <item row="0" column="0">
3082                     <widget class="QLabel" name="lblBanCounter">
3083                      <property name="text">
3084                       <string>Ban client after consecutive failures:</string>
3085                      </property>
3086                     </widget>
3087                    </item>
3088                    <item row="0" column="2">
3089                     <spacer name="horizontalSpacer_15">
3090                      <property name="orientation">
3091                       <enum>Qt::Horizontal</enum>
3092                      </property>
3093                      <property name="sizeHint" stdset="0">
3094                       <size>
3095                        <width>40</width>
3096                        <height>20</height>
3097                       </size>
3098                      </property>
3099                     </spacer>
3100                    </item>
3101                    <item row="0" column="1">
3102                     <widget class="QSpinBox" name="spinBanCounter">
3103                      <property name="specialValueText">
3104                       <string>Never</string>
3105                      </property>
3106                      <property name="maximum">
3107                       <number>2147483647</number>
3108                      </property>
3109                     </widget>
3110                    </item>
3111                    <item row="1" column="0">
3112                     <widget class="QLabel" name="lblBanDuration">
3113                      <property name="text">
3114                       <string>ban for:</string>
3115                      </property>
3116                      <property name="alignment">
3117                       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
3118                      </property>
3119                     </widget>
3120                    </item>
3121                    <item row="1" column="1">
3122                     <widget class="QSpinBox" name="spinBanDuration">
3123                      <property name="suffix">
3124                       <string> sec</string>
3125                      </property>
3126                      <property name="minimum">
3127                       <number>1</number>
3128                      </property>
3129                      <property name="maximum">
3130                       <number>2147483647</number>
3131                      </property>
3132                     </widget>
3133                    </item>
3134                   </layout>
3135                  </item>
3136                  <item>
3137                   <layout class="QHBoxLayout" name="horizontalLayout_13">
3138                    <item>
3139                     <widget class="QLabel" name="lblSessionTimeout">
3140                      <property name="text">
3141                       <string>Session timeout:</string>
3142                      </property>
3143                     </widget>
3144                    </item>
3145                    <item>
3146                     <widget class="QSpinBox" name="spinSessionTimeout">
3147                      <property name="specialValueText">
3148                       <string>Disabled</string>
3149                      </property>
3150                      <property name="suffix">
3151                       <string> sec</string>
3152                      </property>
3153                      <property name="maximum">
3154                       <number>2147483647</number>
3155                      </property>
3156                     </widget>
3157                    </item>
3158                    <item>
3159                     <spacer name="horizontalSpacer_11">
3160                      <property name="orientation">
3161                       <enum>Qt::Horizontal</enum>
3162                      </property>
3163                      <property name="sizeHint" stdset="0">
3164                       <size>
3165                        <width>40</width>
3166                        <height>20</height>
3167                       </size>
3168                      </property>
3169                     </spacer>
3170                    </item>
3171                   </layout>
3172                  </item>
3173                 </layout>
3174                </widget>
3175               </item>
3176               <item>
3177                <widget class="QGroupBox" name="groupAltWebUI">
3178                 <property name="title">
3179                  <string>Use alternative Web UI</string>
3180                 </property>
3181                 <property name="checkable">
3182                  <bool>true</bool>
3183                 </property>
3184                 <property name="checked">
3185                  <bool>false</bool>
3186                 </property>
3187                 <layout class="QHBoxLayout" name="horizontalLayout_5">
3188                  <item>
3189                   <widget class="QLabel" name="labelWebUIRootFolder">
3190                    <property name="text">
3191                     <string>Files location:</string>
3192                    </property>
3193                   </widget>
3194                  </item>
3195                  <item>
3196                   <widget class="FileSystemPathLineEdit" name="textWebUIRootFolder" native="true"/>
3197                  </item>
3198                 </layout>
3199                </widget>
3200               </item>
3201               <item>
3202                <widget class="QGroupBox" name="groupBox_3">
3203                 <property name="title">
3204                  <string>Security</string>
3205                 </property>
3206                 <layout class="QVBoxLayout" name="verticalLayout_33">
3207                  <item>
3208                   <widget class="QCheckBox" name="checkClickjacking">
3209                    <property name="text">
3210                     <string>Enable clickjacking protection</string>
3211                    </property>
3212                   </widget>
3213                  </item>
3214                  <item>
3215                   <widget class="QCheckBox" name="checkCSRFProtection">
3216                    <property name="text">
3217                     <string>Enable Cross-Site Request Forgery (CSRF) protection</string>
3218                    </property>
3219                   </widget>
3220                  </item>
3221                  <item>
3222                   <widget class="QCheckBox" name="checkSecureCookie">
3223                    <property name="text">
3224                     <string>Enable cookie Secure flag (requires HTTPS)</string>
3225                    </property>
3226                   </widget>
3227                  </item>
3228                  <item>
3229                   <widget class="QGroupBox" name="groupHostHeaderValidation">
3230                    <property name="title">
3231                     <string>Enable Host header validation</string>
3232                    </property>
3233                    <property name="checkable">
3234                     <bool>true</bool>
3235                    </property>
3236                    <layout class="QVBoxLayout" name="verticalLayout_32">
3237                     <item>
3238                      <layout class="QHBoxLayout" name="horizontalLayout_10">
3239                       <item>
3240                        <widget class="QLabel" name="labelServerDomains">
3241                         <property name="text">
3242                          <string>Server domains:</string>
3243                         </property>
3244                        </widget>
3245                       </item>
3246                       <item>
3247                        <widget class="QLineEdit" name="textServerDomains">
3248                         <property name="toolTip">
3249                          <string>Whitelist for filtering HTTP Host header values.
3250In order to defend against DNS rebinding attack,
3251you should put in domain names used by WebUI server.
3252
3253Use ';' to split multiple entries. Can use wildcard '*'.</string>
3254                         </property>
3255                        </widget>
3256                       </item>
3257                      </layout>
3258                     </item>
3259                    </layout>
3260                   </widget>
3261                  </item>
3262                 </layout>
3263                </widget>
3264               </item>
3265               <item>
3266                <widget class="QGroupBox" name="groupWebUIAddCustomHTTPHeaders">
3267                 <property name="title">
3268                  <string>Add custom HTTP headers</string>
3269                 </property>
3270                 <property name="checkable">
3271                  <bool>true</bool>
3272                 </property>
3273                 <layout class="QVBoxLayout" name="verticalLayout_8">
3274                  <item>
3275                   <widget class="QPlainTextEdit" name="textWebUICustomHTTPHeaders">
3276                    <property name="lineWrapMode">
3277                     <enum>QPlainTextEdit::NoWrap</enum>
3278                    </property>
3279                    <property name="placeholderText">
3280                     <string>Header: value pairs, one per line</string>
3281                    </property>
3282                   </widget>
3283                  </item>
3284                 </layout>
3285                </widget>
3286               </item>
3287               <item>
3288                <widget class="QGroupBox" name="checkDynDNS">
3289                 <property name="title">
3290                  <string>Upda&amp;te my dynamic domain name</string>
3291                 </property>
3292                 <property name="checkable">
3293                  <bool>true</bool>
3294                 </property>
3295                 <property name="checked">
3296                  <bool>false</bool>
3297                 </property>
3298                 <layout class="QFormLayout" name="formLayout_5">
3299                  <item row="0" column="0">
3300                   <widget class="QLabel" name="label_19">
3301                    <property name="text">
3302                     <string>Service:</string>
3303                    </property>
3304                   </widget>
3305                  </item>
3306                  <item row="0" column="1">
3307                   <layout class="QHBoxLayout" name="horizontalLayout_3">
3308                    <item>
3309                     <widget class="QComboBox" name="comboDNSService">
3310                      <item>
3311                       <property name="text">
3312                        <string notr="true">DynDNS</string>
3313                       </property>
3314                      </item>
3315                      <item>
3316                       <property name="text">
3317                        <string notr="true">No-IP</string>
3318                       </property>
3319                      </item>
3320                     </widget>
3321                    </item>
3322                    <item>
3323                     <widget class="QPushButton" name="registerDNSBtn">
3324                      <property name="text">
3325                       <string>Register</string>
3326                      </property>
3327                     </widget>
3328                    </item>
3329                   </layout>
3330                  </item>
3331                  <item row="1" column="0">
3332                   <widget class="QLabel" name="label_20">
3333                    <property name="text">
3334                     <string>Domain name:</string>
3335                    </property>
3336                   </widget>
3337                  </item>
3338                  <item row="1" column="1">
3339                   <widget class="QLineEdit" name="domainNameTxt">
3340                    <property name="text">
3341                     <string notr="true">changeme.dyndns.org</string>
3342                    </property>
3343                   </widget>
3344                  </item>
3345                  <item row="2" column="0">
3346                   <widget class="QLabel" name="label_21">
3347                    <property name="text">
3348                     <string>Username:</string>
3349                    </property>
3350                   </widget>
3351                  </item>
3352                  <item row="2" column="1">
3353                   <widget class="QLineEdit" name="DNSUsernameTxt"/>
3354                  </item>
3355                  <item row="3" column="0">
3356                   <widget class="QLabel" name="label_22">
3357                    <property name="text">
3358                     <string>Password:</string>
3359                    </property>
3360                   </widget>
3361                  </item>
3362                  <item row="3" column="1">
3363                   <widget class="QLineEdit" name="DNSPasswordTxt">
3364                    <property name="echoMode">
3365                     <enum>QLineEdit::Password</enum>
3366                    </property>
3367                   </widget>
3368                  </item>
3369                 </layout>
3370                </widget>
3371               </item>
3372              </layout>
3373             </widget>
3374            </item>
3375            <item>
3376             <spacer name="verticalSpacer">
3377              <property name="orientation">
3378               <enum>Qt::Vertical</enum>
3379              </property>
3380              <property name="sizeHint" stdset="0">
3381               <size>
3382                <width>20</width>
3383                <height>40</height>
3384               </size>
3385              </property>
3386             </spacer>
3387            </item>
3388           </layout>
3389          </widget>
3390         </widget>
3391        </item>
3392       </layout>
3393      </widget>
3394      <widget class="QWidget" name="tabAdvancedPage">
3395       <layout class="QVBoxLayout" name="advPageLayout">
3396        <property name="leftMargin">
3397         <number>0</number>
3398        </property>
3399        <property name="topMargin">
3400         <number>0</number>
3401        </property>
3402        <property name="rightMargin">
3403         <number>0</number>
3404        </property>
3405        <property name="bottomMargin">
3406         <number>0</number>
3407        </property>
3408       </layout>
3409      </widget>
3410     </widget>
3411    </widget>
3412   </item>
3413   <item>
3414    <widget class="QDialogButtonBox" name="buttonBox">
3415     <property name="standardButtons">
3416      <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
3417     </property>
3418    </widget>
3419   </item>
3420  </layout>
3421 </widget>
3422 <customwidgets>
3423  <customwidget>
3424   <class>FileSystemPathLineEdit</class>
3425   <extends>QWidget</extends>
3426   <header>gui/fspathedit.h</header>
3427   <container>1</container>
3428  </customwidget>
3429 </customwidgets>
3430 <tabstops>
3431  <tabstop>tabOption</tabstop>
3432  <tabstop>comboI18n</tabstop>
3433  <tabstop>checkUseSystemIcon</tabstop>
3434  <tabstop>checkUseCustomTheme</tabstop>
3435  <tabstop>customThemeFilePath</tabstop>
3436  <tabstop>checkStartPaused</tabstop>
3437  <tabstop>spinPort</tabstop>
3438  <tabstop>checkUPnP</tabstop>
3439  <tabstop>textWebUiUsername</tabstop>
3440  <tabstop>checkWebUi</tabstop>
3441  <tabstop>textSavePath</tabstop>
3442  <tabstop>scrollArea_7</tabstop>
3443  <tabstop>scrollArea_2</tabstop>
3444  <tabstop>spinWebUiPort</tabstop>
3445  <tabstop>textWebUiPassword</tabstop>
3446  <tabstop>buttonBox</tabstop>
3447  <tabstop>tabSelection</tabstop>
3448  <tabstop>scrollArea</tabstop>
3449  <tabstop>confirmDeletion</tabstop>
3450  <tabstop>checkAltRowColors</tabstop>
3451  <tabstop>actionTorrentDlOnDblClBox</tabstop>
3452  <tabstop>actionTorrentFnOnDblClBox</tabstop>
3453  <tabstop>checkStartup</tabstop>
3454  <tabstop>checkShowSplash</tabstop>
3455  <tabstop>checkStartMinimized</tabstop>
3456  <tabstop>checkProgramExitConfirm</tabstop>
3457  <tabstop>checkShowSystray</tabstop>
3458  <tabstop>checkMinimizeToSysTray</tabstop>
3459  <tabstop>checkCloseToSystray</tabstop>
3460  <tabstop>checkAssociateTorrents</tabstop>
3461  <tabstop>checkAssociateMagnetLinks</tabstop>
3462  <tabstop>checkPreventFromSuspendWhenDownloading</tabstop>
3463  <tabstop>checkPreventFromSuspendWhenSeeding</tabstop>
3464  <tabstop>checkAdditionDialog</tabstop>
3465  <tabstop>checkAdditionDialogFront</tabstop>
3466  <tabstop>checkPreallocateAll</tabstop>
3467  <tabstop>checkTempFolder</tabstop>
3468  <tabstop>textTempPath</tabstop>
3469  <tabstop>checkAppendqB</tabstop>
3470  <tabstop>scanFoldersView</tabstop>
3471  <tabstop>addWatchedFolderButton</tabstop>
3472  <tabstop>editWatchedFolderButton</tabstop>
3473  <tabstop>removeWatchedFolderButton</tabstop>
3474  <tabstop>checkExportDir</tabstop>
3475  <tabstop>textExportDir</tabstop>
3476  <tabstop>checkExportDirFin</tabstop>
3477  <tabstop>textExportDirFin</tabstop>
3478  <tabstop>groupMailNotification</tabstop>
3479  <tabstop>lineEditDestEmail</tabstop>
3480  <tabstop>lineEditSmtpServer</tabstop>
3481  <tabstop>groupMailNotifAuth</tabstop>
3482  <tabstop>mailNotifUsername</tabstop>
3483  <tabstop>mailNotifPassword</tabstop>
3484  <tabstop>checkSmtpSSL</tabstop>
3485  <tabstop>autoRunBox</tabstop>
3486  <tabstop>lineEditAutoRun</tabstop>
3487  <tabstop>scrollArea_3</tabstop>
3488  <tabstop>randomButton</tabstop>
3489  <tabstop>checkRandomPort</tabstop>
3490  <tabstop>checkMaxConnecs</tabstop>
3491  <tabstop>spinMaxConnec</tabstop>
3492  <tabstop>checkMaxConnecsPerTorrent</tabstop>
3493  <tabstop>spinMaxConnecPerTorrent</tabstop>
3494  <tabstop>checkMaxUploadsPerTorrent</tabstop>
3495  <tabstop>spinMaxUploadsPerTorrent</tabstop>
3496  <tabstop>checkMaxUploads</tabstop>
3497  <tabstop>spinMaxUploads</tabstop>
3498  <tabstop>comboProxyType</tabstop>
3499  <tabstop>textProxyIP</tabstop>
3500  <tabstop>spinProxyPort</tabstop>
3501  <tabstop>checkProxyPeerConnecs</tabstop>
3502  <tabstop>isProxyOnlyForTorrents</tabstop>
3503  <tabstop>checkProxyAuth</tabstop>
3504  <tabstop>textProxyUsername</tabstop>
3505  <tabstop>textProxyPassword</tabstop>
3506  <tabstop>checkIPFilter</tabstop>
3507  <tabstop>textFilterPath</tabstop>
3508  <tabstop>IpFilterRefreshBtn</tabstop>
3509  <tabstop>checkIpFilterTrackers</tabstop>
3510  <tabstop>scrollArea_9</tabstop>
3511  <tabstop>spinUploadLimit</tabstop>
3512  <tabstop>spinDownloadLimit</tabstop>
3513  <tabstop>groupBoxSchedule</tabstop>
3514  <tabstop>timeEditScheduleTo</tabstop>
3515  <tabstop>timeEditScheduleFrom</tabstop>
3516  <tabstop>comboBoxScheduleDays</tabstop>
3517  <tabstop>spinUploadLimitAlt</tabstop>
3518  <tabstop>spinDownloadLimitAlt</tabstop>
3519  <tabstop>checkLimitLocalPeerRate</tabstop>
3520  <tabstop>checkLimitTransportOverhead</tabstop>
3521  <tabstop>scrollArea_4</tabstop>
3522  <tabstop>checkDHT</tabstop>
3523  <tabstop>checkPeX</tabstop>
3524  <tabstop>checkLSD</tabstop>
3525  <tabstop>comboEncryption</tabstop>
3526  <tabstop>checkAnonymousMode</tabstop>
3527  <tabstop>checkEnableQueueing</tabstop>
3528  <tabstop>spinMaxActiveDownloads</tabstop>
3529  <tabstop>spinMaxActiveUploads</tabstop>
3530  <tabstop>spinMaxActiveTorrents</tabstop>
3531  <tabstop>checkWebUIUPnP</tabstop>
3532  <tabstop>checkWebUiHttps</tabstop>
3533  <tabstop>checkBypassLocalAuth</tabstop>
3534  <tabstop>checkBypassAuthSubnetWhitelist</tabstop>
3535  <tabstop>IPSubnetWhitelistButton</tabstop>
3536  <tabstop>checkDynDNS</tabstop>
3537  <tabstop>comboDNSService</tabstop>
3538  <tabstop>registerDNSBtn</tabstop>
3539  <tabstop>domainNameTxt</tabstop>
3540  <tabstop>DNSUsernameTxt</tabstop>
3541  <tabstop>DNSPasswordTxt</tabstop>
3542 </tabstops>
3543 <resources/>
3544 <connections>
3545  <connection>
3546   <sender>checkMaxConnecs</sender>
3547   <signal>toggled(bool)</signal>
3548   <receiver>spinMaxConnec</receiver>
3549   <slot>setEnabled(bool)</slot>
3550   <hints>
3551    <hint type="sourcelabel">
3552     <x>604</x>
3553     <y>205</y>
3554    </hint>
3555    <hint type="destinationlabel">
3556     <x>677</x>
3557     <y>206</y>
3558    </hint>
3559   </hints>
3560  </connection>
3561  <connection>
3562   <sender>checkMaxConnecsPerTorrent</sender>
3563   <signal>toggled(bool)</signal>
3564   <receiver>spinMaxConnecPerTorrent</receiver>
3565   <slot>setEnabled(bool)</slot>
3566   <hints>
3567    <hint type="sourcelabel">
3568     <x>604</x>
3569     <y>238</y>
3570    </hint>
3571    <hint type="destinationlabel">
3572     <x>677</x>
3573     <y>239</y>
3574    </hint>
3575   </hints>
3576  </connection>
3577  <connection>
3578   <sender>checkMaxUploadsPerTorrent</sender>
3579   <signal>toggled(bool)</signal>
3580   <receiver>spinMaxUploadsPerTorrent</receiver>
3581   <slot>setEnabled(bool)</slot>
3582   <hints>
3583    <hint type="sourcelabel">
3584     <x>604</x>
3585     <y>304</y>
3586    </hint>
3587    <hint type="destinationlabel">
3588     <x>677</x>
3589     <y>305</y>
3590    </hint>
3591   </hints>
3592  </connection>
3593  <connection>
3594   <sender>checkMaxUploads</sender>
3595   <signal>toggled(bool)</signal>
3596   <receiver>spinMaxUploads</receiver>
3597   <slot>setEnabled(bool)</slot>
3598   <hints>
3599    <hint type="sourcelabel">
3600     <x>547</x>
3601     <y>415</y>
3602    </hint>
3603    <hint type="destinationlabel">
3604     <x>642</x>
3605     <y>414</y>
3606    </hint>
3607   </hints>
3608  </connection>
3609  <connection>
3610   <sender>checkMaxRatio</sender>
3611   <signal>toggled(bool)</signal>
3612   <receiver>spinMaxRatio</receiver>
3613   <slot>setEnabled(bool)</slot>
3614   <hints>
3615    <hint type="sourcelabel">
3616     <x>395</x>
3617     <y>203</y>
3618    </hint>
3619    <hint type="destinationlabel">
3620     <x>496</x>
3621     <y>204</y>
3622    </hint>
3623   </hints>
3624  </connection>
3625  <connection>
3626   <sender>checkMaxSeedingMinutes</sender>
3627   <signal>toggled(bool)</signal>
3628   <receiver>spinMaxSeedingMinutes</receiver>
3629   <slot>setEnabled(bool)</slot>
3630   <hints>
3631    <hint type="sourcelabel">
3632     <x>395</x>
3633     <y>170</y>
3634    </hint>
3635    <hint type="destinationlabel">
3636     <x>496</x>
3637     <y>171</y>
3638    </hint>
3639   </hints>
3640  </connection>
3641  <connection>
3642   <sender>deleteTorrentBox</sender>
3643   <signal>toggled(bool)</signal>
3644   <receiver>deleteTorrentWarningIcon</receiver>
3645   <slot>setVisible(bool)</slot>
3646   <hints>
3647    <hint type="sourcelabel">
3648     <x>554</x>
3649     <y>153</y>
3650    </hint>
3651    <hint type="destinationlabel">
3652     <x>324</x>
3653     <y>214</y>
3654    </hint>
3655   </hints>
3656  </connection>
3657  <connection>
3658   <sender>deleteTorrentBox</sender>
3659   <signal>toggled(bool)</signal>
3660   <receiver>deleteTorrentWarningLabel</receiver>
3661   <slot>setVisible(bool)</slot>
3662   <hints>
3663    <hint type="sourcelabel">
3664     <x>646</x>
3665     <y>158</y>
3666    </hint>
3667    <hint type="destinationlabel">
3668     <x>629</x>
3669     <y>207</y>
3670    </hint>
3671   </hints>
3672  </connection>
3673 </connections>
3674</ui>
3675