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

#ifndef UI_MAKEDIALOG_H
#define UI_MAKEDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QVBoxLayout>
#include "PathButton.h"

QT_BEGIN_NAMESPACE

class Ui_MakeDialog
{
public:
    QVBoxLayout *dialogLayout;
    QGroupBox *filesSection;
    QGridLayout *filesSectionLayout;
    QLabel *destinationLabel;
    PathButton *destinationButton;
    QRadioButton *sourceFolderRadio;
    PathButton *sourceFolderButton;
    QRadioButton *sourceFileRadio;
    PathButton *sourceFileButton;
    QLabel *sourceSizeLabel;
    QLabel *pieceSizeLabel;
    QSlider *pieceSizeSlider;
    QGroupBox *propertiesSection;
    QGridLayout *propertiesSectionLayout;
    QLabel *trackersLabel;
    QPlainTextEdit *trackersEdit;
    QLabel *trackersDescriptionLabel;
    QCheckBox *commentCheck;
    QLineEdit *commentEdit;
    QCheckBox *sourceCheck;
    QLineEdit *sourceEdit;
    QCheckBox *privateCheck;
    QDialogButtonBox *dialogButtons;

    void setupUi(QDialog *MakeDialog)
    {
        if (MakeDialog->objectName().isEmpty())
            MakeDialog->setObjectName("MakeDialog");
        MakeDialog->resize(503, 472);
        MakeDialog->setAcceptDrops(true);
        dialogLayout = new QVBoxLayout(MakeDialog);
        dialogLayout->setObjectName("dialogLayout");
        filesSection = new QGroupBox(MakeDialog);
        filesSection->setObjectName("filesSection");
        filesSectionLayout = new QGridLayout(filesSection);
        filesSectionLayout->setObjectName("filesSectionLayout");
        destinationLabel = new QLabel(filesSection);
        destinationLabel->setObjectName("destinationLabel");

        filesSectionLayout->addWidget(destinationLabel, 0, 0, 1, 1);

        destinationButton = new PathButton(filesSection);
        destinationButton->setObjectName("destinationButton");

        filesSectionLayout->addWidget(destinationButton, 0, 1, 1, 1);

        sourceFolderRadio = new QRadioButton(filesSection);
        sourceFolderRadio->setObjectName("sourceFolderRadio");

        filesSectionLayout->addWidget(sourceFolderRadio, 1, 0, 1, 1);

        sourceFolderButton = new PathButton(filesSection);
        sourceFolderButton->setObjectName("sourceFolderButton");
        sourceFolderButton->setEnabled(false);

        filesSectionLayout->addWidget(sourceFolderButton, 1, 1, 1, 1);

        sourceFileRadio = new QRadioButton(filesSection);
        sourceFileRadio->setObjectName("sourceFileRadio");
        sourceFileRadio->setChecked(true);

        filesSectionLayout->addWidget(sourceFileRadio, 2, 0, 1, 1);

        sourceFileButton = new PathButton(filesSection);
        sourceFileButton->setObjectName("sourceFileButton");

        filesSectionLayout->addWidget(sourceFileButton, 2, 1, 1, 1);

        sourceSizeLabel = new QLabel(filesSection);
        sourceSizeLabel->setObjectName("sourceSizeLabel");
        sourceSizeLabel->setText(QString::fromUtf8("..."));

        filesSectionLayout->addWidget(sourceSizeLabel, 3, 1, 1, 1);

        pieceSizeLabel = new QLabel(filesSection);
        pieceSizeLabel->setObjectName("pieceSizeLabel");

        filesSectionLayout->addWidget(pieceSizeLabel, 4, 0, 1, 1);

        pieceSizeSlider = new QSlider(filesSection);
        pieceSizeSlider->setObjectName("pieceSizeSlider");
        pieceSizeSlider->setMinimum(14);
        pieceSizeSlider->setMaximum(28);
        pieceSizeSlider->setPageStep(1);
        pieceSizeSlider->setOrientation(Qt::Horizontal);

        filesSectionLayout->addWidget(pieceSizeSlider, 4, 1, 1, 1);

        filesSectionLayout->setColumnStretch(1, 1);

        dialogLayout->addWidget(filesSection);

        propertiesSection = new QGroupBox(MakeDialog);
        propertiesSection->setObjectName("propertiesSection");
        propertiesSectionLayout = new QGridLayout(propertiesSection);
        propertiesSectionLayout->setObjectName("propertiesSectionLayout");
        trackersLabel = new QLabel(propertiesSection);
        trackersLabel->setObjectName("trackersLabel");
        trackersLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);

