#include <klocalizedstring.h>

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

#ifndef UI_ENCODINGDETECTDIALOG_H
#define UI_ENCODINGDETECTDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_EncodingDetectDialog
{
public:
    QVBoxLayout *verticalLayout;
    QSplitter *hsplit;
    QWidget *encodingWrap;
    QVBoxLayout *verticalLayout_2;
    QLabel *encodingLabel;
    QTreeView *encoding;
    QWidget *previewWrap;
    QVBoxLayout *verticalLayout_3;
    QLabel *previewLabel;
    QPlainTextEdit *preview;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *EncodingDetectDialog)
    {
        if (EncodingDetectDialog->objectName().isEmpty())
            EncodingDetectDialog->setObjectName("EncodingDetectDialog");
        EncodingDetectDialog->resize(946, 590);
        verticalLayout = new QVBoxLayout(EncodingDetectDialog);
        verticalLayout->setObjectName("verticalLayout");
        hsplit = new QSplitter(EncodingDetectDialog);
        hsplit->setObjectName("hsplit");
        hsplit->setOrientation(Qt::Horizontal);
        hsplit->setChildrenCollapsible(false);
        encodingWrap = new QWidget(hsplit);
        encodingWrap->setObjectName("encodingWrap");
        verticalLayout_2 = new QVBoxLayout(encodingWrap);
        verticalLayout_2->setObjectName("verticalLayout_2");
        encodingLabel = new QLabel(encodingWrap);
        encodingLabel->setObjectName("encodingLabel");

        verticalLayout_2->addWidget(encodingLabel);

        encoding = new QTreeView(encodingWrap);
        encoding->setObjectName("encoding");
        encoding->header()->setVisible(false);

        verticalLayout_2->addWidget(encoding);

        hsplit->addWidget(encodingWrap);
        previewWrap = new QWidget(hsplit);
        previewWrap->setObjectName("previewWrap");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(previewWrap->sizePolicy().hasHeightForWidth());
        previewWrap->setSizePolicy(sizePolicy);
        verticalLayout_3 = new QVBoxLayout(previewWrap);
        verticalLayout_3->setObjectName("verticalLayout_3");
        previewLabel = new QLabel(previewWrap);
        previewLabel->setObjectName("previewLabel");

        verticalLayout_3->addWidget(previewLabel);

        preview = new QPlainTextEdit(previewWrap);
        preview->setObjectName("preview");
        preview->setReadOnly(true);

        verticalLayout_3->addWidget(preview);

        hsplit->addWidget(previewWrap);

        verticalLayout->addWidget(hsplit);

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

        verticalLayout->addWidget(buttonBox);

#if QT_CONFIG(shortcut)
        encodingLabel->setBuddy(encoding);
        previewLabel->setBuddy(preview);
#endif // QT_CONFIG(shortcut)

        retranslateUi(EncodingDetectDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, EncodingDetectDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, EncodingDetectDialog, qOverload<>(&QDialog::reject));

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

    void retranslateUi(QDialog *EncodingDetectDialog)
    {
        EncodingDetectDialog->setWindowTitle(tr2i18n("Confirm detected subtitle encoding", nullptr));
        encodingLabel->setText(tr2i18n("Encoding", nullptr));
        previewLabel->setText(tr2i18n("Preview", nullptr));
    } // retranslateUi

};

namespace Ui {
    class EncodingDetectDialog: public Ui_EncodingDetectDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ENCODINGDETECTDIALOG_H

