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

#ifndef SELECT_CHARACTER_SET_DIALOG_H
#define SELECT_CHARACTER_SET_DIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "mkvtoolnix-gui/util/character_set_combo_box.h"
#include "mkvtoolnix-gui/util/elide_label.h"

namespace mtx {
namespace gui {

class Ui_SelectCharacterSetDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QLabel *title;
    QFrame *line;
    QLabel *introduction;
    QFormLayout *formLayout;
    QLabel *fileNameLabel;
    mtx::gui::Util::ElideLabel *fileName;
    QLabel *characterSetLabel;
    mtx::gui::Util::CharacterSetComboBox *characterSet;
    QVBoxLayout *verticalLayout;
    QLabel *previewLabel;
    QSpacerItem *verticalSpacer;
    QPlainTextEdit *content;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *mtx__gui__SelectCharacterSetDialog)
    {
        if (mtx__gui__SelectCharacterSetDialog->objectName().isEmpty())
            mtx__gui__SelectCharacterSetDialog->setObjectName(QStringLiteral("mtx__gui__SelectCharacterSetDialog"));
        mtx__gui__SelectCharacterSetDialog->resize(648, 362);
        verticalLayout_2 = new QVBoxLayout(mtx__gui__SelectCharacterSetDialog);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        title = new QLabel(mtx__gui__SelectCharacterSetDialog);
        title->setObjectName(QStringLiteral("title"));

        verticalLayout_2->addWidget(title);

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

        verticalLayout_2->addWidget(line);

        introduction = new QLabel(mtx__gui__SelectCharacterSetDialog);
        introduction->setObjectName(QStringLiteral("introduction"));

        verticalLayout_2->addWidget(introduction);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        fileNameLabel = new QLabel(mtx__gui__SelectCharacterSetDialog);
        fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));

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

        fileName = new mtx::gui::Util::ElideLabel(mtx__gui__SelectCharacterSetDialog);
        fileName->setObjectName(QStringLiteral("fileName"));
        fileName->setText(QStringLiteral("file name"));

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

        characterSetLabel = new QLabel(mtx__gui__SelectCharacterSetDialog);
        characterSetLabel->setObjectName(QStringLiteral("characterSetLabel"));

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

        characterSet = new mtx::gui::Util::CharacterSetComboBox(mtx__gui__SelectCharacterSetDialog);
        characterSet->setObjectName(QStringLiteral("characterSet"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(characterSet->sizePolicy().hasHeightForWidth());
        characterSet->setSizePolicy(sizePolicy);

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

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        previewLabel = new QLabel(mtx__gui__SelectCharacterSetDialog);
        previewLabel->setObjectName(QStringLiteral("previewLabel"));

        verticalLayout->addWidget(previewLabel);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer);


        formLayout->setLayout(2, QFormLayout::LabelRole, verticalLayout);

        content = new QPlainTextEdit(mtx__gui__SelectCharacterSetDialog);
        content->setObjectName(QStringLiteral("content"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(content->sizePolicy().hasHeightForWidth());
        content->setSizePolicy(sizePolicy1);
        content->setReadOnly(true);

        formLayout->setWidget(2, QFormLayout::FieldRole, content);


        verticalLayout_2->addLayout(formLayout);

        buttonBox = new QDialogButtonBox(mtx__gui__SelectCharacterSetDialog);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout_2->addWidget(buttonBox);

#ifndef QT_NO_SHORTCUT
        characterSetLabel->setBuddy(characterSet);
        previewLabel->setBuddy(content);
#endif // QT_NO_SHORTCUT

        retranslateUi(mtx__gui__SelectCharacterSetDialog);

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

    void retranslateUi(QDialog *mtx__gui__SelectCharacterSetDialog)
    {
        mtx__gui__SelectCharacterSetDialog->setWindowTitle(QTR("Select character set"));
        title->setText(QTR("Select character set"));
        introduction->setText(QTR("Please select the character set the following file is encoded in."));
        fileNameLabel->setText(QTR("File name:"));
        characterSetLabel->setText(QTR("&Character set:"));
        previewLabel->setText(QTR("Pre&view:"));
    } // retranslateUi

};

} // namespace gui
} // namespace mtx

namespace mtx {
namespace gui {
namespace Ui {
    class SelectCharacterSetDialog: public Ui_SelectCharacterSetDialog {};
} // namespace Ui
} // namespace gui
} // namespace mtx

#endif // SELECT_CHARACTER_SET_DIALOG_H
