#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'vobsubinputinitdialog.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_VOBSUBINPUTINITDIALOG_H
#define UI_VOBSUBINPUTINITDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_VobSubInputInitDialog
{
public:
    QGridLayout *gridLayout;
    QLabel *labelStream;
    QComboBox *comboStream;
    QGroupBox *grpPostProc;
    QVBoxLayout *verticalLayout;
    QCheckBox *ppSpaceNumber;
    QCheckBox *ppSpacePunct;
    QCheckBox *ppSpaceParen;
    QCheckBox *ppAposQuote;
    QCheckBox *ppCharsOCR;
    QDialogButtonBox *buttonBox;
    QSpacerItem *verticalSpacer;
    QGroupBox *grpSettings;
    QVBoxLayout *verticalLayout_2;
    QLabel *labWhitespace;
    QSlider *hsWhitespace;

    void setupUi(QDialog *VobSubInputInitDialog)
    {
        if (VobSubInputInitDialog->objectName().isEmpty())
            VobSubInputInitDialog->setObjectName("VobSubInputInitDialog");
        VobSubInputInitDialog->resize(400, 367);
        gridLayout = new QGridLayout(VobSubInputInitDialog);
        gridLayout->setObjectName("gridLayout");
        labelStream = new QLabel(VobSubInputInitDialog);
        labelStream->setObjectName("labelStream");

        gridLayout->addWidget(labelStream, 0, 0, 1, 1);

        comboStream = new QComboBox(VobSubInputInitDialog);
        comboStream->setObjectName("comboStream");

        gridLayout->addWidget(comboStream, 0, 1, 1, 1);

        grpPostProc = new QGroupBox(VobSubInputInitDialog);
        grpPostProc->setObjectName("grpPostProc");
        verticalLayout = new QVBoxLayout(grpPostProc);
        verticalLayout->setObjectName("verticalLayout");
        ppSpaceNumber = new QCheckBox(grpPostProc);
        ppSpaceNumber->setObjectName("ppSpaceNumber");
        ppSpaceNumber->setChecked(true);

        verticalLayout->addWidget(ppSpaceNumber);

        ppSpacePunct = new QCheckBox(grpPostProc);
        ppSpacePunct->setObjectName("ppSpacePunct");
        ppSpacePunct->setChecked(true);

        verticalLayout->addWidget(ppSpacePunct);

        ppSpaceParen = new QCheckBox(grpPostProc);
        ppSpaceParen->setObjectName("ppSpaceParen");
        ppSpaceParen->setChecked(true);

        verticalLayout->addWidget(ppSpaceParen);

        ppAposQuote = new QCheckBox(grpPostProc);
        ppAposQuote->setObjectName("ppAposQuote");
        ppAposQuote->setChecked(true);

        verticalLayout->addWidget(ppAposQuote);

        ppCharsOCR = new QCheckBox(grpPostProc);
        ppCharsOCR->setObjectName("ppCharsOCR");
        ppCharsOCR->setChecked(true);

        verticalLayout->addWidget(ppCharsOCR);


        gridLayout->addWidget(grpPostProc, 5, 0, 1, 2);

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

        gridLayout->addWidget(buttonBox, 8, 0, 1, 2);

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

        gridLayout->addItem(verticalSpacer, 7, 0, 1, 2);

        grpSettings = new QGroupBox(VobSubInputInitDialog);
        grpSettings->setObjectName("grpSettings");
        verticalLayout_2 = new QVBoxLayout(grpSettings);
        verticalLayout_2->setObjectName("verticalLayout_2");
        labWhitespace = new QLabel(grpSettings);
        labWhitespace->setObjectName("labWhitespace");

        verticalLayout_2->addWidget(labWhitespace);

        hsWhitespace = new QSlider(grpSettings);
        hsWhitespace->setObjectName("hsWhitespace");
        hsWhitespace->setMaximum(20);
        hsWhitespace->setValue(10);
        hsWhitespace->setOrientation(Qt::Orientation::Horizontal);
        hsWhitespace->setTickPosition(QSlider::TickPosition::TicksAbove);
        hsWhitespace->setTickInterval(5);

        verticalLayout_2->addWidget(hsWhitespace);


        gridLayout->addWidget(grpSettings, 2, 0, 1, 2);

        gridLayout->setColumnStretch(0, 1);
        gridLayout->setColumnStretch(1, 2);
#if QT_CONFIG(shortcut)
        labWhitespace->setBuddy(hsWhitespace);
#endif // QT_CONFIG(shortcut)

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

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

    void retranslateUi(QDialog *VobSubInputInitDialog)
    {
        VobSubInputInitDialog->setWindowTitle(tr2i18n("VobSub Import", nullptr));
        labelStream->setText(tr2i18n("Stream / Language", nullptr));
        grpPostProc->setTitle(tr2i18n("Post Processing", nullptr));
        ppSpaceNumber->setText(tr2i18n("Fix space between numbers", nullptr));
        ppSpacePunct->setText(tr2i18n("Fix space around punctuation (.,;:?!)", nullptr));
        ppSpaceParen->setText(tr2i18n("Fix space around quotes and parentheses (\"()[]{})", nullptr));
        ppAposQuote->setText(tr2i18n("Fix double apostrophes/quotes", nullptr));
        ppCharsOCR->setText(tr2i18n("Fix i <-> l, 0 <-> O mistakes", nullptr));
        grpSettings->setTitle(tr2i18n("Settings", nullptr));
        labWhitespace->setText(tr2i18n("Whitespace detection threshold (pixels)", nullptr));
    } // retranslateUi

};

namespace Ui {
    class VobSubInputInitDialog: public Ui_VobSubInputInitDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // VOBSUBINPUTINITDIALOG_H

