#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'generalconfigwidget.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_GENERALCONFIGWIDGET_H
#define UI_GENERALCONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_GeneralConfigWidget
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *m_grpGeneral;
    QGridLayout *gridLayout;
    QComboBox *kcfg_DefaultSubtitlesEncoding;
    QCheckBox *kcfg_AutomaticVideoLoad;
    QLabel *lab_DefaultSubtitlesEncoding;
    QComboBox *kcfg_TextLineBreak;
    QLabel *lab_TextLineBreak;
    QGroupBox *m_grpSubtitleLine;
    QGridLayout *gridLayout_3;
    QLabel *label_LineDuration;
    QLabel *label_4;
    QLabel *label_LinePause;
    QSpinBox *kcfg_LinePause;
    QSpinBox *kcfg_LineDuration;
    QSpinBox *kcfg_SeekOffsetOnDoubleClick;
    QLabel *label_2;
    QSpinBox *kcfg_JumpLineOffset;
    QGroupBox *m_grpQuickActions;
    QGridLayout *gridLayout_2;
    QSpinBox *kcfg_LinesQuickShiftAmount;
    QSpinBox *kcfg_GrabbedPositionCompensation;
    QLabel *label_8;
    QLabel *label_5;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *GeneralConfigWidget)
    {
        if (GeneralConfigWidget->objectName().isEmpty())
            GeneralConfigWidget->setObjectName("GeneralConfigWidget");
        GeneralConfigWidget->resize(554, 502);
        verticalLayout = new QVBoxLayout(GeneralConfigWidget);
        verticalLayout->setObjectName("verticalLayout");
        m_grpGeneral = new QGroupBox(GeneralConfigWidget);
        m_grpGeneral->setObjectName("m_grpGeneral");
        gridLayout = new QGridLayout(m_grpGeneral);
        gridLayout->setObjectName("gridLayout");
        kcfg_DefaultSubtitlesEncoding = new QComboBox(m_grpGeneral);
        kcfg_DefaultSubtitlesEncoding->setObjectName("kcfg_DefaultSubtitlesEncoding");

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

        kcfg_AutomaticVideoLoad = new QCheckBox(m_grpGeneral);
        kcfg_AutomaticVideoLoad->setObjectName("kcfg_AutomaticVideoLoad");

        gridLayout->addWidget(kcfg_AutomaticVideoLoad, 3, 1, 1, 1);

        lab_DefaultSubtitlesEncoding = new QLabel(m_grpGeneral);
        lab_DefaultSubtitlesEncoding->setObjectName("lab_DefaultSubtitlesEncoding");

        gridLayout->addWidget(lab_DefaultSubtitlesEncoding, 0, 0, 1, 1, Qt::AlignRight);

        kcfg_TextLineBreak = new QComboBox(m_grpGeneral);
        kcfg_TextLineBreak->addItem(QString());
        kcfg_TextLineBreak->addItem(QString());
        kcfg_TextLineBreak->addItem(QString());
        kcfg_TextLineBreak->setObjectName("kcfg_TextLineBreak");

        gridLayout->addWidget(kcfg_TextLineBreak, 1, 1, 1, 1);

        lab_TextLineBreak = new QLabel(m_grpGeneral);
        lab_TextLineBreak->setObjectName("lab_TextLineBreak");

        gridLayout->addWidget(lab_TextLineBreak, 1, 0, 1, 1, Qt::AlignRight);

        gridLayout->setColumnStretch(0, 1);

        verticalLayout->addWidget(m_grpGeneral);

        m_grpSubtitleLine = new QGroupBox(GeneralConfigWidget);
        m_grpSubtitleLine->setObjectName("m_grpSubtitleLine");
        gridLayout_3 = new QGridLayout(m_grpSubtitleLine);
        gridLayout_3->setObjectName("gridLayout_3");
        label_LineDuration = new QLabel(m_grpSubtitleLine);
        label_LineDuration->setObjectName("label_LineDuration");

        gridLayout_3->addWidget(label_LineDuration, 1, 0, 1, 1, Qt::AlignRight);

        label_4 = new QLabel(m_grpSubtitleLine);
        label_4->setObjectName("label_4");

        gridLayout_3->addWidget(label_4, 3, 0, 1, 1, Qt::AlignRight);

        label_LinePause = new QLabel(m_grpSubtitleLine);
        label_LinePause->setObjectName("label_LinePause");

        gridLayout_3->addWidget(label_LinePause, 2, 0, 1, 1, Qt::AlignRight);

        kcfg_LinePause = new QSpinBox(m_grpSubtitleLine);
        kcfg_LinePause->setObjectName("kcfg_LinePause");
        kcfg_LinePause->setMaximum(10000);

        gridLayout_3->addWidget(kcfg_LinePause, 2, 1, 1, 1);

        kcfg_LineDuration = new QSpinBox(m_grpSubtitleLine);
        kcfg_LineDuration->setObjectName("kcfg_LineDuration");
        kcfg_LineDuration->setMaximum(10000);

        gridLayout_3->addWidget(kcfg_LineDuration, 1, 1, 1, 1);

        kcfg_SeekOffsetOnDoubleClick = new QSpinBox(m_grpSubtitleLine);
        kcfg_SeekOffsetOnDoubleClick->setObjectName("kcfg_SeekOffsetOnDoubleClick");
        kcfg_SeekOffsetOnDoubleClick->setMaximum(10000);

        gridLayout_3->addWidget(kcfg_SeekOffsetOnDoubleClick, 3, 1, 1, 1);

        label_2 = new QLabel(m_grpSubtitleLine);
        label_2->setObjectName("label_2");

        gridLayout_3->addWidget(label_2, 4, 0, 1, 1, Qt::AlignRight);

        kcfg_JumpLineOffset = new QSpinBox(m_grpSubtitleLine);
        kcfg_JumpLineOffset->setObjectName("kcfg_JumpLineOffset");
        kcfg_JumpLineOffset->setMaximum(10000);

        gridLayout_3->addWidget(kcfg_JumpLineOffset, 4, 1, 1, 1);

        gridLayout_3->setColumnStretch(0, 1);
        gridLayout_3->setColumnStretch(1, 1);

        verticalLayout->addWidget(m_grpSubtitleLine);

        m_grpQuickActions = new QGroupBox(GeneralConfigWidget);
        m_grpQuickActions->setObjectName("m_grpQuickActions");
        gridLayout_2 = new QGridLayout(m_grpQuickActions);
        gridLayout_2->setObjectName("gridLayout_2");
        kcfg_LinesQuickShiftAmount = new QSpinBox(m_grpQuickActions);
        kcfg_LinesQuickShiftAmount->setObjectName("kcfg_LinesQuickShiftAmount");
        kcfg_LinesQuickShiftAmount->setMaximum(1000);

        gridLayout_2->addWidget(kcfg_LinesQuickShiftAmount, 0, 1, 1, 1);

        kcfg_GrabbedPositionCompensation = new QSpinBox(m_grpQuickActions);
        kcfg_GrabbedPositionCompensation->setObjectName("kcfg_GrabbedPositionCompensation");
        kcfg_GrabbedPositionCompensation->setMaximum(1000);

        gridLayout_2->addWidget(kcfg_GrabbedPositionCompensation, 1, 1, 1, 1);

        label_8 = new QLabel(m_grpQuickActions);
        label_8->setObjectName("label_8");

        gridLayout_2->addWidget(label_8, 1, 0, 1, 1, Qt::AlignRight);

        label_5 = new QLabel(m_grpQuickActions);
        label_5->setObjectName("label_5");

        gridLayout_2->addWidget(label_5, 0, 0, 1, 1, Qt::AlignRight);

        gridLayout_2->setColumnStretch(0, 1);
        gridLayout_2->setColumnStretch(1, 1);

        verticalLayout->addWidget(m_grpQuickActions);

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

        verticalLayout->addItem(verticalSpacer);

#if QT_CONFIG(shortcut)
        lab_DefaultSubtitlesEncoding->setBuddy(kcfg_DefaultSubtitlesEncoding);
        lab_TextLineBreak->setBuddy(kcfg_TextLineBreak);
        label_LineDuration->setBuddy(kcfg_LineDuration);
        label_4->setBuddy(kcfg_SeekOffsetOnDoubleClick);
        label_LinePause->setBuddy(kcfg_LinePause);
        label_2->setBuddy(kcfg_JumpLineOffset);
        label_8->setBuddy(kcfg_GrabbedPositionCompensation);
        label_5->setBuddy(kcfg_LinesQuickShiftAmount);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(kcfg_DefaultSubtitlesEncoding, kcfg_TextLineBreak);
        QWidget::setTabOrder(kcfg_TextLineBreak, kcfg_AutomaticVideoLoad);
        QWidget::setTabOrder(kcfg_AutomaticVideoLoad, kcfg_LineDuration);
        QWidget::setTabOrder(kcfg_LineDuration, kcfg_LinePause);
        QWidget::setTabOrder(kcfg_LinePause, kcfg_SeekOffsetOnDoubleClick);
        QWidget::setTabOrder(kcfg_SeekOffsetOnDoubleClick, kcfg_JumpLineOffset);
        QWidget::setTabOrder(kcfg_JumpLineOffset, kcfg_LinesQuickShiftAmount);
        QWidget::setTabOrder(kcfg_LinesQuickShiftAmount, kcfg_GrabbedPositionCompensation);

        retranslateUi(GeneralConfigWidget);

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

    void retranslateUi(QWidget *GeneralConfigWidget)
    {
        m_grpGeneral->setTitle(tr2i18n("General", nullptr));
        kcfg_AutomaticVideoLoad->setText(tr2i18n("Automatically load video file when opening a subtitle", nullptr));
        lab_DefaultSubtitlesEncoding->setText(tr2i18n("Defau&lt subtitles encoding:", nullptr));
        kcfg_TextLineBreak->setItemText(0, tr2i18n("UNIX (LF)", nullptr));
        kcfg_TextLineBreak->setItemText(1, tr2i18n("Windows (CRLF)", nullptr));
        kcfg_TextLineBreak->setItemText(2, tr2i18n("Macintosh (CR)", nullptr));

        kcfg_TextLineBreak->setCurrentText(tr2i18n("UNIX (LF)", nullptr));
        lab_TextLineBreak->setText(tr2i18n("Line break character:", nullptr));
        m_grpSubtitleLine->setTitle(tr2i18n("Subtitle Line", nullptr));
        label_LineDuration->setText(tr2i18n("Default subtitle line duration:", nullptr));
        label_4->setText(tr2i18n("On double click, &jump to show time minus:", nullptr));
        label_LinePause->setText(tr2i18n("Default pause between subtitle lines:", nullptr));
        kcfg_LinePause->setSuffix(tr2i18n(" msec", nullptr));
        kcfg_LineDuration->setSuffix(tr2i18n(" msec", nullptr));
        kcfg_SeekOffsetOnDoubleClick->setSuffix(tr2i18n(" msec", nullptr));
        label_2->setText(tr2i18n("Ju&mp to prev/next line offset:", nullptr));
        kcfg_JumpLineOffset->setSuffix(tr2i18n(" msec", nullptr));
        m_grpQuickActions->setTitle(tr2i18n("Quick Actions", nullptr));
        kcfg_LinesQuickShiftAmount->setSuffix(tr2i18n(" msec", nullptr));
        kcfg_GrabbedPositionCompensation->setSuffix(tr2i18n(" msec", nullptr));
        label_8->setText(tr2i18n("Compensation for captured &video times:", nullptr));
        label_5->setText(tr2i18n("Ti&me shift for selected lines:", nullptr));
        (void)GeneralConfigWidget;
    } // retranslateUi

};

namespace Ui {
    class GeneralConfigWidget: public Ui_GeneralConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERALCONFIGWIDGET_H

