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

#ifndef UI_PATCHVIEW_H
#define UI_PATCHVIEW_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "filelist.h"
#include "patchcontent.h"
#include "revdesc.h"

QT_BEGIN_NAMESPACE

class Ui_TabPatch
{
public:
    QHBoxLayout *hboxLayout;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout1;
    QLabel *textLabel;
    QRadioButton *radioButtonParent;
    QRadioButton *radioButtonHead;
    QRadioButton *radioButtonSha;
    QSpacerItem *spacerItem;
    QLineEdit *lineEditDiff;
    QToolButton *buttonFilterPatch;
    QSplitter *splitter_2;
    QSplitter *splitter;
    RevDesc *textBrowserDesc;
    PatchContent *textEditDiff;
    FileList *fileList;

    void setupUi(QWidget *TabPatch)
    {
        if (TabPatch->objectName().isEmpty())
            TabPatch->setObjectName("TabPatch");
        TabPatch->resize(704, 449);
        hboxLayout = new QHBoxLayout(TabPatch);
        hboxLayout->setSpacing(0);
        hboxLayout->setContentsMargins(11, 11, 11, 11);
        hboxLayout->setObjectName("hboxLayout");
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout = new QVBoxLayout();
        vboxLayout->setSpacing(0);
        vboxLayout->setObjectName("vboxLayout");
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName("hboxLayout1");
        hboxLayout1->setContentsMargins(2, 2, 2, 2);
        textLabel = new QLabel(TabPatch);
        textLabel->setObjectName("textLabel");
        textLabel->setWordWrap(false);

        hboxLayout1->addWidget(textLabel);

        radioButtonParent = new QRadioButton(TabPatch);
        radioButtonParent->setObjectName("radioButtonParent");
        radioButtonParent->setFocusPolicy(Qt::FocusPolicy::StrongFocus);
        radioButtonParent->setChecked(true);

        hboxLayout1->addWidget(radioButtonParent);

        radioButtonHead = new QRadioButton(TabPatch);
        radioButtonHead->setObjectName("radioButtonHead");
        radioButtonHead->setFocusPolicy(Qt::FocusPolicy::ClickFocus);

        hboxLayout1->addWidget(radioButtonHead);

        radioButtonSha = new QRadioButton(TabPatch);
        radioButtonSha->setObjectName("radioButtonSha");
        radioButtonSha->setFocusPolicy(Qt::FocusPolicy::ClickFocus);

        hboxLayout1->addWidget(radioButtonSha);

        spacerItem = new QSpacerItem(20, 0, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        hboxLayout1->addItem(spacerItem);

        lineEditDiff = new QLineEdit(TabPatch);
        lineEditDiff->setObjectName("lineEditDiff");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lineEditDiff->sizePolicy().hasHeightForWidth());
        lineEditDiff->setSizePolicy(sizePolicy);

        hboxLayout1->addWidget(lineEditDiff);

        buttonFilterPatch = new QToolButton(TabPatch);
        buttonFilterPatch->setObjectName("buttonFilterPatch");

        hboxLayout1->addWidget(buttonFilterPatch);


        vboxLayout->addLayout(hboxLayout1);

        splitter_2 = new QSplitter(TabPatch);
        splitter_2->setObjectName("splitter_2");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(splitter_2->sizePolicy().hasHeightForWidth());
        splitter_2->setSizePolicy(sizePolicy1);
        splitter_2->setOrientation(Qt::Orientation::Horizontal);
        splitter = new QSplitter(splitter_2);
        splitter->setObjectName("splitter");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy2.setHorizontalStretch(5);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(splitter->sizePolicy().hasHeightForWidth());
        splitter->setSizePolicy(sizePolicy2);
        splitter->setOrientation(Qt::Orientation::Vertical);
        textBrowserDesc = new RevDesc(splitter);
        textBrowserDesc->setObjectName("textBrowserDesc");
        textBrowserDesc->setLineWrapMode(QTextEdit::LineWrapMode::NoWrap);
        splitter->addWidget(textBrowserDesc);
        textEditDiff = new PatchContent(splitter);
        textEditDiff->setObjectName("textEditDiff");
        textEditDiff->setUndoRedoEnabled(false);
        textEditDiff->setLineWrapMode(QTextEdit::LineWrapMode::NoWrap);
        textEditDiff->setReadOnly(true);
        textEditDiff->setTextInteractionFlags(Qt::TextInteractionFlag::TextSelectableByMouse);
        splitter->addWidget(textEditDiff);
        splitter_2->addWidget(splitter);
        fileList = new FileList(splitter_2);
        fileList->setObjectName("fileList");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Ignored, QSizePolicy::Policy::Ignored);
        sizePolicy3.setHorizontalStretch(1);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(fileList->sizePolicy().hasHeightForWidth());
        fileList->setSizePolicy(sizePolicy3);
        fileList->setContextMenuPolicy(Qt::ContextMenuPolicy::CustomContextMenu);
        splitter_2->addWidget(fileList);

        vboxLayout->addWidget(splitter_2);


        hboxLayout->addLayout(vboxLayout);


        retranslateUi(TabPatch);

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

    void retranslateUi(QWidget *TabPatch)
    {
        TabPatch->setWindowTitle(QCoreApplication::translate("TabPatch", "Patch", nullptr));
        textLabel->setText(QCoreApplication::translate("TabPatch", "Diff to:", nullptr));
#if QT_CONFIG(tooltip)
        radioButtonParent->setToolTip(QCoreApplication::translate("TabPatch", "Check to diff against parent", nullptr));
#endif // QT_CONFIG(tooltip)
        radioButtonParent->setText(QCoreApplication::translate("TabPatch", "Paren&t", nullptr));
#if QT_CONFIG(shortcut)
        radioButtonParent->setShortcut(QCoreApplication::translate("TabPatch", "Alt+A", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
        radioButtonHead->setToolTip(QCoreApplication::translate("TabPatch", "Check to diff against HEAD", nullptr));
#endif // QT_CONFIG(tooltip)
        radioButtonHead->setText(QCoreApplication::translate("TabPatch", "H&EAD", nullptr));
#if QT_CONFIG(shortcut)
        radioButtonHead->setShortcut(QCoreApplication::translate("TabPatch", "Alt+E", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
        radioButtonSha->setToolTip(QCoreApplication::translate("TabPatch", "Use CTRL + right click to select a revision to diff against", nullptr));
#endif // QT_CONFIG(tooltip)
        radioButtonSha->setText(QCoreApplication::translate("TabPatch", "&SHA", nullptr));
#if QT_CONFIG(shortcut)
        radioButtonSha->setShortcut(QCoreApplication::translate("TabPatch", "Alt+S", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
        lineEditDiff->setToolTip(QCoreApplication::translate("TabPatch", "SHA value of selected revision. Use CTRL + right click to select.", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        buttonFilterPatch->setToolTip(QCoreApplication::translate("TabPatch", "Toggle view of added and removed lines (CTRL+H)", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(shortcut)
        buttonFilterPatch->setShortcut(QCoreApplication::translate("TabPatch", "Ctrl+H", nullptr));
#endif // QT_CONFIG(shortcut)
    } // retranslateUi

};

namespace Ui {
    class TabPatch: public Ui_TabPatch {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PATCHVIEW_H
