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

#ifndef TAB_H
#define TAB_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "mkvtoolnix-gui/util/basic_line_edit.h"
#include "mkvtoolnix-gui/util/basic_tree_view.h"
#include "mkvtoolnix-gui/util/country_combo_box.h"
#include "mkvtoolnix-gui/util/elide_label.h"
#include "mkvtoolnix-gui/util/language_combo_box.h"

namespace mtx {
namespace gui {
namespace ChapterEditor {

class Ui_Tab
{
public:
    QVBoxLayout *verticalLayout_5;
    QGridLayout *gridLayout;
    QLabel *fileNameLabel;
    mtx::gui::Util::ElideLabel *fileName;
    QLabel *directoryLabel;
    mtx::gui::Util::ElideLabel *directory;
    QFrame *line;
    QSplitter *chapterEditorSplitter;
    mtx::gui::Util::BasicTreeView *elements;
    QStackedWidget *pageContainer;
    QWidget *emptyPage;
    QWidget *editionPage;
    QVBoxLayout *verticalLayout;
    QLabel *lEditionEntry;
    QFrame *line_2;
    QGridLayout *gridLayout_2;
    QLabel *lEdFlags;
    QHBoxLayout *horizontalLayout_4;
    QCheckBox *cbEdFlagDefault;
    QCheckBox *cbEdFlagHidden;
    QCheckBox *cbEdFlagOrdered;
    QSpacerItem *horizontalSpacer_2;
    QLabel *lEdUid;
    mtx::gui::Util::BasicLineEdit *leEdUid;
    QSpacerItem *verticalSpacer;
    QWidget *chapterPage;
    QVBoxLayout *verticalLayout_7;
    QLabel *lChapter;
    QFrame *line_3;
    QScrollArea *scrollArea;
    QWidget *scrollAreaWidgetContents;
    QVBoxLayout *verticalLayout_6;
    QGridLayout *gridLayout_3;
    QLabel *lChStart;
    QHBoxLayout *horizontalLayout_2;
    mtx::gui::Util::BasicLineEdit *leChStart;
    mtx::gui::Util::BasicLineEdit *leChEnd;
    QLabel *lChFlags;
    QHBoxLayout *horizontalLayout;
    QCheckBox *cbChFlagEnabled;
    QCheckBox *cbChFlagHidden;
    QSpacerItem *horizontalSpacer;
    QLabel *lChUid;
    mtx::gui::Util::BasicLineEdit *leChUid;
    QLabel *lChSegmentUid;
    mtx::gui::Util::BasicLineEdit *leChSegmentUid;
    QLabel *lChSegmentEditionUid;
    mtx::gui::Util::BasicLineEdit *leChSegmentEditionUid;
    QGroupBox *gbChNames;
    QVBoxLayout *verticalLayout_4;
    QHBoxLayout *horizontalLayout_3;
    mtx::gui::Util::BasicTreeView *tvChNames;
    QVBoxLayout *verticalLayout_3;
    QPushButton *pbChAddName;
    QPushButton *pbChRemoveName;
    QSpacerItem *verticalSpacer_2;
    QGridLayout *gridLayout_4;
    QLabel *lChName;
    mtx::gui::Util::BasicLineEdit *leChName;
    QLabel *lChNameLanguage;
    mtx::gui::Util::LanguageComboBox *cbChNameLanguage;
    QLabel *lChNameCountry;
    mtx::gui::Util::CountryComboBox *cbChNameCountry;
    QSpacerItem *verticalSpacer_3;

