/********************************************************************************
** Form generated from reading UI file 'PrefsDialog.ui'
**
** Created by: Qt User Interface Compiler version 5.9.4
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_PREFSDIALOG_H
#define UI_PREFSDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTimeEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "FreeSpaceLabel.h"
#include "PathButton.h"

QT_BEGIN_NAMESPACE

class Ui_PrefsDialog
{
public:
    QVBoxLayout *dialogLayout;
    QTabWidget *tabs;
    QWidget *speedTab;
    QVBoxLayout *speedTabLayout;
    QLabel *speedLimitsSectionLabel;
    QGridLayout *speedLimitsSectionLayout;
    QCheckBox *uploadSpeedLimitCheck;
    QSpinBox *uploadSpeedLimitSpin;
    QCheckBox *downloadSpeedLimitCheck;
    QSpinBox *downloadSpeedLimitSpin;
    QSpacerItem *altSpeedLimitsSectionSpacer;
    QHBoxLayout *altSpeedLimitsSectionTitleLayout;
    QLabel *altSpeedLimitsSectionIconLabel;
    QLabel *altSpeedLimitsSectionLabel;
    QGridLayout *altSpeedLimitsSectionLayout;
    QLabel *altSpeedLimitsSectionDescriptionLabel;
    QLabel *altUploadSpeedLimitLabel;
    QSpinBox *altUploadSpeedLimitSpin;
    QLabel *altDownloadSpeedLimitLabel;
    QSpinBox *altDownloadSpeedLimitSpin;
    QCheckBox *altSpeedLimitScheduleCheck;
    QHBoxLayout *altSpeedLimitScheduleLayout;
    QTimeEdit *altSpeedLimitStartTimeEdit;
    QLabel *altSpeedLimitToLabel;
    QTimeEdit *altSpeedLimitEndTimeEdit;
    QLabel *altSpeedLimitDaysLabel;
    QComboBox *altSpeedLimitDaysCombo;
    QSpacerItem *speedTabBottomSpacer;
    QWidget *downloadingTab;
    QVBoxLayout *downloadingTabLayout;
    QLabel *addingSectionLabel;
    QGridLayout *addingSectionLayout;
    QCheckBox *watchDirCheck;
    QStackedWidget *watchDirStack;
    PathButton *watchDirButton;
    QLineEdit *watchDirEdit;
    QCheckBox *showTorrentOptionsDialogCheck;
    QCheckBox *startAddedTorrentsCheck;
    QCheckBox *trashTorrentFileCheck;
    QLabel *downloadDirLabel;
    QStackedWidget *downloadDirStack;
    PathButton *downloadDirButton;
    QLineEdit *downloadDirEdit;
    FreeSpaceLabel *downloadDirFreeSpaceLabel;
    QSpacerItem *downloadQueueSectionSpacer;
    QLabel *downloadQueueSectionLabel;
    QGridLayout *downloadQueueSectionLayout;
    QLabel *downloadQueueSizeLabel;
    QSpinBox *downloadQueueSizeSpin;
    QLabel *queueStalledMinutesLabel;
    QSpinBox *queueStalledMinutesSpin;
    QSpacerItem *incompleteSectionSpacer;
    QLabel *incompleteSectionLabel;
    QGridLayout *incompleteSectionLayout;
    QCheckBox *renamePartialFilesCheck;
    QCheckBox *incompleteDirCheck;
    QStackedWidget *incompleteDirStack;
    PathButton *incompleteDirButton;
    QLineEdit *incompleteDirEdit;
    QCheckBox *completionScriptCheck;
    QStackedWidget *completionScriptStack;
    PathButton *completionScriptButton;
    QLineEdit *completionScriptEdit;
    QSpacerItem *downloadingTabBottomSpacer;
    QWidget *seedingTab;
    QVBoxLayout *seedingTabLayout;
    QLabel *limitsSectionLabel;
    QGridLayout *limitsSectionLayout;
    QCheckBox *ratioLimitCheck;
    QDoubleSpinBox *ratioLimitSpin;
    QCheckBox *idleLimitCheck;
    QSpinBox *idleLimitSpin;
    QSpacerItem *seedingTabBottomSpacer;
    QWidget *privacyTab;
    QVBoxLayout *privacyTabLayout;
    QLabel *encryptionSectionLabel;
    QGridLayout *encryptionSectionLayout;
    QLabel *encryptionModeLabel;
    QComboBox *encryptionModeCombo;
    QSpacerItem *blocklistSectionSpacer;
    QLabel *blocklistSectionLabel;
    QGridLayout *blocklistSectionLayout;
    QCheckBox *blocklistCheck;
    QLineEdit *blocklistEdit;
    QLabel *blocklistStatusLabel;
    QPushButton *updateBlocklistButton;
    QCheckBox *autoUpdateBlocklistCheck;
    QSpacerItem *privacyTabBottomSpacer;
    QWidget *networkTab;
    QVBoxLayout *networkTabLayout;
    QLabel *incomingPeersSectionLabel;
    QGridLayout *incomingPeersSectionLayout;
    QLabel *peerPortLabel;
    QSpinBox *peerPortSpin;
    QLabel *peerPortStatusLabel;
    QPushButton *testPeerPortButton;
    QCheckBox *randomPeerPortCheck;
    QCheckBox *enablePortForwardingCheck;
    QSpacerItem *peerLimitsSectionSpacer;
    QLabel *peerLimitsSectionLabel;
    QGridLayout *peerLimitsSectionLayout;
    QLabel *torrentPeerLimitLabel;
    QSpinBox *torrentPeerLimitSpin;
    QLabel *globalPeerLimitLabel;
    QSpinBox *globalPeerLimitSpin;
    QSpacerItem *optionsSectionSpacer;
    QLabel *optionsSectionLabel;
    QVBoxLayout *optionsSectionLayout;
    QCheckBox *enableUtpCheck;
    QCheckBox *enablePexCheck;
    QCheckBox *enableDhtCheck;
    QCheckBox *enableLpdCheck;
    QSpacerItem *networkTabBottomSpacer;
    QWidget *desktopTab;
    QVBoxLayout *desktopTabLayout;
    QLabel *desktopSectionLabel;
    QVBoxLayout *desktopSectionLayout;
    QCheckBox *showTrayIconCheck;
    QCheckBox *startMinimizedCheck;
    QSpacerItem *notificationSectionSpacer;
    QLabel *notificationSectionLabel;
    QVBoxLayout *notificationSectionLayout;
    QCheckBox *notifyOnTorrentAddedCheck;
    QCheckBox *notifyOnTorrentCompletedCheck;
    QCheckBox *playSoundOnTorrentCompletedCheck;
    QSpacerItem *desktopTabBottomSpacer;
    QWidget *remoteTab;
    QVBoxLayout *remoteTabLayout;
    QLabel *remoteControlSectionLabel;
    QGridLayout *remoteControlSectionLayout;
    QCheckBox *enableRpcCheck;
    QPushButton *openWebClientButton;
    QLabel *rpcPortLabel;
    QSpinBox *rpcPortSpin;
    QCheckBox *requireRpcAuthCheck;
    QLabel *rpcUsernameLabel;
    QLineEdit *rpcUsernameEdit;
    QLabel *rpcPasswordLabel;
    QLineEdit *rpcPasswordEdit;
    QCheckBox *enableRpcWhitelistCheck;
    QLabel *rpcWhitelistLabel;
    QLineEdit *rpcWhitelistEdit;
    QSpacerItem *remoteTabBottomSpacer;
    QDialogButtonBox *dialogButtons;

    void setupUi(QDialog *PrefsDialog)
    {
        if (PrefsDialog->objectName().isEmpty())
            PrefsDialog->setObjectName(QStringLiteral("PrefsDialog"));
        PrefsDialog->resize(545, 547);
        dialogLayout = new QVBoxLayout(PrefsDialog);
        dialogLayout->setObjectName(QStringLiteral("dialogLayout"));
        tabs = new QTabWidget(PrefsDialog);
        tabs->setObjectName(QStringLiteral("tabs"));
        tabs->setElideMode(Qt::ElideNone);
        tabs->setUsesScrollButtons(false);
        speedTab = new QWidget();
        speedTab->setObjectName(QStringLiteral("speedTab"));
        speedTabLayout = new QVBoxLayout(speedTab);
        speedTabLayout->setObjectName(QStringLiteral("speedTabLayout"));
        speedLimitsSectionLabel = new QLabel(speedTab);
        speedLimitsSectionLabel->setObjectName(QStringLiteral("speedLimitsSectionLabel"));
        speedLimitsSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        speedTabLayout->addWidget(speedLimitsSectionLabel);

        speedLimitsSectionLayout = new QGridLayout();
        speedLimitsSectionLayout->setObjectName(QStringLiteral("speedLimitsSectionLayout"));
        speedLimitsSectionLayout->setContentsMargins(18, -1, -1, -1);
        uploadSpeedLimitCheck = new QCheckBox(speedTab);
        uploadSpeedLimitCheck->setObjectName(QStringLiteral("uploadSpeedLimitCheck"));
        uploadSpeedLimitCheck->setChecked(true);

        speedLimitsSectionLayout->addWidget(uploadSpeedLimitCheck, 0, 0, 1, 1);

        uploadSpeedLimitSpin = new QSpinBox(speedTab);
        uploadSpeedLimitSpin->setObjectName(QStringLiteral("uploadSpeedLimitSpin"));
        uploadSpeedLimitSpin->setMaximum(999999999);
        uploadSpeedLimitSpin->setSingleStep(5);

        speedLimitsSectionLayout->addWidget(uploadSpeedLimitSpin, 0, 1, 1, 1);

        downloadSpeedLimitCheck = new QCheckBox(speedTab);
        downloadSpeedLimitCheck->setObjectName(QStringLiteral("downloadSpeedLimitCheck"));
        downloadSpeedLimitCheck->setChecked(true);

        speedLimitsSectionLayout->addWidget(downloadSpeedLimitCheck, 1, 0, 1, 1);

        downloadSpeedLimitSpin = new QSpinBox(speedTab);
        downloadSpeedLimitSpin->setObjectName(QStringLiteral("downloadSpeedLimitSpin"));
        downloadSpeedLimitSpin->setMaximum(999999999);
        downloadSpeedLimitSpin->setSingleStep(5);

        speedLimitsSectionLayout->addWidget(downloadSpeedLimitSpin, 1, 1, 1, 1);

        speedLimitsSectionLayout->setColumnStretch(1, 1);

        speedTabLayout->addLayout(speedLimitsSectionLayout);

        altSpeedLimitsSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        speedTabLayout->addItem(altSpeedLimitsSectionSpacer);

        altSpeedLimitsSectionTitleLayout = new QHBoxLayout();
        altSpeedLimitsSectionTitleLayout->setSpacing(2);
        altSpeedLimitsSectionTitleLayout->setObjectName(QStringLiteral("altSpeedLimitsSectionTitleLayout"));
        altSpeedLimitsSectionIconLabel = new QLabel(speedTab);
        altSpeedLimitsSectionIconLabel->setObjectName(QStringLiteral("altSpeedLimitsSectionIconLabel"));
        altSpeedLimitsSectionIconLabel->setPixmap(QPixmap(QString::fromUtf8(":/icons/alt-limit-off.png")));

        altSpeedLimitsSectionTitleLayout->addWidget(altSpeedLimitsSectionIconLabel);

        altSpeedLimitsSectionLabel = new QLabel(speedTab);
        altSpeedLimitsSectionLabel->setObjectName(QStringLiteral("altSpeedLimitsSectionLabel"));
        altSpeedLimitsSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        altSpeedLimitsSectionTitleLayout->addWidget(altSpeedLimitsSectionLabel);

        altSpeedLimitsSectionTitleLayout->setStretch(1, 1);

        speedTabLayout->addLayout(altSpeedLimitsSectionTitleLayout);

        altSpeedLimitsSectionLayout = new QGridLayout();
        altSpeedLimitsSectionLayout->setObjectName(QStringLiteral("altSpeedLimitsSectionLayout"));
        altSpeedLimitsSectionLayout->setContentsMargins(18, -1, -1, -1);
        altSpeedLimitsSectionDescriptionLabel = new QLabel(speedTab);
        altSpeedLimitsSectionDescriptionLabel->setObjectName(QStringLiteral("altSpeedLimitsSectionDescriptionLabel"));

        altSpeedLimitsSectionLayout->addWidget(altSpeedLimitsSectionDescriptionLabel, 0, 0, 1, 2);

        altUploadSpeedLimitLabel = new QLabel(speedTab);
        altUploadSpeedLimitLabel->setObjectName(QStringLiteral("altUploadSpeedLimitLabel"));

        altSpeedLimitsSectionLayout->addWidget(altUploadSpeedLimitLabel, 1, 0, 1, 1);

        altUploadSpeedLimitSpin = new QSpinBox(speedTab);
        altUploadSpeedLimitSpin->setObjectName(QStringLiteral("altUploadSpeedLimitSpin"));
        altUploadSpeedLimitSpin->setMaximum(999999999);
        altUploadSpeedLimitSpin->setSingleStep(5);

        altSpeedLimitsSectionLayout->addWidget(altUploadSpeedLimitSpin, 1, 1, 1, 1);

        altDownloadSpeedLimitLabel = new QLabel(speedTab);
        altDownloadSpeedLimitLabel->setObjectName(QStringLiteral("altDownloadSpeedLimitLabel"));

        altSpeedLimitsSectionLayout->addWidget(altDownloadSpeedLimitLabel, 2, 0, 1, 1);

        altDownloadSpeedLimitSpin = new QSpinBox(speedTab);
        altDownloadSpeedLimitSpin->setObjectName(QStringLiteral("altDownloadSpeedLimitSpin"));
        altDownloadSpeedLimitSpin->setMaximum(999999999);
        altDownloadSpeedLimitSpin->setSingleStep(5);

        altSpeedLimitsSectionLayout->addWidget(altDownloadSpeedLimitSpin, 2, 1, 1, 1);

        altSpeedLimitScheduleCheck = new QCheckBox(speedTab);
        altSpeedLimitScheduleCheck->setObjectName(QStringLiteral("altSpeedLimitScheduleCheck"));
        altSpeedLimitScheduleCheck->setChecked(true);

        altSpeedLimitsSectionLayout->addWidget(altSpeedLimitScheduleCheck, 3, 0, 1, 1);

        altSpeedLimitScheduleLayout = new QHBoxLayout();
        altSpeedLimitScheduleLayout->setObjectName(QStringLiteral("altSpeedLimitScheduleLayout"));
        altSpeedLimitStartTimeEdit = new QTimeEdit(speedTab);
        altSpeedLimitStartTimeEdit->setObjectName(QStringLiteral("altSpeedLimitStartTimeEdit"));
        altSpeedLimitStartTimeEdit->setDisplayFormat(QStringLiteral("hh:mm"));

        altSpeedLimitScheduleLayout->addWidget(altSpeedLimitStartTimeEdit);

        altSpeedLimitToLabel = new QLabel(speedTab);
        altSpeedLimitToLabel->setObjectName(QStringLiteral("altSpeedLimitToLabel"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(altSpeedLimitToLabel->sizePolicy().hasHeightForWidth());
        altSpeedLimitToLabel->setSizePolicy(sizePolicy);

        altSpeedLimitScheduleLayout->addWidget(altSpeedLimitToLabel);

        altSpeedLimitEndTimeEdit = new QTimeEdit(speedTab);
        altSpeedLimitEndTimeEdit->setObjectName(QStringLiteral("altSpeedLimitEndTimeEdit"));
        altSpeedLimitEndTimeEdit->setDisplayFormat(QStringLiteral("hh:mm"));

        altSpeedLimitScheduleLayout->addWidget(altSpeedLimitEndTimeEdit);


        altSpeedLimitsSectionLayout->addLayout(altSpeedLimitScheduleLayout, 3, 1, 1, 1);

        altSpeedLimitDaysLabel = new QLabel(speedTab);
        altSpeedLimitDaysLabel->setObjectName(QStringLiteral("altSpeedLimitDaysLabel"));

        altSpeedLimitsSectionLayout->addWidget(altSpeedLimitDaysLabel, 4, 0, 1, 1);

        altSpeedLimitDaysCombo = new QComboBox(speedTab);
        altSpeedLimitDaysCombo->setObjectName(QStringLiteral("altSpeedLimitDaysCombo"));

        altSpeedLimitsSectionLayout->addWidget(altSpeedLimitDaysCombo, 4, 1, 1, 1);

        altSpeedLimitsSectionLayout->setColumnStretch(1, 1);

        speedTabLayout->addLayout(altSpeedLimitsSectionLayout);

        speedTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        speedTabLayout->addItem(speedTabBottomSpacer);

        tabs->addTab(speedTab, QString());
        downloadingTab = new QWidget();
        downloadingTab->setObjectName(QStringLiteral("downloadingTab"));
        downloadingTabLayout = new QVBoxLayout(downloadingTab);
        downloadingTabLayout->setObjectName(QStringLiteral("downloadingTabLayout"));
        addingSectionLabel = new QLabel(downloadingTab);
        addingSectionLabel->setObjectName(QStringLiteral("addingSectionLabel"));
        addingSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        downloadingTabLayout->addWidget(addingSectionLabel);

        addingSectionLayout = new QGridLayout();
        addingSectionLayout->setObjectName(QStringLiteral("addingSectionLayout"));
        addingSectionLayout->setContentsMargins(18, -1, -1, -1);
        watchDirCheck = new QCheckBox(downloadingTab);
        watchDirCheck->setObjectName(QStringLiteral("watchDirCheck"));
        watchDirCheck->setChecked(true);

        addingSectionLayout->addWidget(watchDirCheck, 0, 0, 1, 1);

        watchDirStack = new QStackedWidget(downloadingTab);
        watchDirStack->setObjectName(QStringLiteral("watchDirStack"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(watchDirStack->sizePolicy().hasHeightForWidth());
        watchDirStack->setSizePolicy(sizePolicy1);
        watchDirButton = new PathButton();
        watchDirButton->setObjectName(QStringLiteral("watchDirButton"));
        watchDirStack->addWidget(watchDirButton);
        watchDirEdit = new QLineEdit();
        watchDirEdit->setObjectName(QStringLiteral("watchDirEdit"));
        watchDirStack->addWidget(watchDirEdit);

        addingSectionLayout->addWidget(watchDirStack, 0, 1, 1, 1);

        showTorrentOptionsDialogCheck = new QCheckBox(downloadingTab);
        showTorrentOptionsDialogCheck->setObjectName(QStringLiteral("showTorrentOptionsDialogCheck"));

        addingSectionLayout->addWidget(showTorrentOptionsDialogCheck, 1, 0, 1, 2);

        startAddedTorrentsCheck = new QCheckBox(downloadingTab);
        startAddedTorrentsCheck->setObjectName(QStringLiteral("startAddedTorrentsCheck"));

        addingSectionLayout->addWidget(startAddedTorrentsCheck, 2, 0, 1, 2);

        trashTorrentFileCheck = new QCheckBox(downloadingTab);
        trashTorrentFileCheck->setObjectName(QStringLiteral("trashTorrentFileCheck"));

        addingSectionLayout->addWidget(trashTorrentFileCheck, 3, 0, 1, 2);

        downloadDirLabel = new QLabel(downloadingTab);
        downloadDirLabel->setObjectName(QStringLiteral("downloadDirLabel"));

        addingSectionLayout->addWidget(downloadDirLabel, 4, 0, 1, 1);

        downloadDirStack = new QStackedWidget(downloadingTab);
        downloadDirStack->setObjectName(QStringLiteral("downloadDirStack"));
        sizePolicy1.setHeightForWidth(downloadDirStack->sizePolicy().hasHeightForWidth());
        downloadDirStack->setSizePolicy(sizePolicy1);
        downloadDirButton = new PathButton();
        downloadDirButton->setObjectName(QStringLiteral("downloadDirButton"));
        downloadDirStack->addWidget(downloadDirButton);
        downloadDirEdit = new QLineEdit();
        downloadDirEdit->setObjectName(QStringLiteral("downloadDirEdit"));
        downloadDirStack->addWidget(downloadDirEdit);

        addingSectionLayout->addWidget(downloadDirStack, 4, 1, 1, 1);

        downloadDirFreeSpaceLabel = new FreeSpaceLabel(downloadingTab);
        downloadDirFreeSpaceLabel->setObjectName(QStringLiteral("downloadDirFreeSpaceLabel"));
        downloadDirFreeSpaceLabel->setText(QStringLiteral("..."));
        downloadDirFreeSpaceLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        addingSectionLayout->addWidget(downloadDirFreeSpaceLabel, 5, 1, 1, 1);

        addingSectionLayout->setColumnStretch(1, 1);

        downloadingTabLayout->addLayout(addingSectionLayout);

        downloadQueueSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        downloadingTabLayout->addItem(downloadQueueSectionSpacer);

        downloadQueueSectionLabel = new QLabel(downloadingTab);
        downloadQueueSectionLabel->setObjectName(QStringLiteral("downloadQueueSectionLabel"));
        downloadQueueSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        downloadingTabLayout->addWidget(downloadQueueSectionLabel);

        downloadQueueSectionLayout = new QGridLayout();
        downloadQueueSectionLayout->setObjectName(QStringLiteral("downloadQueueSectionLayout"));
        downloadQueueSectionLayout->setContentsMargins(18, -1, -1, -1);
        downloadQueueSizeLabel = new QLabel(downloadingTab);
        downloadQueueSizeLabel->setObjectName(QStringLiteral("downloadQueueSizeLabel"));

        downloadQueueSectionLayout->addWidget(downloadQueueSizeLabel, 0, 0, 1, 1);

        downloadQueueSizeSpin = new QSpinBox(downloadingTab);
        downloadQueueSizeSpin->setObjectName(QStringLiteral("downloadQueueSizeSpin"));
        downloadQueueSizeSpin->setMinimum(1);
        downloadQueueSizeSpin->setMaximum(999999999);

        downloadQueueSectionLayout->addWidget(downloadQueueSizeSpin, 0, 1, 1, 1);

        queueStalledMinutesLabel = new QLabel(downloadingTab);
        queueStalledMinutesLabel->setObjectName(QStringLiteral("queueStalledMinutesLabel"));

        downloadQueueSectionLayout->addWidget(queueStalledMinutesLabel, 1, 0, 1, 1);

        queueStalledMinutesSpin = new QSpinBox(downloadingTab);
        queueStalledMinutesSpin->setObjectName(QStringLiteral("queueStalledMinutesSpin"));
        queueStalledMinutesSpin->setSuffix(QStringLiteral(" minute(s) ago"));
        queueStalledMinutesSpin->setMinimum(1);
        queueStalledMinutesSpin->setMaximum(9999);
        queueStalledMinutesSpin->setSingleStep(5);

        downloadQueueSectionLayout->addWidget(queueStalledMinutesSpin, 1, 1, 1, 1);

        downloadQueueSectionLayout->setColumnStretch(1, 1);

        downloadingTabLayout->addLayout(downloadQueueSectionLayout);

        incompleteSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        downloadingTabLayout->addItem(incompleteSectionSpacer);

        incompleteSectionLabel = new QLabel(downloadingTab);
        incompleteSectionLabel->setObjectName(QStringLiteral("incompleteSectionLabel"));
        incompleteSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        downloadingTabLayout->addWidget(incompleteSectionLabel);

        incompleteSectionLayout = new QGridLayout();
        incompleteSectionLayout->setObjectName(QStringLiteral("incompleteSectionLayout"));
        incompleteSectionLayout->setContentsMargins(18, -1, -1, -1);
        renamePartialFilesCheck = new QCheckBox(downloadingTab);
        renamePartialFilesCheck->setObjectName(QStringLiteral("renamePartialFilesCheck"));

        incompleteSectionLayout->addWidget(renamePartialFilesCheck, 0, 0, 1, 2);

        incompleteDirCheck = new QCheckBox(downloadingTab);
        incompleteDirCheck->setObjectName(QStringLiteral("incompleteDirCheck"));
        incompleteDirCheck->setChecked(true);

        incompleteSectionLayout->addWidget(incompleteDirCheck, 1, 0, 1, 1);

        incompleteDirStack = new QStackedWidget(downloadingTab);
        incompleteDirStack->setObjectName(QStringLiteral("incompleteDirStack"));
        sizePolicy1.setHeightForWidth(incompleteDirStack->sizePolicy().hasHeightForWidth());
        incompleteDirStack->setSizePolicy(sizePolicy1);
        incompleteDirButton = new PathButton();
        incompleteDirButton->setObjectName(QStringLiteral("incompleteDirButton"));
        incompleteDirStack->addWidget(incompleteDirButton);
        incompleteDirEdit = new QLineEdit();
        incompleteDirEdit->setObjectName(QStringLiteral("incompleteDirEdit"));
        incompleteDirStack->addWidget(incompleteDirEdit);

        incompleteSectionLayout->addWidget(incompleteDirStack, 1, 1, 1, 1);

        completionScriptCheck = new QCheckBox(downloadingTab);
        completionScriptCheck->setObjectName(QStringLiteral("completionScriptCheck"));
        completionScriptCheck->setChecked(true);

        incompleteSectionLayout->addWidget(completionScriptCheck, 2, 0, 1, 1);

        completionScriptStack = new QStackedWidget(downloadingTab);
        completionScriptStack->setObjectName(QStringLiteral("completionScriptStack"));
        sizePolicy1.setHeightForWidth(completionScriptStack->sizePolicy().hasHeightForWidth());
        completionScriptStack->setSizePolicy(sizePolicy1);
        completionScriptButton = new PathButton();
        completionScriptButton->setObjectName(QStringLiteral("completionScriptButton"));
        completionScriptStack->addWidget(completionScriptButton);
        completionScriptEdit = new QLineEdit();
        completionScriptEdit->setObjectName(QStringLiteral("completionScriptEdit"));
        completionScriptStack->addWidget(completionScriptEdit);

        incompleteSectionLayout->addWidget(completionScriptStack, 2, 1, 1, 1);

        incompleteSectionLayout->setColumnStretch(1, 1);

        downloadingTabLayout->addLayout(incompleteSectionLayout);

        downloadingTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        downloadingTabLayout->addItem(downloadingTabBottomSpacer);

        tabs->addTab(downloadingTab, QString());
        seedingTab = new QWidget();
        seedingTab->setObjectName(QStringLiteral("seedingTab"));
        seedingTabLayout = new QVBoxLayout(seedingTab);
        seedingTabLayout->setObjectName(QStringLiteral("seedingTabLayout"));
        limitsSectionLabel = new QLabel(seedingTab);
        limitsSectionLabel->setObjectName(QStringLiteral("limitsSectionLabel"));
        limitsSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        seedingTabLayout->addWidget(limitsSectionLabel);

        limitsSectionLayout = new QGridLayout();
        limitsSectionLayout->setObjectName(QStringLiteral("limitsSectionLayout"));
        limitsSectionLayout->setContentsMargins(18, -1, -1, -1);
        ratioLimitCheck = new QCheckBox(seedingTab);
        ratioLimitCheck->setObjectName(QStringLiteral("ratioLimitCheck"));
        ratioLimitCheck->setChecked(true);

        limitsSectionLayout->addWidget(ratioLimitCheck, 0, 0, 1, 1);

        ratioLimitSpin = new QDoubleSpinBox(seedingTab);
        ratioLimitSpin->setObjectName(QStringLiteral("ratioLimitSpin"));
        ratioLimitSpin->setMaximum(1e+9);
        ratioLimitSpin->setSingleStep(0.5);

        limitsSectionLayout->addWidget(ratioLimitSpin, 0, 1, 1, 1);

        idleLimitCheck = new QCheckBox(seedingTab);
        idleLimitCheck->setObjectName(QStringLiteral("idleLimitCheck"));
        idleLimitCheck->setChecked(true);

        limitsSectionLayout->addWidget(idleLimitCheck, 1, 0, 1, 1);

        idleLimitSpin = new QSpinBox(seedingTab);
        idleLimitSpin->setObjectName(QStringLiteral("idleLimitSpin"));
        idleLimitSpin->setSuffix(QStringLiteral(" minute(s)"));
        idleLimitSpin->setMinimum(1);
        idleLimitSpin->setMaximum(9999);
        idleLimitSpin->setSingleStep(5);

        limitsSectionLayout->addWidget(idleLimitSpin, 1, 1, 1, 1);

        limitsSectionLayout->setColumnStretch(1, 1);

        seedingTabLayout->addLayout(limitsSectionLayout);

        seedingTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        seedingTabLayout->addItem(seedingTabBottomSpacer);

        tabs->addTab(seedingTab, QString());
        privacyTab = new QWidget();
        privacyTab->setObjectName(QStringLiteral("privacyTab"));
        privacyTabLayout = new QVBoxLayout(privacyTab);
        privacyTabLayout->setObjectName(QStringLiteral("privacyTabLayout"));
        encryptionSectionLabel = new QLabel(privacyTab);
        encryptionSectionLabel->setObjectName(QStringLiteral("encryptionSectionLabel"));
        encryptionSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        privacyTabLayout->addWidget(encryptionSectionLabel);

        encryptionSectionLayout = new QGridLayout();
        encryptionSectionLayout->setObjectName(QStringLiteral("encryptionSectionLayout"));
        encryptionSectionLayout->setContentsMargins(18, -1, -1, -1);
        encryptionModeLabel = new QLabel(privacyTab);
        encryptionModeLabel->setObjectName(QStringLiteral("encryptionModeLabel"));

        encryptionSectionLayout->addWidget(encryptionModeLabel, 0, 0, 1, 1);

        encryptionModeCombo = new QComboBox(privacyTab);
        encryptionModeCombo->setObjectName(QStringLiteral("encryptionModeCombo"));

        encryptionSectionLayout->addWidget(encryptionModeCombo, 0, 1, 1, 1);

        encryptionSectionLayout->setColumnStretch(1, 1);

        privacyTabLayout->addLayout(encryptionSectionLayout);

        blocklistSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        privacyTabLayout->addItem(blocklistSectionSpacer);

        blocklistSectionLabel = new QLabel(privacyTab);
        blocklistSectionLabel->setObjectName(QStringLiteral("blocklistSectionLabel"));
        blocklistSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        privacyTabLayout->addWidget(blocklistSectionLabel);

        blocklistSectionLayout = new QGridLayout();
        blocklistSectionLayout->setObjectName(QStringLiteral("blocklistSectionLayout"));
        blocklistSectionLayout->setContentsMargins(18, -1, -1, -1);
        blocklistCheck = new QCheckBox(privacyTab);
        blocklistCheck->setObjectName(QStringLiteral("blocklistCheck"));
        blocklistCheck->setChecked(true);

        blocklistSectionLayout->addWidget(blocklistCheck, 0, 0, 1, 1);

        blocklistEdit = new QLineEdit(privacyTab);
        blocklistEdit->setObjectName(QStringLiteral("blocklistEdit"));

        blocklistSectionLayout->addWidget(blocklistEdit, 0, 1, 1, 2);

        blocklistStatusLabel = new QLabel(privacyTab);
        blocklistStatusLabel->setObjectName(QStringLiteral("blocklistStatusLabel"));
        blocklistStatusLabel->setText(QStringLiteral("..."));

        blocklistSectionLayout->addWidget(blocklistStatusLabel, 1, 0, 1, 2);

        updateBlocklistButton = new QPushButton(privacyTab);
        updateBlocklistButton->setObjectName(QStringLiteral("updateBlocklistButton"));
        updateBlocklistButton->setAutoDefault(false);

        blocklistSectionLayout->addWidget(updateBlocklistButton, 1, 2, 1, 1);

        autoUpdateBlocklistCheck = new QCheckBox(privacyTab);
        autoUpdateBlocklistCheck->setObjectName(QStringLiteral("autoUpdateBlocklistCheck"));

        blocklistSectionLayout->addWidget(autoUpdateBlocklistCheck, 2, 0, 1, 3);

        blocklistSectionLayout->setColumnStretch(1, 1);

        privacyTabLayout->addLayout(blocklistSectionLayout);

        privacyTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        privacyTabLayout->addItem(privacyTabBottomSpacer);

        tabs->addTab(privacyTab, QString());
        networkTab = new QWidget();
        networkTab->setObjectName(QStringLiteral("networkTab"));
        networkTabLayout = new QVBoxLayout(networkTab);
        networkTabLayout->setObjectName(QStringLiteral("networkTabLayout"));
        incomingPeersSectionLabel = new QLabel(networkTab);
        incomingPeersSectionLabel->setObjectName(QStringLiteral("incomingPeersSectionLabel"));
        incomingPeersSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        networkTabLayout->addWidget(incomingPeersSectionLabel);

        incomingPeersSectionLayout = new QGridLayout();
        incomingPeersSectionLayout->setObjectName(QStringLiteral("incomingPeersSectionLayout"));
        incomingPeersSectionLayout->setContentsMargins(18, -1, -1, -1);
        peerPortLabel = new QLabel(networkTab);
        peerPortLabel->setObjectName(QStringLiteral("peerPortLabel"));

        incomingPeersSectionLayout->addWidget(peerPortLabel, 0, 0, 1, 1);

        peerPortSpin = new QSpinBox(networkTab);
        peerPortSpin->setObjectName(QStringLiteral("peerPortSpin"));
        peerPortSpin->setMinimum(1);
        peerPortSpin->setMaximum(65535);

        incomingPeersSectionLayout->addWidget(peerPortSpin, 0, 1, 1, 2);

        peerPortStatusLabel = new QLabel(networkTab);
        peerPortStatusLabel->setObjectName(QStringLiteral("peerPortStatusLabel"));

        incomingPeersSectionLayout->addWidget(peerPortStatusLabel, 1, 1, 1, 1);

        testPeerPortButton = new QPushButton(networkTab);
        testPeerPortButton->setObjectName(QStringLiteral("testPeerPortButton"));
        testPeerPortButton->setAutoDefault(false);

        incomingPeersSectionLayout->addWidget(testPeerPortButton, 1, 2, 1, 1);

        randomPeerPortCheck = new QCheckBox(networkTab);
        randomPeerPortCheck->setObjectName(QStringLiteral("randomPeerPortCheck"));

        incomingPeersSectionLayout->addWidget(randomPeerPortCheck, 2, 0, 1, 3);

        enablePortForwardingCheck = new QCheckBox(networkTab);
        enablePortForwardingCheck->setObjectName(QStringLiteral("enablePortForwardingCheck"));

        incomingPeersSectionLayout->addWidget(enablePortForwardingCheck, 3, 0, 1, 3);

        incomingPeersSectionLayout->setColumnStretch(1, 1);

        networkTabLayout->addLayout(incomingPeersSectionLayout);

        peerLimitsSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        networkTabLayout->addItem(peerLimitsSectionSpacer);

        peerLimitsSectionLabel = new QLabel(networkTab);
        peerLimitsSectionLabel->setObjectName(QStringLiteral("peerLimitsSectionLabel"));
        peerLimitsSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        networkTabLayout->addWidget(peerLimitsSectionLabel);

        peerLimitsSectionLayout = new QGridLayout();
        peerLimitsSectionLayout->setObjectName(QStringLiteral("peerLimitsSectionLayout"));
        peerLimitsSectionLayout->setContentsMargins(18, -1, -1, -1);
        torrentPeerLimitLabel = new QLabel(networkTab);
        torrentPeerLimitLabel->setObjectName(QStringLiteral("torrentPeerLimitLabel"));

        peerLimitsSectionLayout->addWidget(torrentPeerLimitLabel, 0, 0, 1, 1);

        torrentPeerLimitSpin = new QSpinBox(networkTab);
        torrentPeerLimitSpin->setObjectName(QStringLiteral("torrentPeerLimitSpin"));
        torrentPeerLimitSpin->setMinimum(1);
        torrentPeerLimitSpin->setMaximum(1024);
        torrentPeerLimitSpin->setSingleStep(5);

        peerLimitsSectionLayout->addWidget(torrentPeerLimitSpin, 0, 1, 1, 1);

        globalPeerLimitLabel = new QLabel(networkTab);
        globalPeerLimitLabel->setObjectName(QStringLiteral("globalPeerLimitLabel"));

        peerLimitsSectionLayout->addWidget(globalPeerLimitLabel, 1, 0, 1, 1);

        globalPeerLimitSpin = new QSpinBox(networkTab);
        globalPeerLimitSpin->setObjectName(QStringLiteral("globalPeerLimitSpin"));
        globalPeerLimitSpin->setMinimum(1);
        globalPeerLimitSpin->setMaximum(1024);
        globalPeerLimitSpin->setSingleStep(5);

        peerLimitsSectionLayout->addWidget(globalPeerLimitSpin, 1, 1, 1, 1);

        peerLimitsSectionLayout->setColumnStretch(1, 1);

        networkTabLayout->addLayout(peerLimitsSectionLayout);

        optionsSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        networkTabLayout->addItem(optionsSectionSpacer);

        optionsSectionLabel = new QLabel(networkTab);
        optionsSectionLabel->setObjectName(QStringLiteral("optionsSectionLabel"));
        optionsSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        networkTabLayout->addWidget(optionsSectionLabel);

        optionsSectionLayout = new QVBoxLayout();
        optionsSectionLayout->setObjectName(QStringLiteral("optionsSectionLayout"));
        optionsSectionLayout->setContentsMargins(18, -1, -1, -1);
        enableUtpCheck = new QCheckBox(networkTab);
        enableUtpCheck->setObjectName(QStringLiteral("enableUtpCheck"));

        optionsSectionLayout->addWidget(enableUtpCheck);

        enablePexCheck = new QCheckBox(networkTab);
        enablePexCheck->setObjectName(QStringLiteral("enablePexCheck"));

        optionsSectionLayout->addWidget(enablePexCheck);

        enableDhtCheck = new QCheckBox(networkTab);
        enableDhtCheck->setObjectName(QStringLiteral("enableDhtCheck"));

        optionsSectionLayout->addWidget(enableDhtCheck);

        enableLpdCheck = new QCheckBox(networkTab);
        enableLpdCheck->setObjectName(QStringLiteral("enableLpdCheck"));

        optionsSectionLayout->addWidget(enableLpdCheck);


        networkTabLayout->addLayout(optionsSectionLayout);

        networkTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        networkTabLayout->addItem(networkTabBottomSpacer);

        tabs->addTab(networkTab, QString());
        desktopTab = new QWidget();
        desktopTab->setObjectName(QStringLiteral("desktopTab"));
        desktopTabLayout = new QVBoxLayout(desktopTab);
        desktopTabLayout->setObjectName(QStringLiteral("desktopTabLayout"));
        desktopSectionLabel = new QLabel(desktopTab);
        desktopSectionLabel->setObjectName(QStringLiteral("desktopSectionLabel"));
        desktopSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        desktopTabLayout->addWidget(desktopSectionLabel);

        desktopSectionLayout = new QVBoxLayout();
        desktopSectionLayout->setObjectName(QStringLiteral("desktopSectionLayout"));
        desktopSectionLayout->setContentsMargins(18, -1, -1, -1);
        showTrayIconCheck = new QCheckBox(desktopTab);
        showTrayIconCheck->setObjectName(QStringLiteral("showTrayIconCheck"));

        desktopSectionLayout->addWidget(showTrayIconCheck);

        startMinimizedCheck = new QCheckBox(desktopTab);
        startMinimizedCheck->setObjectName(QStringLiteral("startMinimizedCheck"));

        desktopSectionLayout->addWidget(startMinimizedCheck);


        desktopTabLayout->addLayout(desktopSectionLayout);

        notificationSectionSpacer = new QSpacerItem(1, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        desktopTabLayout->addItem(notificationSectionSpacer);

        notificationSectionLabel = new QLabel(desktopTab);
        notificationSectionLabel->setObjectName(QStringLiteral("notificationSectionLabel"));
        notificationSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        desktopTabLayout->addWidget(notificationSectionLabel);

        notificationSectionLayout = new QVBoxLayout();
        notificationSectionLayout->setObjectName(QStringLiteral("notificationSectionLayout"));
        notificationSectionLayout->setContentsMargins(18, -1, -1, -1);
        notifyOnTorrentAddedCheck = new QCheckBox(desktopTab);
        notifyOnTorrentAddedCheck->setObjectName(QStringLiteral("notifyOnTorrentAddedCheck"));

        notificationSectionLayout->addWidget(notifyOnTorrentAddedCheck);

        notifyOnTorrentCompletedCheck = new QCheckBox(desktopTab);
        notifyOnTorrentCompletedCheck->setObjectName(QStringLiteral("notifyOnTorrentCompletedCheck"));

        notificationSectionLayout->addWidget(notifyOnTorrentCompletedCheck);

        playSoundOnTorrentCompletedCheck = new QCheckBox(desktopTab);
        playSoundOnTorrentCompletedCheck->setObjectName(QStringLiteral("playSoundOnTorrentCompletedCheck"));

        notificationSectionLayout->addWidget(playSoundOnTorrentCompletedCheck);


        desktopTabLayout->addLayout(notificationSectionLayout);

        desktopTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        desktopTabLayout->addItem(desktopTabBottomSpacer);

        tabs->addTab(desktopTab, QString());
        remoteTab = new QWidget();
        remoteTab->setObjectName(QStringLiteral("remoteTab"));
        remoteTabLayout = new QVBoxLayout(remoteTab);
        remoteTabLayout->setObjectName(QStringLiteral("remoteTabLayout"));
        remoteControlSectionLabel = new QLabel(remoteTab);
        remoteControlSectionLabel->setObjectName(QStringLiteral("remoteControlSectionLabel"));
        remoteControlSectionLabel->setStyleSheet(QStringLiteral("font-weight:bold"));

        remoteTabLayout->addWidget(remoteControlSectionLabel);

        remoteControlSectionLayout = new QGridLayout();
        remoteControlSectionLayout->setObjectName(QStringLiteral("remoteControlSectionLayout"));
        remoteControlSectionLayout->setContentsMargins(18, -1, -1, -1);
        enableRpcCheck = new QCheckBox(remoteTab);
        enableRpcCheck->setObjectName(QStringLiteral("enableRpcCheck"));
        enableRpcCheck->setChecked(true);

        remoteControlSectionLayout->addWidget(enableRpcCheck, 0, 0, 1, 2);

        openWebClientButton = new QPushButton(remoteTab);
        openWebClientButton->setObjectName(QStringLiteral("openWebClientButton"));
        openWebClientButton->setAutoDefault(false);

        remoteControlSectionLayout->addWidget(openWebClientButton, 0, 2, 1, 1);

        rpcPortLabel = new QLabel(remoteTab);
        rpcPortLabel->setObjectName(QStringLiteral("rpcPortLabel"));

        remoteControlSectionLayout->addWidget(rpcPortLabel, 1, 0, 1, 1);

        rpcPortSpin = new QSpinBox(remoteTab);
        rpcPortSpin->setObjectName(QStringLiteral("rpcPortSpin"));
        rpcPortSpin->setMinimum(1);
        rpcPortSpin->setMaximum(65535);

        remoteControlSectionLayout->addWidget(rpcPortSpin, 1, 1, 1, 2);

        requireRpcAuthCheck = new QCheckBox(remoteTab);
        requireRpcAuthCheck->setObjectName(QStringLiteral("requireRpcAuthCheck"));
        requireRpcAuthCheck->setChecked(true);

        remoteControlSectionLayout->addWidget(requireRpcAuthCheck, 2, 0, 1, 3);

        rpcUsernameLabel = new QLabel(remoteTab);
        rpcUsernameLabel->setObjectName(QStringLiteral("rpcUsernameLabel"));

        remoteControlSectionLayout->addWidget(rpcUsernameLabel, 3, 0, 1, 1);

        rpcUsernameEdit = new QLineEdit(remoteTab);
        rpcUsernameEdit->setObjectName(QStringLiteral("rpcUsernameEdit"));

        remoteControlSectionLayout->addWidget(rpcUsernameEdit, 3, 1, 1, 2);

        rpcPasswordLabel = new QLabel(remoteTab);
        rpcPasswordLabel->setObjectName(QStringLiteral("rpcPasswordLabel"));

        remoteControlSectionLayout->addWidget(rpcPasswordLabel, 4, 0, 1, 1);

        rpcPasswordEdit = new QLineEdit(remoteTab);
        rpcPasswordEdit->setObjectName(QStringLiteral("rpcPasswordEdit"));
        rpcPasswordEdit->setEchoMode(QLineEdit::Password);

        remoteControlSectionLayout->addWidget(rpcPasswordEdit, 4, 1, 1, 2);

        enableRpcWhitelistCheck = new QCheckBox(remoteTab);
        enableRpcWhitelistCheck->setObjectName(QStringLiteral("enableRpcWhitelistCheck"));
        enableRpcWhitelistCheck->setChecked(true);

        remoteControlSectionLayout->addWidget(enableRpcWhitelistCheck, 5, 0, 1, 3);

        rpcWhitelistLabel = new QLabel(remoteTab);
        rpcWhitelistLabel->setObjectName(QStringLiteral("rpcWhitelistLabel"));

        remoteControlSectionLayout->addWidget(rpcWhitelistLabel, 6, 0, 1, 1);

        rpcWhitelistEdit = new QLineEdit(remoteTab);
        rpcWhitelistEdit->setObjectName(QStringLiteral("rpcWhitelistEdit"));

        remoteControlSectionLayout->addWidget(rpcWhitelistEdit, 6, 1, 1, 2);

        remoteControlSectionLayout->setColumnStretch(1, 1);

        remoteTabLayout->addLayout(remoteControlSectionLayout);

        remoteTabBottomSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        remoteTabLayout->addItem(remoteTabBottomSpacer);

        tabs->addTab(remoteTab, QString());

        dialogLayout->addWidget(tabs);

        dialogButtons = new QDialogButtonBox(PrefsDialog);
        dialogButtons->setObjectName(QStringLiteral("dialogButtons"));
        dialogButtons->setOrientation(Qt::Horizontal);
        dialogButtons->setStandardButtons(QDialogButtonBox::Close);

        dialogLayout->addWidget(dialogButtons);

#ifndef QT_NO_SHORTCUT
        altUploadSpeedLimitLabel->setBuddy(altUploadSpeedLimitSpin);
        altDownloadSpeedLimitLabel->setBuddy(altDownloadSpeedLimitSpin);
        altSpeedLimitToLabel->setBuddy(altSpeedLimitEndTimeEdit);
        altSpeedLimitDaysLabel->setBuddy(altSpeedLimitDaysCombo);
        downloadQueueSizeLabel->setBuddy(downloadQueueSizeSpin);
        queueStalledMinutesLabel->setBuddy(queueStalledMinutesSpin);
        encryptionModeLabel->setBuddy(encryptionModeCombo);
        peerPortLabel->setBuddy(peerPortSpin);
        torrentPeerLimitLabel->setBuddy(torrentPeerLimitSpin);
        globalPeerLimitLabel->setBuddy(globalPeerLimitSpin);
        rpcPortLabel->setBuddy(rpcPortSpin);
        rpcUsernameLabel->setBuddy(rpcUsernameEdit);
        rpcPasswordLabel->setBuddy(rpcPasswordEdit);
        rpcWhitelistLabel->setBuddy(rpcWhitelistEdit);
#endif // QT_NO_SHORTCUT

        retranslateUi(PrefsDialog);
        QObject::connect(dialogButtons, SIGNAL(rejected()), PrefsDialog, SLOT(reject()));
        QObject::connect(uploadSpeedLimitCheck, SIGNAL(toggled(bool)), uploadSpeedLimitSpin, SLOT(setEnabled(bool)));
        QObject::connect(downloadSpeedLimitCheck, SIGNAL(toggled(bool)), downloadSpeedLimitSpin, SLOT(setEnabled(bool)));
        QObject::connect(ratioLimitCheck, SIGNAL(toggled(bool)), ratioLimitSpin, SLOT(setEnabled(bool)));
        QObject::connect(idleLimitCheck, SIGNAL(toggled(bool)), idleLimitSpin, SLOT(setEnabled(bool)));
        QObject::connect(watchDirCheck, SIGNAL(toggled(bool)), watchDirStack, SLOT(setEnabled(bool)));
        QObject::connect(incompleteDirCheck, SIGNAL(toggled(bool)), incompleteDirStack, SLOT(setEnabled(bool)));
        QObject::connect(completionScriptCheck, SIGNAL(toggled(bool)), completionScriptStack, SLOT(setEnabled(bool)));

        tabs->setCurrentIndex(0);


        QMetaObject::connectSlotsByName(PrefsDialog);
    } // setupUi

    void retranslateUi(QDialog *PrefsDialog)
    {
        PrefsDialog->setWindowTitle(QApplication::translate("PrefsDialog", "Transmission Preferences", Q_NULLPTR));
        speedLimitsSectionLabel->setText(QApplication::translate("PrefsDialog", "Speed Limits", Q_NULLPTR));
        uploadSpeedLimitCheck->setText(QApplication::translate("PrefsDialog", "&Upload:", Q_NULLPTR));
        downloadSpeedLimitCheck->setText(QApplication::translate("PrefsDialog", "&Download:", Q_NULLPTR));
        altSpeedLimitsSectionLabel->setText(QApplication::translate("PrefsDialog", "Alternative Speed Limits", Q_NULLPTR));
        altSpeedLimitsSectionDescriptionLabel->setText(QApplication::translate("PrefsDialog", "<small>Override normal speed limits manually or at scheduled times</small>", Q_NULLPTR));
        altUploadSpeedLimitLabel->setText(QApplication::translate("PrefsDialog", "U&pload:", Q_NULLPTR));
        altDownloadSpeedLimitLabel->setText(QApplication::translate("PrefsDialog", "Do&wnload:", Q_NULLPTR));
        altSpeedLimitScheduleCheck->setText(QApplication::translate("PrefsDialog", "&Scheduled times:", Q_NULLPTR));
        altSpeedLimitToLabel->setText(QApplication::translate("PrefsDialog", "&to", Q_NULLPTR));
        altSpeedLimitDaysLabel->setText(QApplication::translate("PrefsDialog", "&On days:", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(speedTab), QApplication::translate("PrefsDialog", "Speed", Q_NULLPTR));
        addingSectionLabel->setText(QApplication::translate("PrefsDialog", "Adding", Q_NULLPTR));
        watchDirCheck->setText(QApplication::translate("PrefsDialog", "Automatically add .torrent files &from:", Q_NULLPTR));
        showTorrentOptionsDialogCheck->setText(QApplication::translate("PrefsDialog", "Show the Torrent Options &dialog", Q_NULLPTR));
        startAddedTorrentsCheck->setText(QApplication::translate("PrefsDialog", "&Start added torrents", Q_NULLPTR));
        trashTorrentFileCheck->setText(QApplication::translate("PrefsDialog", "Mo&ve the .torrent file to the trash", Q_NULLPTR));
        downloadDirLabel->setText(QApplication::translate("PrefsDialog", "Save to &Location:", Q_NULLPTR));
        downloadQueueSectionLabel->setText(QApplication::translate("PrefsDialog", "Download Queue", Q_NULLPTR));
        downloadQueueSizeLabel->setText(QApplication::translate("PrefsDialog", "Ma&ximum active downloads:", Q_NULLPTR));
        queueStalledMinutesLabel->setText(QApplication::translate("PrefsDialog", "Download is i&nactive if data sharing stopped:", Q_NULLPTR));
        incompleteSectionLabel->setText(QApplication::translate("PrefsDialog", "Incomplete", Q_NULLPTR));
        renamePartialFilesCheck->setText(QApplication::translate("PrefsDialog", "Append \".&part\" to incomplete files' names", Q_NULLPTR));
        incompleteDirCheck->setText(QApplication::translate("PrefsDialog", "Keep &incomplete files in:", Q_NULLPTR));
        completionScriptCheck->setText(QApplication::translate("PrefsDialog", "Call scrip&t when torrent is completed:", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(downloadingTab), QApplication::translate("PrefsDialog", "Downloading", Q_NULLPTR));
        limitsSectionLabel->setText(QApplication::translate("PrefsDialog", "Limits", Q_NULLPTR));
        ratioLimitCheck->setText(QApplication::translate("PrefsDialog", "Stop seeding at &ratio:", Q_NULLPTR));
        idleLimitCheck->setText(QApplication::translate("PrefsDialog", "Stop seedi&ng if idle for:", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(seedingTab), QApplication::translate("PrefsDialog", "Seeding", Q_NULLPTR));
        encryptionSectionLabel->setText(QApplication::translate("PrefsDialog", "Encryption", Q_NULLPTR));
        encryptionModeLabel->setText(QApplication::translate("PrefsDialog", "&Encryption mode:", Q_NULLPTR));
        blocklistSectionLabel->setText(QApplication::translate("PrefsDialog", "Blocklist", Q_NULLPTR));
        blocklistCheck->setText(QApplication::translate("PrefsDialog", "Enable &blocklist:", Q_NULLPTR));
        updateBlocklistButton->setText(QApplication::translate("PrefsDialog", "&Update", Q_NULLPTR));
        autoUpdateBlocklistCheck->setText(QApplication::translate("PrefsDialog", "Enable &automatic updates", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(privacyTab), QApplication::translate("PrefsDialog", "Privacy", Q_NULLPTR));
        incomingPeersSectionLabel->setText(QApplication::translate("PrefsDialog", "Incoming Peers", Q_NULLPTR));
        peerPortLabel->setText(QApplication::translate("PrefsDialog", "&Port for incoming connections:", Q_NULLPTR));
        peerPortStatusLabel->setText(QApplication::translate("PrefsDialog", "Status unknown", Q_NULLPTR));
        testPeerPortButton->setText(QApplication::translate("PrefsDialog", "Te&st Port", Q_NULLPTR));
        randomPeerPortCheck->setText(QApplication::translate("PrefsDialog", "Pick a &random port every time Transmission is started", Q_NULLPTR));
        enablePortForwardingCheck->setText(QApplication::translate("PrefsDialog", "Use UPnP or NAT-PMP port &forwarding from my router", Q_NULLPTR));
        peerLimitsSectionLabel->setText(QApplication::translate("PrefsDialog", "Peer Limits", Q_NULLPTR));
        torrentPeerLimitLabel->setText(QApplication::translate("PrefsDialog", "Maximum peers per &torrent:", Q_NULLPTR));
        globalPeerLimitLabel->setText(QApplication::translate("PrefsDialog", "Maximum peers &overall:", Q_NULLPTR));
        optionsSectionLabel->setText(QApplication::translate("PrefsDialog", "Options", Q_NULLPTR));
#ifndef QT_NO_TOOLTIP
        enableUtpCheck->setToolTip(QApplication::translate("PrefsDialog", "uTP is a tool for reducing network congestion.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        enableUtpCheck->setText(QApplication::translate("PrefsDialog", "Enable &uTP for peer connections", Q_NULLPTR));
#ifndef QT_NO_TOOLTIP
        enablePexCheck->setToolTip(QApplication::translate("PrefsDialog", "PEX is a tool for exchanging peer lists with the peers you're connected to.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        enablePexCheck->setText(QApplication::translate("PrefsDialog", "Use PE&X to find more peers", Q_NULLPTR));
#ifndef QT_NO_TOOLTIP
        enableDhtCheck->setToolTip(QApplication::translate("PrefsDialog", "DHT is a tool for finding peers without a tracker.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        enableDhtCheck->setText(QApplication::translate("PrefsDialog", "Use &DHT to find more peers", Q_NULLPTR));
#ifndef QT_NO_TOOLTIP
        enableLpdCheck->setToolTip(QApplication::translate("PrefsDialog", "LPD is a tool for finding peers on your local network.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        enableLpdCheck->setText(QApplication::translate("PrefsDialog", "Use &Local Peer Discovery to find more peers", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(networkTab), QApplication::translate("PrefsDialog", "Network", Q_NULLPTR));
        desktopSectionLabel->setText(QApplication::translate("PrefsDialog", "Desktop", Q_NULLPTR));
        showTrayIconCheck->setText(QApplication::translate("PrefsDialog", "Show Transmission icon in the &notification area", Q_NULLPTR));
        startMinimizedCheck->setText(QApplication::translate("PrefsDialog", "Start &minimized in notification area", Q_NULLPTR));
        notificationSectionLabel->setText(QApplication::translate("PrefsDialog", "Notification", Q_NULLPTR));
        notifyOnTorrentAddedCheck->setText(QApplication::translate("PrefsDialog", "Show a notification when torrents are a&dded", Q_NULLPTR));
        notifyOnTorrentCompletedCheck->setText(QApplication::translate("PrefsDialog", "Show a notification when torrents &finish", Q_NULLPTR));
        playSoundOnTorrentCompletedCheck->setText(QApplication::translate("PrefsDialog", "Play a &sound when torrents finish", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(desktopTab), QApplication::translate("PrefsDialog", "Desktop", Q_NULLPTR));
        remoteControlSectionLabel->setText(QApplication::translate("PrefsDialog", "Remote Control", Q_NULLPTR));
        enableRpcCheck->setText(QApplication::translate("PrefsDialog", "Allow &remote access", Q_NULLPTR));
        openWebClientButton->setText(QApplication::translate("PrefsDialog", "&Open web client", Q_NULLPTR));
        rpcPortLabel->setText(QApplication::translate("PrefsDialog", "HTTP &port:", Q_NULLPTR));
        requireRpcAuthCheck->setText(QApplication::translate("PrefsDialog", "Use &authentication", Q_NULLPTR));
        rpcUsernameLabel->setText(QApplication::translate("PrefsDialog", "&Username:", Q_NULLPTR));
        rpcPasswordLabel->setText(QApplication::translate("PrefsDialog", "Pass&word:", Q_NULLPTR));
        enableRpcWhitelistCheck->setText(QApplication::translate("PrefsDialog", "Only allow these IP a&ddresses:", Q_NULLPTR));
        rpcWhitelistLabel->setText(QApplication::translate("PrefsDialog", "Addresses:", Q_NULLPTR));
        tabs->setTabText(tabs->indexOf(remoteTab), QApplication::translate("PrefsDialog", "Remote", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class PrefsDialog: public Ui_PrefsDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PREFSDIALOG_H