        propertiesSectionLayout->addWidget(trackersLabel, 0, 0, 1, 1);

        trackersEdit = new QPlainTextEdit(propertiesSection);
        trackersEdit->setObjectName("trackersEdit");
        trackersEdit->setTabChangesFocus(true);
        trackersEdit->setLineWrapMode(QPlainTextEdit::NoWrap);

        propertiesSectionLayout->addWidget(trackersEdit, 0, 1, 1, 1);

        trackersDescriptionLabel = new QLabel(propertiesSection);
        trackersDescriptionLabel->setObjectName("trackersDescriptionLabel");

        propertiesSectionLayout->addWidget(trackersDescriptionLabel, 1, 1, 1, 1);

        commentCheck = new QCheckBox(propertiesSection);
        commentCheck->setObjectName("commentCheck");

        propertiesSectionLayout->addWidget(commentCheck, 2, 0, 1, 1);

        commentEdit = new QLineEdit(propertiesSection);
        commentEdit->setObjectName("commentEdit");
        commentEdit->setEnabled(false);

        propertiesSectionLayout->addWidget(commentEdit, 2, 1, 1, 1);

        sourceCheck = new QCheckBox(propertiesSection);
        sourceCheck->setObjectName("sourceCheck");

        propertiesSectionLayout->addWidget(sourceCheck, 3, 0, 1, 1);

        sourceEdit = new QLineEdit(propertiesSection);
        sourceEdit->setObjectName("sourceEdit");
        sourceEdit->setEnabled(false);

        propertiesSectionLayout->addWidget(sourceEdit, 3, 1, 1, 1);

        privateCheck = new QCheckBox(propertiesSection);
        privateCheck->setObjectName("privateCheck");

        propertiesSectionLayout->addWidget(privateCheck, 4, 0, 1, 2);

        propertiesSectionLayout->setColumnStretch(1, 1);

        dialogLayout->addWidget(propertiesSection);

        dialogButtons = new QDialogButtonBox(MakeDialog);
        dialogButtons->setObjectName("dialogButtons");
        dialogButtons->setOrientation(Qt::Horizontal);
        dialogButtons->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Ok);

        dialogLayout->addWidget(dialogButtons);

#if QT_CONFIG(shortcut)
        destinationLabel->setBuddy(destinationButton);
        pieceSizeLabel->setBuddy(pieceSizeSlider);
        trackersLabel->setBuddy(trackersEdit);
#endif // QT_CONFIG(shortcut)

        retranslateUi(MakeDialog);
        QObject::connect(commentCheck, &QCheckBox::toggled, commentEdit, &QLineEdit::setEnabled);
        QObject::connect(sourceFolderRadio, SIGNAL(toggled(bool)), sourceFolderButton, SLOT(setEnabled(bool)));
        QObject::connect(sourceFileRadio, SIGNAL(toggled(bool)), sourceFileButton, SLOT(setEnabled(bool)));
        QObject::connect(sourceCheck, &QCheckBox::toggled, sourceEdit, &QLineEdit::setEnabled);

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

    void retranslateUi(QDialog *MakeDialog)
    {
        MakeDialog->setWindowTitle(QCoreApplication::translate("MakeDialog", "New Torrent", nullptr));
        filesSection->setTitle(QCoreApplication::translate("MakeDialog", "Files", nullptr));
        destinationLabel->setText(QCoreApplication::translate("MakeDialog", "Sa&ve to:", nullptr));
        sourceFolderRadio->setText(QCoreApplication::translate("MakeDialog", "Source f&older:", nullptr));
        sourceFileRadio->setText(QCoreApplication::translate("MakeDialog", "Source &file:", nullptr));
        pieceSizeLabel->setText(QCoreApplication::translate("MakeDialog", "Piece s&ize:", nullptr));
        propertiesSection->setTitle(QCoreApplication::translate("MakeDialog", "Properties", nullptr));
        trackersLabel->setText(QCoreApplication::translate("MakeDialog", "&Trackers:", nullptr));
        trackersDescriptionLabel->setText(QCoreApplication::translate("MakeDialog", "To add a backup URL, add it on the line after the primary URL.\n"
"To add another primary URL, add it after a blank line.", nullptr));
        commentCheck->setText(QCoreApplication::translate("MakeDialog", "Co&mment:", nullptr));
        sourceCheck->setText(QCoreApplication::translate("MakeDialog", "&Source:", nullptr));
        privateCheck->setText(QCoreApplication::translate("MakeDialog", "&Private torrent", nullptr));
    } // retranslateUi

};

namespace Ui {
    class MakeDialog: public Ui_MakeDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_MAKEDIALOG_H