    void setupUi(QWidget *mtx__gui__ChapterEditor__Tab)
    {
        if (mtx__gui__ChapterEditor__Tab->objectName().isEmpty())
            mtx__gui__ChapterEditor__Tab->setObjectName(QStringLiteral("mtx__gui__ChapterEditor__Tab"));
        mtx__gui__ChapterEditor__Tab->resize(702, 552);
        mtx__gui__ChapterEditor__Tab->setWindowTitle(QStringLiteral("Form"));
        verticalLayout_5 = new QVBoxLayout(mtx__gui__ChapterEditor__Tab);
        verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        fileNameLabel = new QLabel(mtx__gui__ChapterEditor__Tab);
        fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
        fileNameLabel->setSizePolicy(sizePolicy);

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

        fileName = new mtx::gui::Util::ElideLabel(mtx__gui__ChapterEditor__Tab);
        fileName->setObjectName(QStringLiteral("fileName"));
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(fileName->sizePolicy().hasHeightForWidth());
        fileName->setSizePolicy(sizePolicy1);

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

        directoryLabel = new QLabel(mtx__gui__ChapterEditor__Tab);
        directoryLabel->setObjectName(QStringLiteral("directoryLabel"));
        sizePolicy.setHeightForWidth(directoryLabel->sizePolicy().hasHeightForWidth());
        directoryLabel->setSizePolicy(sizePolicy);

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

        directory = new mtx::gui::Util::ElideLabel(mtx__gui__ChapterEditor__Tab);
        directory->setObjectName(QStringLiteral("directory"));
        sizePolicy1.setHeightForWidth(directory->sizePolicy().hasHeightForWidth());
        directory->setSizePolicy(sizePolicy1);

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


        verticalLayout_5->addLayout(gridLayout);

        line = new QFrame(mtx__gui__ChapterEditor__Tab);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        verticalLayout_5->addWidget(line);

        chapterEditorSplitter = new QSplitter(mtx__gui__ChapterEditor__Tab);
        chapterEditorSplitter->setObjectName(QStringLiteral("chapterEditorSplitter"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(chapterEditorSplitter->sizePolicy().hasHeightForWidth());
        chapterEditorSplitter->setSizePolicy(sizePolicy2);
        chapterEditorSplitter->setOrientation(Qt::Horizontal);
        chapterEditorSplitter->setChildrenCollapsible(false);
        elements = new mtx::gui::Util::BasicTreeView(chapterEditorSplitter);
        elements->setObjectName(QStringLiteral("elements"));
        sizePolicy2.setHeightForWidth(elements->sizePolicy().hasHeightForWidth());
        elements->setSizePolicy(sizePolicy2);
        elements->setContextMenuPolicy(Qt::CustomContextMenu);
        elements->setEditTriggers(QAbstractItemView::NoEditTriggers);
        elements->setDragEnabled(true);
        elements->setDragDropMode(QAbstractItemView::InternalMove);
        elements->setDefaultDropAction(Qt::MoveAction);
        elements->setHeaderHidden(false);
        chapterEditorSplitter->addWidget(elements);
        elements->header()->setVisible(true);
        pageContainer = new QStackedWidget(chapterEditorSplitter);
        pageContainer->setObjectName(QStringLiteral("pageContainer"));
        sizePolicy2.setHeightForWidth(pageContainer->sizePolicy().hasHeightForWidth());
        pageContainer->setSizePolicy(sizePolicy2);
        emptyPage = new QWidget();
        emptyPage->setObjectName(QStringLiteral("emptyPage"));
        pageContainer->addWidget(emptyPage);
        editionPage = new QWidget();
        editionPage->setObjectName(QStringLiteral("editionPage"));
        verticalLayout = new QVBoxLayout(editionPage);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        verticalLayout->setContentsMargins(6, 0, 0, 0);
        lEditionEntry = new QLabel(editionPage);
        lEditionEntry->setObjectName(QStringLiteral("lEditionEntry"));

        verticalLayout->addWidget(lEditionEntry);

        line_2 = new QFrame(editionPage);
        line_2->setObjectName(QStringLiteral("line_2"));
        line_2->setFrameShape(QFrame::HLine);
        line_2->setFrameShadow(QFrame::Sunken);

        verticalLayout->addWidget(line_2);

        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        lEdFlags = new QLabel(editionPage);
        lEdFlags->setObjectName(QStringLiteral("lEdFlags"));

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

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        cbEdFlagDefault = new QCheckBox(editionPage);
        cbEdFlagDefault->setObjectName(QStringLiteral("cbEdFlagDefault"));

        horizontalLayout_4->addWidget(cbEdFlagDefault);

        cbEdFlagHidden = new QCheckBox(editionPage);
        cbEdFlagHidden->setObjectName(QStringLiteral("cbEdFlagHidden"));

        horizontalLayout_4->addWidget(cbEdFlagHidden);

        cbEdFlagOrdered = new QCheckBox(editionPage);
        cbEdFlagOrdered->setObjectName(QStringLiteral("cbEdFlagOrdered"));

        horizontalLayout_4->addWidget(cbEdFlagOrdered);

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

        horizontalLayout_4->addItem(horizontalSpacer_2);


        gridLayout_2->addLayout(horizontalLayout_4, 0, 1, 1, 1);

        lEdUid = new QLabel(editionPage);
        lEdUid->setObjectName(QStringLiteral("lEdUid"));

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

        leEdUid = new mtx::gui::Util::BasicLineEdit(editionPage);
        leEdUid->setObjectName(QStringLiteral("leEdUid"));

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


        verticalLayout->addLayout(gridLayout_2);

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

        verticalLayout->addItem(verticalSpacer);

        pageContainer->addWidget(editionPage);
        chapterPage = new QWidget();
        chapterPage->setObjectName(QStringLiteral("chapterPage"));
        verticalLayout_7 = new QVBoxLayout(chapterPage);
        verticalLayout_7->setObjectName(QStringLiteral("verticalLayout_7"));
        verticalLayout_7->setContentsMargins(-1, 0, 0, 0);
        lChapter = new QLabel(chapterPage);
        lChapter->setObjectName(QStringLiteral("lChapter"));
        lChapter->setText(QStringLiteral("Chapter XYZ"));

        verticalLayout_7->addWidget(lChapter);

        line_3 = new QFrame(chapterPage);
        line_3->setObjectName(QStringLiteral("line_3"));
        line_3->setFrameShape(QFrame::HLine);
        line_3->setFrameShadow(QFrame::Sunken);

        verticalLayout_7->addWidget(line_3);

        scrollArea = new QScrollArea(chapterPage);
        scrollArea->setObjectName(QStringLiteral("scrollArea"));
        scrollArea->setWidgetResizable(true);
        scrollAreaWidgetContents = new QWidget();
        scrollAreaWidgetContents->setObjectName(QStringLiteral("scrollAreaWidgetContents"));
        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 315, 433));
        verticalLayout_6 = new QVBoxLayout(scrollAreaWidgetContents);
        verticalLayout_6->setObjectName(QStringLiteral("verticalLayout_6"));
        gridLayout_3 = new QGridLayout();
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        lChStart = new QLabel(scrollAreaWidgetContents);
        lChStart->setObjectName(QStringLiteral("lChStart"));

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        leChStart = new mtx::gui::Util::BasicLineEdit(scrollAreaWidgetContents);
        leChStart->setObjectName(QStringLiteral("leChStart"));

        horizontalLayout_2->addWidget(leChStart);

        leChEnd = new mtx::gui::Util::BasicLineEdit(scrollAreaWidgetContents);
        leChEnd->setObjectName(QStringLiteral("leChEnd"));

        horizontalLayout_2->addWidget(leChEnd);


        gridLayout_3->addLayout(horizontalLayout_2, 0, 1, 1, 1);

        lChFlags = new QLabel(scrollAreaWidgetContents);
        lChFlags->setObjectName(QStringLiteral("lChFlags"));

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        cbChFlagEnabled = new QCheckBox(scrollAreaWidgetContents);
        cbChFlagEnabled->setObjectName(QStringLiteral("cbChFlagEnabled"));

        horizontalLayout->addWidget(cbChFlagEnabled);

        cbChFlagHidden = new QCheckBox(scrollAreaWidgetContents);
        cbChFlagHidden->setObjectName(QStringLiteral("cbChFlagHidden"));

        horizontalLayout->addWidget(cbChFlagHidden);

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

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout_3->addLayout(horizontalLayout, 1, 1, 1, 1);

        lChUid = new QLabel(scrollAreaWidgetContents);
        lChUid->setObjectName(QStringLiteral("lChUid"));

        gridLayout_3->addWidget(lChUid, 2, 0, 1, 1);

        leChUid = new mtx::gui::Util::BasicLineEdit(scrollAreaWidgetContents);
        leChUid->setObjectName(QStringLiteral("leChUid"));

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

        lChSegmentUid = new QLabel(scrollAreaWidgetContents);
        lChSegmentUid->setObjectName(QStringLiteral("lChSegmentUid"));

        gridLayout_3->addWidget(lChSegmentUid, 3, 0, 1, 1);

        leChSegmentUid = new mtx::gui::Util::BasicLineEdit(scrollAreaWidgetContents);
        leChSegmentUid->setObjectName(QStringLiteral("leChSegmentUid"));

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

        lChSegmentEditionUid = new QLabel(scrollAreaWidgetContents);
        lChSegmentEditionUid->setObjectName(QStringLiteral("lChSegmentEditionUid"));

        gridLayout_3->addWidget(lChSegmentEditionUid, 4, 0, 1, 1);

        leChSegmentEditionUid = new mtx::gui::Util::BasicLineEdit(scrollAreaWidgetContents);
        leChSegmentEditionUid->setObjectName(QStringLiteral("leChSegmentEditionUid"));

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


        verticalLayout_6->addLayout(gridLayout_3);

        gbChNames = new QGroupBox(scrollAreaWidgetContents);
        gbChNames->setObjectName(QStringLiteral("gbChNames"));
        verticalLayout_4 = new QVBoxLayout(gbChNames);
        verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        tvChNames = new mtx::gui::Util::BasicTreeView(gbChNames);
        tvChNames->setObjectName(QStringLiteral("tvChNames"));
        tvChNames->setDragEnabled(true);
        tvChNames->setDragDropMode(QAbstractItemView::InternalMove);
        tvChNames->setDefaultDropAction(Qt::MoveAction);

        horizontalLayout_3->addWidget(tvChNames);

        verticalLayout_3 = new QVBoxLayout();
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        pbChAddName = new QPushButton(gbChNames);
        pbChAddName->setObjectName(QStringLiteral("pbChAddName"));
        QIcon icon;
        icon.addFile(QStringLiteral(":/icons/16x16/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
        pbChAddName->setIcon(icon);

        verticalLayout_3->addWidget(pbChAddName);

        pbChRemoveName = new QPushButton(gbChNames);
        pbChRemoveName->setObjectName(QStringLiteral("pbChRemoveName"));
        QIcon icon1;
        icon1.addFile(QStringLiteral(":/icons/16x16/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
        pbChRemoveName->setIcon(icon1);

        verticalLayout_3->addWidget(pbChRemoveName);

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

        verticalLayout_3->addItem(verticalSpacer_2);


        horizontalLayout_3->addLayout(verticalLayout_3);


        verticalLayout_4->addLayout(horizontalLayout_3);

        gridLayout_4 = new QGridLayout();
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        lChName = new QLabel(gbChNames);
        lChName->setObjectName(QStringLiteral("lChName"));

        gridLayout_4->addWidget(lChName, 0, 0, 1, 1);

        leChName = new mtx::gui::Util::BasicLineEdit(gbChNames);
        leChName->setObjectName(QStringLiteral("leChName"));

        gridLayout_4->addWidget(leChName, 0, 1, 1, 1);

        lChNameLanguage = new QLabel(gbChNames);
        lChNameLanguage->setObjectName(QStringLiteral("lChNameLanguage"));

        gridLayout_4->addWidget(lChNameLanguage, 1, 0, 1, 1);

        cbChNameLanguage = new mtx::gui::Util::LanguageComboBox(gbChNames);
        cbChNameLanguage->setObjectName(QStringLiteral("cbChNameLanguage"));

        gridLayout_4->addWidget(cbChNameLanguage, 1, 1, 1, 1);

        lChNameCountry = new QLabel(gbChNames);
        lChNameCountry->setObjectName(QStringLiteral("lChNameCountry"));

        gridLayout_4->addWidget(lChNameCountry, 2, 0, 1, 1);

        cbChNameCountry = new mtx::gui::Util::CountryComboBox(gbChNames);
        cbChNameCountry->setObjectName(QStringLiteral("cbChNameCountry"));

        gridLayout_4->addWidget(cbChNameCountry, 2, 1, 1, 1);


        verticalLayout_4->addLayout(gridLayout_4);


        verticalLayout_6->addWidget(gbChNames);

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

        verticalLayout_6->addItem(verticalSpacer_3);

        scrollArea->setWidget(scrollAreaWidgetContents);

        verticalLayout_7->addWidget(scrollArea);

        pageContainer->addWidget(chapterPage);
        chapterEditorSplitter->addWidget(pageContainer);

        verticalLayout_5->addWidget(chapterEditorSplitter);

#ifndef QT_NO_SHORTCUT
        lEdUid->setBuddy(leEdUid);
        lChStart->setBuddy(leChStart);
        lChUid->setBuddy(leChUid);
        lChSegmentUid->setBuddy(leChSegmentUid);
        lChSegmentEditionUid->setBuddy(leChSegmentEditionUid);
        lChName->setBuddy(leChName);
        lChNameLanguage->setBuddy(cbChNameLanguage);
        lChNameCountry->setBuddy(cbChNameCountry);
#endif // QT_NO_SHORTCUT

        retranslateUi(mtx__gui__ChapterEditor__Tab);

        pageContainer->setCurrentIndex(0);


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

    void retranslateUi(QWidget *mtx__gui__ChapterEditor__Tab)
    {
        fileNameLabel->setText(QTR("File name:"));
        directoryLabel->setText(QTR("Directory:"));
        lEditionEntry->setText(QTR("Edition entry"));
        lEdFlags->setText(QTR("Flags:"));
        cbEdFlagDefault->setText(QTR("&Default"));
        cbEdFlagHidden->setText(QTR("&Hidden"));
        cbEdFlagOrdered->setText(QTR("&Ordered"));
        lEdUid->setText(QTR("&UID:"));
        lChStart->setText(QTR("&Start && end:"));
        lChFlags->setText(QTR("Flags:"));
        cbChFlagEnabled->setText(QTR("&Enabled"));
        cbChFlagHidden->setText(QTR("&Hidden"));
        lChUid->setText(QTR("&UID:"));
        lChSegmentUid->setText(QTR("Seg&ment UID:"));
        lChSegmentEditionUid->setText(QTR("Segment e&dition UID:"));
        gbChNames->setTitle(QTR("Names"));
        pbChAddName->setText(QString());
        pbChRemoveName->setText(QString());
        lChName->setText(QTR("&Name:"));
        lChNameLanguage->setText(QTR("&Language:"));
        lChNameCountry->setText(QTR("&Country:"));
        Q_UNUSED(mtx__gui__ChapterEditor__Tab);
    } // retranslateUi

};

} // namespace ChapterEditor
} // namespace gui
} // namespace mtx

namespace mtx {
namespace gui {
namespace ChapterEditor {
namespace Ui {
    class Tab: public Ui_Tab {};
} // namespace Ui
} // namespace ChapterEditor
} // namespace gui
} // namespace mtx

#endif // TAB_H
