#include <klocalizedstring.h>

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

#ifndef UI_CREATEDIALOG_H
#define UI_CREATEDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <compressionoptionswidget.h>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_CreateDialog
{
public:
    QVBoxLayout *verticalLayout;
    QVBoxLayout *vlayout;
    QFormLayout *formLayout;
    QLabel *label;
    KUrlRequester *destFolderUrlRequester;
    QLabel *label_3;
    QLineEdit *filenameLineEdit;
    QLabel *label_2;
    QComboBox *mimeComboBox;
    QLabel *label_4;
    QCheckBox *chkAddExtension;
    Kerfuffle::CompressionOptionsWidget *optionsWidget;
    QFrame *line;
    QDialogButtonBox *buttonBox;

    void setupUi(QWidget *CreateDialog)
    {
        if (CreateDialog->objectName().isEmpty())
            CreateDialog->setObjectName(QStringLiteral("CreateDialog"));
        CreateDialog->resize(502, 369);
        CreateDialog->setMinimumSize(QSize(400, 0));
        verticalLayout = new QVBoxLayout(CreateDialog);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        vlayout = new QVBoxLayout();
        vlayout->setObjectName(QStringLiteral("vlayout"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setSizeConstraint(QLayout::SetFixedSize);
        label = new QLabel(CreateDialog);
        label->setObjectName(QStringLiteral("label"));

        formLayout->setWidget(0, QFormLayout::LabelRole, label);

        destFolderUrlRequester = new KUrlRequester(CreateDialog);
        destFolderUrlRequester->setObjectName(QStringLiteral("destFolderUrlRequester"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(destFolderUrlRequester->sizePolicy().hasHeightForWidth());
        destFolderUrlRequester->setSizePolicy(sizePolicy);

        formLayout->setWidget(0, QFormLayout::FieldRole, destFolderUrlRequester);

        label_3 = new QLabel(CreateDialog);
        label_3->setObjectName(QStringLiteral("label_3"));

        formLayout->setWidget(1, QFormLayout::LabelRole, label_3);

        filenameLineEdit = new QLineEdit(CreateDialog);
        filenameLineEdit->setObjectName(QStringLiteral("filenameLineEdit"));

        formLayout->setWidget(1, QFormLayout::FieldRole, filenameLineEdit);

        label_2 = new QLabel(CreateDialog);
        label_2->setObjectName(QStringLiteral("label_2"));

        formLayout->setWidget(3, QFormLayout::LabelRole, label_2);

        mimeComboBox = new QComboBox(CreateDialog);
        mimeComboBox->setObjectName(QStringLiteral("mimeComboBox"));
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mimeComboBox->sizePolicy().hasHeightForWidth());
        mimeComboBox->setSizePolicy(sizePolicy1);

        formLayout->setWidget(3, QFormLayout::FieldRole, mimeComboBox);

        label_4 = new QLabel(CreateDialog);
        label_4->setObjectName(QStringLiteral("label_4"));

        formLayout->setWidget(4, QFormLayout::LabelRole, label_4);

        chkAddExtension = new QCheckBox(CreateDialog);
        chkAddExtension->setObjectName(QStringLiteral("chkAddExtension"));
        chkAddExtension->setText(QStringLiteral("Automatically add filename extension (extension)"));
        chkAddExtension->setChecked(true);

        formLayout->setWidget(4, QFormLayout::FieldRole, chkAddExtension);


        vlayout->addLayout(formLayout);

        optionsWidget = new Kerfuffle::CompressionOptionsWidget(CreateDialog);
        optionsWidget->setObjectName(QStringLiteral("optionsWidget"));

        vlayout->addWidget(optionsWidget);

        line = new QFrame(CreateDialog);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        vlayout->addWidget(line);

        buttonBox = new QDialogButtonBox(CreateDialog);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        vlayout->addWidget(buttonBox);


        verticalLayout->addLayout(vlayout);

        QWidget::setTabOrder(destFolderUrlRequester, filenameLineEdit);
        QWidget::setTabOrder(filenameLineEdit, mimeComboBox);

        retranslateUi(CreateDialog);

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

    void retranslateUi(QWidget *CreateDialog)
    {
        label->setText(tr2i18n("Folder:", 0));
        label_3->setText(tr2i18n("Filename:", 0));
        filenameLineEdit->setPlaceholderText(tr2i18n("Type archive name...", 0));
        label_2->setText(tr2i18n("Type:", 0));
        label_4->setText(tr2i18n("Extension:", 0));
        Q_UNUSED(CreateDialog);
    } // retranslateUi

};

namespace Ui {
    class CreateDialog: public Ui_CreateDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CREATEDIALOG_H

