/********************************************************************************
** Form generated from reading UI file 'MakeDialog.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPlainTextEdit>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include "PathButton.h"

QT_BEGIN_NAMESPACE

class Ui_MakeDialog
{
public:
    QVBoxLayout *dialogLayout;
    QLabel *filesSectionLabel;
    QGridLayout *filesSectionLayout;
    QLabel *destinationLabel;
    PathButton *destinationButton;
    QRadioButton *sourceFolderRadio;
    PathButton *sourceFolderButton;
    QRadioButton *sourceFileRadio;
    PathButton *sourceFileButton;
    QLabel *sourceSizeLabel;
    QSpacerItem *propertiesSectionSpacer;
    QLabel *propertiesSectionLabel;
    QGridLayout *propertiesSectionLayout;
    QLabel *trackersLabel;
    QPlainTextEdit *trackersEdit;
    QLabel *trackersDescriptionLabel;
    QCheckBox *commentCheck;
    QLineEdit *commentEdit;
    QCheckBox *privateCheck;
    QDialogButtonBox *dialogButtons;

    void setupUi(QDialog *MakeDialog)
    {
        if (MakeDialog->objectName().isEmpty())
            MakeDialog->setObjectName(QString::fromUtf8("MakeDialog"));
        MakeDialog->resize(566, 426);
        MakeDialog->setAcceptDrops(true);
        dialogLayout = new QVBoxLayout(MakeDialog);
        dialogLayout->setObjectName(QString::fromUtf8("dialogLayout"));
        filesSectionLabel = new QLabel(MakeDialog);
        filesSectionLabel->setObjectName(QString::fromUtf8("filesSectionLabel"));
        filesSectionLabel->setStyleSheet(QString::fromUtf8("font-weight:bold"));

        dialogLayout->addWidget(filesSectionLabel);

        filesSectionLayout = new QGridLayout();
        filesSectionLayout->setObjectName(QString::fromUtf8("filesSectionLayout"));
        filesSectionLayout->setContentsMargins(18, -1, -1, -1);
        destinationLabel = new QLabel(MakeDialog);
        destinationLabel->setObjectName(QString::fromUtf8("destinationLabel"));

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

        destinationButton = new PathButton(MakeDialog);
        destinationButton->setObjectName(QString::fromUtf8("destinationButton"));

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

        sourceFolderRadio = new QRadioButton(MakeDialog);
        sourceFolderRadio->setObjectName(QString::fromUtf8("sourceFolderRadio"));

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

        sourceFolderButton = new PathButton(MakeDialog);
        sourceFolderButton->setObjectName(QString::fromUtf8("sourceFolderButton"));
        sourceFolderButton->setEnabled(false);

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

        sourceFileRadio = new QRadioButton(MakeDialog);
        sourceFileRadio->setObjectName(QString::fromUtf8("sourceFileRadio"));
        sourceFileRadio->setChecked(true);

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

        sourceFileButton = new PathButton(MakeDialog);
        sourceFileButton->setObjectName(QString::fromUtf8("sourceFileButton"));

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

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

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

        filesSectionLayout->setColumnStretch(1, 1);

        dialogLayout->addLayout(filesSectionLayout);

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

        dialogLayout->addItem(propertiesSectionSpacer);

        propertiesSectionLabel = new QLabel(MakeDialog);
        propertiesSectionLabel->setObjectName(QString::fromUtf8("propertiesSectionLabel"));
        propertiesSectionLabel->setStyleSheet(QString::fromUtf8("font-weight:bold"));

        dialogLayout->addWidget(propertiesSectionLabel);

        propertiesSectionLayout = new QGridLayout();
        propertiesSectionLayout->setObjectName(QString::fromUtf8("propertiesSectionLayout"));
        propertiesSectionLayout->setContentsMargins(18, -1, -1, -1);
        trackersLabel = new QLabel(MakeDialog);
        trackersLabel->setObjectName(QString::fromUtf8("trackersLabel"));
        trackersLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);

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

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

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

        trackersDescriptionLabel = new QLabel(MakeDialog);
        trackersDescriptionLabel->setObjectName(QString::fromUtf8("trackersDescriptionLabel"));

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

        commentCheck = new QCheckBox(MakeDialog);
        commentCheck->setObjectName(QString::fromUtf8("commentCheck"));

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

        commentEdit = new QLineEdit(MakeDialog);
        commentEdit->setObjectName(QString::fromUtf8("commentEdit"));
        commentEdit->setEnabled(false);

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

        privateCheck = new QCheckBox(MakeDialog);
        privateCheck->setObjectName(QString::fromUtf8("privateCheck"));

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

        propertiesSectionLayout->setColumnStretch(1, 1);

        dialogLayout->addLayout(propertiesSectionLayout);

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

        dialogLayout->addWidget(dialogButtons);

#ifndef QT_NO_SHORTCUT
        destinationLabel->setBuddy(destinationButton);
        trackersLabel->setBuddy(trackersEdit);
#endif // QT_NO_SHORTCUT

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

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

    void retranslateUi(QDialog *MakeDialog)
    {
        MakeDialog->setWindowTitle(QApplication::translate("MakeDialog", "New Torrent", 0, QApplication::UnicodeUTF8));
        filesSectionLabel->setText(QApplication::translate("MakeDialog", "Files", 0, QApplication::UnicodeUTF8));
        destinationLabel->setText(QApplication::translate("MakeDialog", "Sa&ve to:", 0, QApplication::UnicodeUTF8));
        sourceFolderRadio->setText(QApplication::translate("MakeDialog", "Source f&older:", 0, QApplication::UnicodeUTF8));
        sourceFileRadio->setText(QApplication::translate("MakeDialog", "Source &file:", 0, QApplication::UnicodeUTF8));
        propertiesSectionLabel->setText(QApplication::translate("MakeDialog", "Properties", 0, QApplication::UnicodeUTF8));
        trackersLabel->setText(QApplication::translate("MakeDialog", "&Trackers:", 0, QApplication::UnicodeUTF8));
        trackersDescriptionLabel->setText(QApplication::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.", 0, QApplication::UnicodeUTF8));
        commentCheck->setText(QApplication::translate("MakeDialog", "Co&mment:", 0, QApplication::UnicodeUTF8));
        privateCheck->setText(QApplication::translate("MakeDialog", "&Private torrent", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // UI_MAKEDIALOG_H
