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

#ifndef UI_PREFSUBTITLES_H
#define UI_PREFSUBTITLES_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "mycombobox.h"
#include "selectcolorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_PrefSubtitles
{
public:
    QVBoxLayout *vboxLayout;
    QTabWidget *subtitles_tab;
    QWidget *tab1;
    QVBoxLayout *vboxLayout1;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *textLabel5;
    QCheckBox *sub_autoload_check;
    QComboBox *sub_autoload_combo;
    QSpacerItem *spacerItem;
    QGroupBox *groupBox_3;
    QVBoxLayout *vboxLayout2;
    QHBoxLayout *hboxLayout;
    QLabel *textLabel4;
    QComboBox *font_encoding_combo;
    QSpacerItem *spacerItem1;
    QHBoxLayout *hboxLayout1;
    QCheckBox *use_enca_check;
    QComboBox *enca_lang_combo;
    QSpacerItem *spacerItem2;
    QCheckBox *subtitles_on_screeshots_check;
    QFrame *line;
    QCheckBox *use_ass_check;
    QCheckBox *freetype_check;
    QCheckBox *windowsfontdir_check;
    QSpacerItem *spacerItem3;
    QWidget *tab2;
    QGridLayout *gridLayout1;
    QStackedWidget *stackedWidget;
    QWidget *ass_subs;
    QVBoxLayout *vboxLayout3;
    QHBoxLayout *hboxLayout2;
    QLabel *ass_scale_label;
    QDoubleSpinBox *ass_font_scale_spin;
    QSpacerItem *spacerItem4;
    QLabel *label_11;
    QSpinBox *ass_line_spacing_spin;
    QWidget *styles_container;
    QGridLayout *gridLayout2;
    QGroupBox *groupBox_4;
    QVBoxLayout *vboxLayout4;
    QHBoxLayout *hboxLayout3;
    MyFontComboBox *style_font_combo;
    QHBoxLayout *hboxLayout4;
    QLabel *label;
    QSpinBox *style_size_spin;
    QSpacerItem *spacerItem5;
    QCheckBox *style_bold_check;
    QCheckBox *style_italic_check;
    QGroupBox *groupBox_7;
    QGridLayout *gridLayout3;
    QLabel *label_2;
    SelectColorButton *style_text_color_button;
    QLabel *label_3;
    SelectColorButton *style_border_color_button;
    QLabel *label_12;
    SelectColorButton *style_shadow_color_button;
    QGroupBox *groupBox_8;
    QGridLayout *gridLayout4;
    QLabel *label_7;
    QSpinBox *style_marginl_spin;
    QLabel *label_8;
    QSpinBox *style_marginr_spin;
    QLabel *label_9;
    QSpinBox *style_marginv_spin;
    QSpacerItem *spacerItem6;
    QGroupBox *groupBox_9;
    QGridLayout *gridLayout5;
    QLabel *label_4;
    QComboBox *style_alignment_combo;
    QLabel *label_6;
    QComboBox *style_valignment_combo;
    QHBoxLayout *hboxLayout5;
    QLabel *label_5;
    QComboBox *style_border_style_combo;
    QSpacerItem *spacerItem7;
    QLabel *opacity_label;
    QSlider *opacity_slider;
    QLabel *opacity_num;
    QLabel *style_outline_label;
    QDoubleSpinBox *style_outline_spin;
    QLabel *style_shadow_label;
    QDoubleSpinBox *style_shadow_spin;
    QFrame *line_3;
    QHBoxLayout *hboxLayout6;
    QCheckBox *force_ass_styles;
    QSpacerItem *spacerItem8;
    QPushButton *ass_customize_button;
    QSpacerItem *spacerItem9;
    QCheckBox *ass_custom_check;

    void setupUi(QWidget *PrefSubtitles)
    {
        if (PrefSubtitles->objectName().isEmpty())
            PrefSubtitles->setObjectName(QString::fromUtf8("PrefSubtitles"));
        PrefSubtitles->resize(613, 439);
        vboxLayout = new QVBoxLayout(PrefSubtitles);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        subtitles_tab = new QTabWidget(PrefSubtitles);
        subtitles_tab->setObjectName(QString::fromUtf8("subtitles_tab"));
        subtitles_tab->setEnabled(true);
        tab1 = new QWidget();
        tab1->setObjectName(QString::fromUtf8("tab1"));
        vboxLayout1 = new QVBoxLayout(tab1);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        groupBox = new QGroupBox(tab1);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout = new QGridLayout(groupBox);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel5 = new QLabel(groupBox);
        textLabel5->setObjectName(QString::fromUtf8("textLabel5"));
        textLabel5->setWordWrap(false);

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

        sub_autoload_check = new QCheckBox(groupBox);
        sub_autoload_check->setObjectName(QString::fromUtf8("sub_autoload_check"));

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

        sub_autoload_combo = new QComboBox(groupBox);
        sub_autoload_combo->addItem(QString());
        sub_autoload_combo->addItem(QString());
        sub_autoload_combo->addItem(QString());
        sub_autoload_combo->setObjectName(QString::fromUtf8("sub_autoload_combo"));

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

        spacerItem = new QSpacerItem(131, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem, 1, 1, 1, 1);


        vboxLayout1->addWidget(groupBox);

        groupBox_3 = new QGroupBox(tab1);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        vboxLayout2 = new QVBoxLayout(groupBox_3);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        textLabel4 = new QLabel(groupBox_3);
        textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
        textLabel4->setWordWrap(false);

        hboxLayout->addWidget(textLabel4);

        font_encoding_combo = new QComboBox(groupBox_3);
        font_encoding_combo->setObjectName(QString::fromUtf8("font_encoding_combo"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(font_encoding_combo->sizePolicy().hasHeightForWidth());
        font_encoding_combo->setSizePolicy(sizePolicy);
        font_encoding_combo->setEditable(false);

        hboxLayout->addWidget(font_encoding_combo);

        spacerItem1 = new QSpacerItem(161, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem1);


        vboxLayout2->addLayout(hboxLayout);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        hboxLayout1->setContentsMargins(-1, -1, -1, 0);
        use_enca_check = new QCheckBox(groupBox_3);
        use_enca_check->setObjectName(QString::fromUtf8("use_enca_check"));

        hboxLayout1->addWidget(use_enca_check);

        enca_lang_combo = new QComboBox(groupBox_3);
        enca_lang_combo->setObjectName(QString::fromUtf8("enca_lang_combo"));
        enca_lang_combo->setEnabled(false);
        sizePolicy.setHeightForWidth(enca_lang_combo->sizePolicy().hasHeightForWidth());
        enca_lang_combo->setSizePolicy(sizePolicy);

        hboxLayout1->addWidget(enca_lang_combo);

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

        hboxLayout1->addItem(spacerItem2);


        vboxLayout2->addLayout(hboxLayout1);


        vboxLayout1->addWidget(groupBox_3);

        subtitles_on_screeshots_check = new QCheckBox(tab1);
        subtitles_on_screeshots_check->setObjectName(QString::fromUtf8("subtitles_on_screeshots_check"));

        vboxLayout1->addWidget(subtitles_on_screeshots_check);

        line = new QFrame(tab1);
        line->setObjectName(QString::fromUtf8("line"));
        sizePolicy.setHeightForWidth(line->sizePolicy().hasHeightForWidth());
        line->setSizePolicy(sizePolicy);
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        vboxLayout1->addWidget(line);

        use_ass_check = new QCheckBox(tab1);
        use_ass_check->setObjectName(QString::fromUtf8("use_ass_check"));

        vboxLayout1->addWidget(use_ass_check);

        freetype_check = new QCheckBox(tab1);
        freetype_check->setObjectName(QString::fromUtf8("freetype_check"));

        vboxLayout1->addWidget(freetype_check);

        windowsfontdir_check = new QCheckBox(tab1);
        windowsfontdir_check->setObjectName(QString::fromUtf8("windowsfontdir_check"));

        vboxLayout1->addWidget(windowsfontdir_check);

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

        vboxLayout1->addItem(spacerItem3);

        subtitles_tab->addTab(tab1, QString());
        tab2 = new QWidget();
        tab2->setObjectName(QString::fromUtf8("tab2"));
        tab2->setEnabled(true);
        gridLayout1 = new QGridLayout(tab2);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        stackedWidget = new QStackedWidget(tab2);
        stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(stackedWidget->sizePolicy().hasHeightForWidth());
        stackedWidget->setSizePolicy(sizePolicy1);
        stackedWidget->setFrameShape(QFrame::StyledPanel);
        stackedWidget->setFrameShadow(QFrame::Sunken);
        ass_subs = new QWidget();
        ass_subs->setObjectName(QString::fromUtf8("ass_subs"));
        vboxLayout3 = new QVBoxLayout(ass_subs);
        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        ass_scale_label = new QLabel(ass_subs);
        ass_scale_label->setObjectName(QString::fromUtf8("ass_scale_label"));

        hboxLayout2->addWidget(ass_scale_label);

        ass_font_scale_spin = new QDoubleSpinBox(ass_subs);
        ass_font_scale_spin->setObjectName(QString::fromUtf8("ass_font_scale_spin"));
        QSizePolicy sizePolicy2(QSizePolicy::Maximum, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(ass_font_scale_spin->sizePolicy().hasHeightForWidth());
        ass_font_scale_spin->setSizePolicy(sizePolicy2);
        ass_font_scale_spin->setMaximum(100.000000000000000);
        ass_font_scale_spin->setSingleStep(0.200000000000000);

        hboxLayout2->addWidget(ass_font_scale_spin);

        spacerItem4 = new QSpacerItem(121, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacerItem4);

        label_11 = new QLabel(ass_subs);
        label_11->setObjectName(QString::fromUtf8("label_11"));

        hboxLayout2->addWidget(label_11);

        ass_line_spacing_spin = new QSpinBox(ass_subs);
        ass_line_spacing_spin->setObjectName(QString::fromUtf8("ass_line_spacing_spin"));
        ass_line_spacing_spin->setMinimum(-20);
        ass_line_spacing_spin->setMaximum(20);

        hboxLayout2->addWidget(ass_line_spacing_spin);


        vboxLayout3->addLayout(hboxLayout2);

        styles_container = new QWidget(ass_subs);
        styles_container->setObjectName(QString::fromUtf8("styles_container"));
        styles_container->setEnabled(true);
        gridLayout2 = new QGridLayout(styles_container);
        gridLayout2->setContentsMargins(2, 2, 2, 2);
        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
        groupBox_4 = new QGroupBox(styles_container);
        groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
        vboxLayout4 = new QVBoxLayout(groupBox_4);
        vboxLayout4->setContentsMargins(4, 4, 4, 4);
        vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        style_font_combo = new MyFontComboBox(groupBox_4);
        style_font_combo->setObjectName(QString::fromUtf8("style_font_combo"));

        hboxLayout3->addWidget(style_font_combo);


        vboxLayout4->addLayout(hboxLayout3);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
        label = new QLabel(groupBox_4);
        label->setObjectName(QString::fromUtf8("label"));

        hboxLayout4->addWidget(label);

        style_size_spin = new QSpinBox(groupBox_4);
        style_size_spin->setObjectName(QString::fromUtf8("style_size_spin"));
        QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(style_size_spin->sizePolicy().hasHeightForWidth());
        style_size_spin->setSizePolicy(sizePolicy3);
        style_size_spin->setMinimum(1);
        style_size_spin->setValue(10);

        hboxLayout4->addWidget(style_size_spin);

        spacerItem5 = new QSpacerItem(60, 20, QSizePolicy::Preferred, QSizePolicy::Minimum);

        hboxLayout4->addItem(spacerItem5);

        style_bold_check = new QCheckBox(groupBox_4);
        style_bold_check->setObjectName(QString::fromUtf8("style_bold_check"));

        hboxLayout4->addWidget(style_bold_check);

        style_italic_check = new QCheckBox(groupBox_4);
        style_italic_check->setObjectName(QString::fromUtf8("style_italic_check"));

        hboxLayout4->addWidget(style_italic_check);


        vboxLayout4->addLayout(hboxLayout4);


        gridLayout2->addWidget(groupBox_4, 0, 0, 1, 1);

        groupBox_7 = new QGroupBox(styles_container);
        groupBox_7->setObjectName(QString::fromUtf8("groupBox_7"));
        gridLayout3 = new QGridLayout(groupBox_7);
        gridLayout3->setContentsMargins(4, 4, 4, 4);
        gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
        label_2 = new QLabel(groupBox_7);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout3->addWidget(label_2, 0, 0, 1, 1);

        style_text_color_button = new SelectColorButton(groupBox_7);
        style_text_color_button->setObjectName(QString::fromUtf8("style_text_color_button"));
        QSizePolicy sizePolicy4(QSizePolicy::Minimum, QSizePolicy::Ignored);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(style_text_color_button->sizePolicy().hasHeightForWidth());
        style_text_color_button->setSizePolicy(sizePolicy4);

        gridLayout3->addWidget(style_text_color_button, 0, 1, 1, 1);

        label_3 = new QLabel(groupBox_7);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout3->addWidget(label_3, 1, 0, 1, 1);

        style_border_color_button = new SelectColorButton(groupBox_7);
        style_border_color_button->setObjectName(QString::fromUtf8("style_border_color_button"));
        sizePolicy4.setHeightForWidth(style_border_color_button->sizePolicy().hasHeightForWidth());
        style_border_color_button->setSizePolicy(sizePolicy4);

        gridLayout3->addWidget(style_border_color_button, 1, 1, 1, 1);

        label_12 = new QLabel(groupBox_7);
        label_12->setObjectName(QString::fromUtf8("label_12"));
        label_12->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout3->addWidget(label_12, 2, 0, 1, 1);

        style_shadow_color_button = new SelectColorButton(groupBox_7);
        style_shadow_color_button->setObjectName(QString::fromUtf8("style_shadow_color_button"));
        sizePolicy4.setHeightForWidth(style_shadow_color_button->sizePolicy().hasHeightForWidth());
        style_shadow_color_button->setSizePolicy(sizePolicy4);

        gridLayout3->addWidget(style_shadow_color_button, 2, 1, 1, 1);


        gridLayout2->addWidget(groupBox_7, 0, 1, 1, 1);

        groupBox_8 = new QGroupBox(styles_container);
        groupBox_8->setObjectName(QString::fromUtf8("groupBox_8"));
        gridLayout4 = new QGridLayout(groupBox_8);
        gridLayout4->setContentsMargins(4, 4, 4, 4);
        gridLayout4->setObjectName(QString::fromUtf8("gridLayout4"));
        label_7 = new QLabel(groupBox_8);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout4->addWidget(label_7, 0, 0, 1, 1);

        style_marginl_spin = new QSpinBox(groupBox_8);
        style_marginl_spin->setObjectName(QString::fromUtf8("style_marginl_spin"));
        style_marginl_spin->setMinimum(-99);

        gridLayout4->addWidget(style_marginl_spin, 0, 1, 1, 1);

        label_8 = new QLabel(groupBox_8);
        label_8->setObjectName(QString::fromUtf8("label_8"));
        label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout4->addWidget(label_8, 0, 2, 1, 1);

        style_marginr_spin = new QSpinBox(groupBox_8);
        style_marginr_spin->setObjectName(QString::fromUtf8("style_marginr_spin"));
        style_marginr_spin->setMinimum(-99);

        gridLayout4->addWidget(style_marginr_spin, 0, 3, 1, 1);

        label_9 = new QLabel(groupBox_8);
        label_9->setObjectName(QString::fromUtf8("label_9"));
        label_9->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout4->addWidget(label_9, 1, 0, 1, 1);

        style_marginv_spin = new QSpinBox(groupBox_8);
        style_marginv_spin->setObjectName(QString::fromUtf8("style_marginv_spin"));
        style_marginv_spin->setMinimum(-99);

        gridLayout4->addWidget(style_marginv_spin, 1, 1, 1, 1);

        spacerItem6 = new QSpacerItem(101, 25, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout4->addItem(spacerItem6, 1, 2, 1, 2);


        gridLayout2->addWidget(groupBox_8, 1, 0, 1, 1);

        groupBox_9 = new QGroupBox(styles_container);
        groupBox_9->setObjectName(QString::fromUtf8("groupBox_9"));
        gridLayout5 = new QGridLayout(groupBox_9);
        gridLayout5->setContentsMargins(4, 4, 4, 4);
        gridLayout5->setObjectName(QString::fromUtf8("gridLayout5"));
        label_4 = new QLabel(groupBox_9);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout5->addWidget(label_4, 0, 0, 1, 1);

        style_alignment_combo = new QComboBox(groupBox_9);
        style_alignment_combo->setObjectName(QString::fromUtf8("style_alignment_combo"));

        gridLayout5->addWidget(style_alignment_combo, 0, 1, 1, 1);

        label_6 = new QLabel(groupBox_9);
        label_6->setObjectName(QString::fromUtf8("label_6"));
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout5->addWidget(label_6, 1, 0, 1, 1);

        style_valignment_combo = new QComboBox(groupBox_9);
        style_valignment_combo->setObjectName(QString::fromUtf8("style_valignment_combo"));

        gridLayout5->addWidget(style_valignment_combo, 1, 1, 1, 1);


        gridLayout2->addWidget(groupBox_9, 1, 1, 1, 1);

        hboxLayout5 = new QHBoxLayout();
        hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
        label_5 = new QLabel(styles_container);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        hboxLayout5->addWidget(label_5);

        style_border_style_combo = new QComboBox(styles_container);
        style_border_style_combo->setObjectName(QString::fromUtf8("style_border_style_combo"));

        hboxLayout5->addWidget(style_border_style_combo);

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

        hboxLayout5->addItem(spacerItem7);

        opacity_label = new QLabel(styles_container);
        opacity_label->setObjectName(QString::fromUtf8("opacity_label"));
        opacity_label->setEnabled(false);

        hboxLayout5->addWidget(opacity_label);

        opacity_slider = new QSlider(styles_container);
        opacity_slider->setObjectName(QString::fromUtf8("opacity_slider"));
        opacity_slider->setMaximum(255);
        opacity_slider->setOrientation(Qt::Horizontal);

        hboxLayout5->addWidget(opacity_slider);

        opacity_num = new QLabel(styles_container);
        opacity_num->setObjectName(QString::fromUtf8("opacity_num"));
        opacity_num->setEnabled(false);
        opacity_num->setFrameShape(QFrame::Panel);
        opacity_num->setFrameShadow(QFrame::Sunken);
        opacity_num->setText(QString::fromUtf8("0"));

        hboxLayout5->addWidget(opacity_num);

        style_outline_label = new QLabel(styles_container);
        style_outline_label->setObjectName(QString::fromUtf8("style_outline_label"));

        hboxLayout5->addWidget(style_outline_label);

        style_outline_spin = new QDoubleSpinBox(styles_container);
        style_outline_spin->setObjectName(QString::fromUtf8("style_outline_spin"));
        style_outline_spin->setMaximum(4.000000000000000);
        style_outline_spin->setSingleStep(0.100000000000000);

        hboxLayout5->addWidget(style_outline_spin);

        style_shadow_label = new QLabel(styles_container);
        style_shadow_label->setObjectName(QString::fromUtf8("style_shadow_label"));

        hboxLayout5->addWidget(style_shadow_label);

        style_shadow_spin = new QDoubleSpinBox(styles_container);
        style_shadow_spin->setObjectName(QString::fromUtf8("style_shadow_spin"));
        style_shadow_spin->setMaximum(4.000000000000000);
        style_shadow_spin->setSingleStep(0.100000000000000);

        hboxLayout5->addWidget(style_shadow_spin);


        gridLayout2->addLayout(hboxLayout5, 2, 0, 1, 2);


        vboxLayout3->addWidget(styles_container);

        line_3 = new QFrame(ass_subs);
        line_3->setObjectName(QString::fromUtf8("line_3"));
        sizePolicy.setHeightForWidth(line_3->sizePolicy().hasHeightForWidth());
        line_3->setSizePolicy(sizePolicy);
        line_3->setFrameShape(QFrame::HLine);
        line_3->setFrameShadow(QFrame::Sunken);

        vboxLayout3->addWidget(line_3);

        hboxLayout6 = new QHBoxLayout();
        hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
        force_ass_styles = new QCheckBox(ass_subs);
        force_ass_styles->setObjectName(QString::fromUtf8("force_ass_styles"));

        hboxLayout6->addWidget(force_ass_styles);

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

        hboxLayout6->addItem(spacerItem8);

        ass_customize_button = new QPushButton(ass_subs);
        ass_customize_button->setObjectName(QString::fromUtf8("ass_customize_button"));
        ass_customize_button->setEnabled(false);

        hboxLayout6->addWidget(ass_customize_button);


        vboxLayout3->addLayout(hboxLayout6);

        spacerItem9 = new QSpacerItem(497, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout3->addItem(spacerItem9);

        stackedWidget->addWidget(ass_subs);

        gridLayout1->addWidget(stackedWidget, 1, 0, 1, 2);

        ass_custom_check = new QCheckBox(tab2);
        ass_custom_check->setObjectName(QString::fromUtf8("ass_custom_check"));

        gridLayout1->addWidget(ass_custom_check, 0, 0, 1, 1);

        subtitles_tab->addTab(tab2, QString());

        vboxLayout->addWidget(subtitles_tab);

#if QT_CONFIG(shortcut)
        textLabel5->setBuddy(sub_autoload_combo);
        textLabel4->setBuddy(font_encoding_combo);
        ass_scale_label->setBuddy(ass_font_scale_spin);
        label_11->setBuddy(ass_line_spacing_spin);
        label->setBuddy(style_size_spin);
        label_2->setBuddy(style_text_color_button);
        label_3->setBuddy(style_border_color_button);
        label_7->setBuddy(style_marginl_spin);
        label_8->setBuddy(style_marginr_spin);
        label_9->setBuddy(style_marginv_spin);
        label_4->setBuddy(style_alignment_combo);
        label_6->setBuddy(style_valignment_combo);
        label_5->setBuddy(style_border_style_combo);
        opacity_label->setBuddy(opacity_slider);
        style_outline_label->setBuddy(style_outline_spin);
        style_shadow_label->setBuddy(style_shadow_spin);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(subtitles_tab, sub_autoload_combo);
        QWidget::setTabOrder(sub_autoload_combo, sub_autoload_check);
        QWidget::setTabOrder(sub_autoload_check, font_encoding_combo);
        QWidget::setTabOrder(font_encoding_combo, use_enca_check);
        QWidget::setTabOrder(use_enca_check, enca_lang_combo);
        QWidget::setTabOrder(enca_lang_combo, subtitles_on_screeshots_check);
        QWidget::setTabOrder(subtitles_on_screeshots_check, use_ass_check);
        QWidget::setTabOrder(use_ass_check, freetype_check);
        QWidget::setTabOrder(freetype_check, windowsfontdir_check);
        QWidget::setTabOrder(windowsfontdir_check, ass_custom_check);
        QWidget::setTabOrder(ass_custom_check, ass_font_scale_spin);
        QWidget::setTabOrder(ass_font_scale_spin, ass_line_spacing_spin);
        QWidget::setTabOrder(ass_line_spacing_spin, style_font_combo);
        QWidget::setTabOrder(style_font_combo, style_size_spin);
        QWidget::setTabOrder(style_size_spin, style_bold_check);
        QWidget::setTabOrder(style_bold_check, style_italic_check);
        QWidget::setTabOrder(style_italic_check, style_text_color_button);
        QWidget::setTabOrder(style_text_color_button, style_border_color_button);
        QWidget::setTabOrder(style_border_color_button, style_shadow_color_button);
        QWidget::setTabOrder(style_shadow_color_button, style_marginl_spin);
        QWidget::setTabOrder(style_marginl_spin, style_marginr_spin);
        QWidget::setTabOrder(style_marginr_spin, style_marginv_spin);
        QWidget::setTabOrder(style_marginv_spin, style_alignment_combo);
        QWidget::setTabOrder(style_alignment_combo, style_valignment_combo);
        QWidget::setTabOrder(style_valignment_combo, style_border_style_combo);
        QWidget::setTabOrder(style_border_style_combo, opacity_slider);
        QWidget::setTabOrder(opacity_slider, style_outline_spin);
        QWidget::setTabOrder(style_outline_spin, style_shadow_spin);
        QWidget::setTabOrder(style_shadow_spin, force_ass_styles);
        QWidget::setTabOrder(force_ass_styles, ass_customize_button);

        retranslateUi(PrefSubtitles);
        QObject::connect(use_enca_check, SIGNAL(toggled(bool)), enca_lang_combo, SLOT(setEnabled(bool)));
        QObject::connect(force_ass_styles, SIGNAL(toggled(bool)), ass_customize_button, SLOT(setEnabled(bool)));
        QObject::connect(opacity_slider, SIGNAL(valueChanged(int)), opacity_num, SLOT(setNum(int)));

        subtitles_tab->setCurrentIndex(0);
        stackedWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *PrefSubtitles)
    {
        PrefSubtitles->setWindowTitle(QString());
        groupBox->setTitle(QCoreApplication::translate("PrefSubtitles", "Autoload", nullptr));
        textLabel5->setText(QCoreApplication::translate("PrefSubtitles", "Au&toload subtitles files (*.srt, *.sub...):", nullptr));
        sub_autoload_check->setText(QCoreApplication::translate("PrefSubtitles", "S&elect first available subtitle", nullptr));
        sub_autoload_combo->setItemText(0, QCoreApplication::translate("PrefSubtitles", "Same name as movie", nullptr));
        sub_autoload_combo->setItemText(1, QCoreApplication::translate("PrefSubtitles", "All subtitles containing the movie name", nullptr));
        sub_autoload_combo->setItemText(2, QCoreApplication::translate("PrefSubtitles", "All subtitles in the directory", nullptr));

        groupBox_3->setTitle(QCoreApplication::translate("PrefSubtitles", "Encoding", nullptr));
        textLabel4->setText(QCoreApplication::translate("PrefSubtitles", "&Default subtitle encoding:", nullptr));
        use_enca_check->setText(QCoreApplication::translate("PrefSubtitles", "Try to a&utodetect for this language:", nullptr));
        subtitles_on_screeshots_check->setText(QCoreApplication::translate("PrefSubtitles", "&Include subtitles on screenshots", nullptr));
        use_ass_check->setText(QCoreApplication::translate("PrefSubtitles", "Use the &ASS library", nullptr));
        freetype_check->setText(QCoreApplication::translate("PrefSubtitles", "Freet&ype support", nullptr));
        windowsfontdir_check->setText(QCoreApplication::translate("PrefSubtitles", "Enable &Windows fonts", nullptr));
        subtitles_tab->setTabText(subtitles_tab->indexOf(tab1), QCoreApplication::translate("PrefSubtitles", "&Subtitles", nullptr));
        ass_scale_label->setText(QCoreApplication::translate("PrefSubtitles", "Defa&ult scale:", nullptr));
        label_11->setText(QCoreApplication::translate("PrefSubtitles", "&Line spacing:", nullptr));
        groupBox_4->setTitle(QCoreApplication::translate("PrefSubtitles", "Font", nullptr));
        label->setText(QCoreApplication::translate("PrefSubtitles", "Si&ze:", nullptr));
        style_bold_check->setText(QCoreApplication::translate("PrefSubtitles", "Bol&d", nullptr));
        style_italic_check->setText(QCoreApplication::translate("PrefSubtitles", "&Italic", nullptr));
        groupBox_7->setTitle(QCoreApplication::translate("PrefSubtitles", "Colors", nullptr));
        label_2->setText(QCoreApplication::translate("PrefSubtitles", "&Text:", nullptr));
        style_text_color_button->setText(QString());
        label_3->setText(QCoreApplication::translate("PrefSubtitles", "&Border:", nullptr));
        style_border_color_button->setText(QString());
        label_12->setText(QCoreApplication::translate("PrefSubtitles", "Shadow:", nullptr));
        style_shadow_color_button->setText(QString());
        groupBox_8->setTitle(QCoreApplication::translate("PrefSubtitles", "Margins", nullptr));
        label_7->setText(QCoreApplication::translate("PrefSubtitles", "L&eft:", nullptr));
        label_8->setText(QCoreApplication::translate("PrefSubtitles", "&Right:", nullptr));
        label_9->setText(QCoreApplication::translate("PrefSubtitles", "Verti&cal:", nullptr));
        groupBox_9->setTitle(QCoreApplication::translate("PrefSubtitles", "Alignment", nullptr));
        label_4->setText(QCoreApplication::translate("PrefSubtitles", "&Horizontal:", nullptr));
        label_6->setText(QCoreApplication::translate("PrefSubtitles", "&Vertical:", nullptr));
        label_5->setText(QCoreApplication::translate("PrefSubtitles", "Border st&yle:", nullptr));
        opacity_label->setText(QCoreApplication::translate("PrefSubtitles", "Opacity:", nullptr));
        style_outline_label->setText(QCoreApplication::translate("PrefSubtitles", "&Outline:", nullptr));
        style_shadow_label->setText(QCoreApplication::translate("PrefSubtitles", "Shado&w:", nullptr));
        force_ass_styles->setText(QCoreApplication::translate("PrefSubtitles", "A&pply style to ASS files too", nullptr));
        ass_customize_button->setText(QCoreApplication::translate("PrefSubtitles", "Custo&mize...", nullptr));
        ass_custom_check->setText(QCoreApplication::translate("PrefSubtitles", "Use custo&m style", nullptr));
        subtitles_tab->setTabText(subtitles_tab->indexOf(tab2), QCoreApplication::translate("PrefSubtitles", "&Font and colors", nullptr));
    } // retranslateUi

};

namespace Ui {
    class PrefSubtitles: public Ui_PrefSubtitles {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PREFSUBTITLES_H
