#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'playerconfigwidget.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_PLAYERCONFIGWIDGET_H
#define UI_PLAYERCONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFontComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcolorcombo.h"
#include "textoverlaywidget.h"

QT_BEGIN_NAMESPACE

class Ui_PlayerConfigWidget
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *m_grpGeneral;
    QGridLayout *gridLayout;
    QCheckBox *kcfg_UnpauseOnDoubleClick;
    QLabel *lab_SeekJumpLength;
    QSpinBox *kcfg_StepJumpLength;
    QCheckBox *kcfg_VideoAutoPlay;
    QCheckBox *kcfg_ShowPositionTimeEdit;
    QLabel *lab_StepJumpLength;
    QLabel *lab_VolumeAmplification;
    QSlider *kcfg_VolumeAmplification;
    QDoubleSpinBox *kcfg_SeekJumpLength;
    QGroupBox *m_grpSubtitles;
    QGridLayout *gridLayout_2;
    QSpinBox *kcfg_OutlineWidth;
    QLabel *lab_OutlineColor;
    KColorCombo *kcfg_OutlineColor;
    QLabel *lab_FontColor;
    KColorCombo *kcfg_FontColor;
    QLabel *lab_FontFamily;
    QFontComboBox *kcfg_FontFamily;
    QLabel *lab_OutlineWidth;
    QLabel *lab_FontSize;
    QSpinBox *kcfg_FontSize;
    QGroupBox *m_grpPreview;
    QGridLayout *gridLayout_3;
    SubtitleComposer::TextOverlayWidget *m_textOverlayWidget;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *PlayerConfigWidget)
    {
        if (PlayerConfigWidget->objectName().isEmpty())
            PlayerConfigWidget->setObjectName("PlayerConfigWidget");
        PlayerConfigWidget->resize(527, 644);
        verticalLayout = new QVBoxLayout(PlayerConfigWidget);
        verticalLayout->setObjectName("verticalLayout");
        m_grpGeneral = new QGroupBox(PlayerConfigWidget);
        m_grpGeneral->setObjectName("m_grpGeneral");
        gridLayout = new QGridLayout(m_grpGeneral);
        gridLayout->setObjectName("gridLayout");
        kcfg_UnpauseOnDoubleClick = new QCheckBox(m_grpGeneral);
        kcfg_UnpauseOnDoubleClick->setObjectName("kcfg_UnpauseOnDoubleClick");

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

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

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

        kcfg_StepJumpLength = new QSpinBox(m_grpGeneral);
        kcfg_StepJumpLength->setObjectName("kcfg_StepJumpLength");
        kcfg_StepJumpLength->setMinimum(1);
        kcfg_StepJumpLength->setMaximum(1000);

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

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

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

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

        gridLayout->addWidget(kcfg_ShowPositionTimeEdit, 6, 1, 1, 1);

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

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

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

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

        kcfg_VolumeAmplification = new QSlider(m_grpGeneral);
        kcfg_VolumeAmplification->setObjectName("kcfg_VolumeAmplification");
        kcfg_VolumeAmplification->setMinimum(0);
        kcfg_VolumeAmplification->setMaximum(30);
        kcfg_VolumeAmplification->setSingleStep(1);
        kcfg_VolumeAmplification->setPageStep(3);
        kcfg_VolumeAmplification->setOrientation(Qt::Horizontal);
        kcfg_VolumeAmplification->setTickPosition(QSlider::TicksAbove);
        kcfg_VolumeAmplification->setTickInterval(3);

        gridLayout->addWidget(kcfg_VolumeAmplification, 4, 1, 1, 1);

        kcfg_SeekJumpLength = new QDoubleSpinBox(m_grpGeneral);
        kcfg_SeekJumpLength->setObjectName("kcfg_SeekJumpLength");
        kcfg_SeekJumpLength->setDecimals(1);
        kcfg_SeekJumpLength->setMinimum(0.100000000000000);
        kcfg_SeekJumpLength->setMaximum(300.000000000000000);

        gridLayout->addWidget(kcfg_SeekJumpLength, 2, 1, 1, 1);

        gridLayout->setColumnStretch(0, 1);

        verticalLayout->addWidget(m_grpGeneral);

        m_grpSubtitles = new QGroupBox(PlayerConfigWidget);
        m_grpSubtitles->setObjectName("m_grpSubtitles");
        gridLayout_2 = new QGridLayout(m_grpSubtitles);
        gridLayout_2->setObjectName("gridLayout_2");
        kcfg_OutlineWidth = new QSpinBox(m_grpSubtitles);
        kcfg_OutlineWidth->setObjectName("kcfg_OutlineWidth");
        kcfg_OutlineWidth->setSuffix(QString::fromUtf8(""));
        kcfg_OutlineWidth->setMaximum(10);

        gridLayout_2->addWidget(kcfg_OutlineWidth, 4, 1, 1, 1);

        lab_OutlineColor = new QLabel(m_grpSubtitles);
        lab_OutlineColor->setObjectName("lab_OutlineColor");

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

        kcfg_OutlineColor = new KColorCombo(m_grpSubtitles);
        kcfg_OutlineColor->setObjectName("kcfg_OutlineColor");

        gridLayout_2->addWidget(kcfg_OutlineColor, 3, 1, 1, 1);

        lab_FontColor = new QLabel(m_grpSubtitles);
        lab_FontColor->setObjectName("lab_FontColor");

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

        kcfg_FontColor = new KColorCombo(m_grpSubtitles);
        kcfg_FontColor->setObjectName("kcfg_FontColor");

        gridLayout_2->addWidget(kcfg_FontColor, 2, 1, 1, 1);

        lab_FontFamily = new QLabel(m_grpSubtitles);
        lab_FontFamily->setObjectName("lab_FontFamily");

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

        kcfg_FontFamily = new QFontComboBox(m_grpSubtitles);
        kcfg_FontFamily->setObjectName("kcfg_FontFamily");

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

        lab_OutlineWidth = new QLabel(m_grpSubtitles);
        lab_OutlineWidth->setObjectName("lab_OutlineWidth");

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

        lab_FontSize = new QLabel(m_grpSubtitles);
        lab_FontSize->setObjectName("lab_FontSize");

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

        kcfg_FontSize = new QSpinBox(m_grpSubtitles);
        kcfg_FontSize->setObjectName("kcfg_FontSize");

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

        gridLayout_2->setColumnStretch(0, 1);

        verticalLayout->addWidget(m_grpSubtitles);

        m_grpPreview = new QGroupBox(PlayerConfigWidget);
        m_grpPreview->setObjectName("m_grpPreview");
        gridLayout_3 = new QGridLayout(m_grpPreview);
        gridLayout_3->setObjectName("gridLayout_3");
        m_textOverlayWidget = new SubtitleComposer::TextOverlayWidget(m_grpPreview);
        m_textOverlayWidget->setObjectName("m_textOverlayWidget");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(2);
        sizePolicy.setVerticalStretch(2);
        sizePolicy.setHeightForWidth(m_textOverlayWidget->sizePolicy().hasHeightForWidth());
        m_textOverlayWidget->setSizePolicy(sizePolicy);
        m_textOverlayWidget->setMinimumSize(QSize(0, 100));

        gridLayout_3->addWidget(m_textOverlayWidget, 0, 0, 1, 1);


        verticalLayout->addWidget(m_grpPreview);

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

        verticalLayout->addItem(verticalSpacer);

#if QT_CONFIG(shortcut)
        lab_SeekJumpLength->setBuddy(kcfg_SeekJumpLength);
        lab_StepJumpLength->setBuddy(kcfg_StepJumpLength);
        lab_OutlineColor->setBuddy(kcfg_OutlineColor);
        lab_FontColor->setBuddy(kcfg_FontColor);
        lab_FontFamily->setBuddy(kcfg_FontFamily);
        lab_OutlineWidth->setBuddy(kcfg_OutlineWidth);
        lab_FontSize->setBuddy(kcfg_FontSize);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(kcfg_VideoAutoPlay, kcfg_UnpauseOnDoubleClick);
        QWidget::setTabOrder(kcfg_UnpauseOnDoubleClick, kcfg_SeekJumpLength);
        QWidget::setTabOrder(kcfg_SeekJumpLength, kcfg_StepJumpLength);
        QWidget::setTabOrder(kcfg_StepJumpLength, kcfg_ShowPositionTimeEdit);
        QWidget::setTabOrder(kcfg_ShowPositionTimeEdit, kcfg_FontFamily);
        QWidget::setTabOrder(kcfg_FontFamily, kcfg_FontSize);
        QWidget::setTabOrder(kcfg_FontSize, kcfg_FontColor);
        QWidget::setTabOrder(kcfg_FontColor, kcfg_OutlineColor);
        QWidget::setTabOrder(kcfg_OutlineColor, kcfg_OutlineWidth);

        retranslateUi(PlayerConfigWidget);

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

    void retranslateUi(QWidget *PlayerConfigWidget)
    {
        m_grpGeneral->setTitle(tr2i18n("General", nullptr));
        kcfg_UnpauseOnDoubleClick->setText(tr2i18n("Resume playback after line double click", nullptr));
        lab_SeekJumpLength->setText(tr2i18n("Seconds to &jump on seek:", nullptr));
        kcfg_VideoAutoPlay->setText(tr2i18n("Start playing video when loaded", nullptr));
        kcfg_ShowPositionTimeEdit->setText(tr2i18n("Show editable position control", nullptr));
        lab_StepJumpLength->setText(tr2i18n("Fra&me step amount:", nullptr));
        lab_VolumeAmplification->setText(tr2i18n("Volume amplification:", nullptr));
        m_grpSubtitles->setTitle(tr2i18n("Subtitles", nullptr));
        lab_OutlineColor->setText(tr2i18n("Outline color:", nullptr));
        lab_FontColor->setText(tr2i18n("Te&xt color:", nullptr));
        lab_FontFamily->setText(tr2i18n("Font family:", nullptr));
        lab_OutlineWidth->setText(tr2i18n("Outline width:", nullptr));
        lab_FontSize->setText(tr2i18n("Font si&ze:", nullptr));
        m_grpPreview->setTitle(tr2i18n("Subtitles Preview", nullptr));
        (void)PlayerConfigWidget;
    } // retranslateUi

};

namespace Ui {
    class PlayerConfigWidget: public Ui_PlayerConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PLAYERCONFIGWIDGET_H

