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

#ifndef UI_COMMITPUSHDIALOG_H
#define UI_COMMITPUSHDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include "widgets/completiontextedit.h"

QT_BEGIN_NAMESPACE

class Ui_CommitPushDialog
{
public:
    QVBoxLayout *verticalLayout_4;
    QFormLayout *formLayout_2;
    QLabel *labelCurrentBranchName_2;
    QComboBox *comboBoxRemote;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QRadioButton *radioButtonCurrentBranch;
    QRadioButton *radioButtonExistingBranch;
    QComboBox *comboBoxBranch;
    QRadioButton *radioButtonNewBranch;
    QLineEdit *lineEditNewBranchName;
    QLabel *labelCurrentBranchName;
    QCheckBox *checkBoxForce;
    QGroupBox *groupBoxMakeCommit;
    QVBoxLayout *verticalLayout_3;
    QCheckBox *checkBoxIncludeStatus;
    QCheckBox *checkBoxAmend;
    QSplitter *splitter;
    QWidget *widget;
    QVBoxLayout *verticalLayout_2;
    QLabel *label;
    QWidget *widget_2;
    CompletionTextEdit *textEditMessage;
    QWidget *layoutWidget;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label_2;
    QSpacerItem *horizontalSpacer_2;
    QToolButton *toolButtonAddAll;
    QToolButton *toolButtonAddIndexed;
    QToolButton *toolButtonAddAdded;
    QToolButton *toolButtonAddRemoved;
    QToolButton *toolButtonAddModified;
    QToolButton *toolButtonAddNone;
    QListView *listView;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QPushButton *pushButtonCommit;
    QPushButton *pushButtonPush;

    void setupUi(QDialog *CommitPushDialog)
    {
        if (CommitPushDialog->objectName().isEmpty())
            CommitPushDialog->setObjectName("CommitPushDialog");
        CommitPushDialog->resize(514, 629);
        verticalLayout_4 = new QVBoxLayout(CommitPushDialog);
        verticalLayout_4->setObjectName("verticalLayout_4");
        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName("formLayout_2");
        labelCurrentBranchName_2 = new QLabel(CommitPushDialog);
        labelCurrentBranchName_2->setObjectName("labelCurrentBranchName_2");

        formLayout_2->setWidget(0, QFormLayout::ItemRole::LabelRole, labelCurrentBranchName_2);

        comboBoxRemote = new QComboBox(CommitPushDialog);
        comboBoxRemote->setObjectName("comboBoxRemote");

        formLayout_2->setWidget(0, QFormLayout::ItemRole::FieldRole, comboBoxRemote);


        verticalLayout_4->addLayout(formLayout_2);

        groupBox = new QGroupBox(CommitPushDialog);
        groupBox->setObjectName("groupBox");
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName("formLayout");
        radioButtonCurrentBranch = new QRadioButton(groupBox);
        radioButtonCurrentBranch->setObjectName("radioButtonCurrentBranch");
        radioButtonCurrentBranch->setChecked(true);

        formLayout->setWidget(1, QFormLayout::ItemRole::LabelRole, radioButtonCurrentBranch);

        radioButtonExistingBranch = new QRadioButton(groupBox);
        radioButtonExistingBranch->setObjectName("radioButtonExistingBranch");

        formLayout->setWidget(2, QFormLayout::ItemRole::LabelRole, radioButtonExistingBranch);

        comboBoxBranch = new QComboBox(groupBox);
        comboBoxBranch->setObjectName("comboBoxBranch");
        comboBoxBranch->setEnabled(false);

        formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, comboBoxBranch);

        radioButtonNewBranch = new QRadioButton(groupBox);
        radioButtonNewBranch->setObjectName("radioButtonNewBranch");

        formLayout->setWidget(3, QFormLayout::ItemRole::LabelRole, radioButtonNewBranch);

        lineEditNewBranchName = new QLineEdit(groupBox);
        lineEditNewBranchName->setObjectName("lineEditNewBranchName");
        lineEditNewBranchName->setEnabled(false);

        formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, lineEditNewBranchName);

        labelCurrentBranchName = new QLabel(groupBox);
        labelCurrentBranchName->setObjectName("labelCurrentBranchName");

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, labelCurrentBranchName);


        verticalLayout_4->addWidget(groupBox);

        checkBoxForce = new QCheckBox(CommitPushDialog);
        checkBoxForce->setObjectName("checkBoxForce");

        verticalLayout_4->addWidget(checkBoxForce);

        groupBoxMakeCommit = new QGroupBox(CommitPushDialog);
        groupBoxMakeCommit->setObjectName("groupBoxMakeCommit");
        groupBoxMakeCommit->setCheckable(true);
        verticalLayout_3 = new QVBoxLayout(groupBoxMakeCommit);
        verticalLayout_3->setObjectName("verticalLayout_3");
        checkBoxIncludeStatus = new QCheckBox(groupBoxMakeCommit);
        checkBoxIncludeStatus->setObjectName("checkBoxIncludeStatus");
        checkBoxIncludeStatus->setTristate(true);

        verticalLayout_3->addWidget(checkBoxIncludeStatus);

        checkBoxAmend = new QCheckBox(groupBoxMakeCommit);
        checkBoxAmend->setObjectName("checkBoxAmend");

        verticalLayout_3->addWidget(checkBoxAmend);

        splitter = new QSplitter(groupBoxMakeCommit);
        splitter->setObjectName("splitter");
        splitter->setOrientation(Qt::Vertical);
        splitter->setChildrenCollapsible(false);
        widget = new QWidget(splitter);
        widget->setObjectName("widget");
        verticalLayout_2 = new QVBoxLayout(widget);
        verticalLayout_2->setObjectName("verticalLayout_2");
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(widget);
        label->setObjectName("label");

        verticalLayout_2->addWidget(label);

        widget_2 = new QWidget(widget);
        widget_2->setObjectName("widget_2");

        verticalLayout_2->addWidget(widget_2);

        textEditMessage = new CompletionTextEdit(widget);
        textEditMessage->setObjectName("textEditMessage");

        verticalLayout_2->addWidget(textEditMessage);

        splitter->addWidget(widget);
        layoutWidget = new QWidget(splitter);
        layoutWidget->setObjectName("layoutWidget");
        verticalLayout = new QVBoxLayout(layoutWidget);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        label_2 = new QLabel(layoutWidget);
        label_2->setObjectName("label_2");

        horizontalLayout_2->addWidget(label_2);

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

        horizontalLayout_2->addItem(horizontalSpacer_2);

        toolButtonAddAll = new QToolButton(layoutWidget);
        toolButtonAddAll->setObjectName("toolButtonAddAll");
        toolButtonAddAll->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddAll);

        toolButtonAddIndexed = new QToolButton(layoutWidget);
        toolButtonAddIndexed->setObjectName("toolButtonAddIndexed");
        toolButtonAddIndexed->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddIndexed);

        toolButtonAddAdded = new QToolButton(layoutWidget);
        toolButtonAddAdded->setObjectName("toolButtonAddAdded");
        toolButtonAddAdded->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddAdded);

        toolButtonAddRemoved = new QToolButton(layoutWidget);
        toolButtonAddRemoved->setObjectName("toolButtonAddRemoved");
        toolButtonAddRemoved->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddRemoved);

        toolButtonAddModified = new QToolButton(layoutWidget);
        toolButtonAddModified->setObjectName("toolButtonAddModified");
        toolButtonAddModified->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddModified);

        toolButtonAddNone = new QToolButton(layoutWidget);
        toolButtonAddNone->setObjectName("toolButtonAddNone");
        toolButtonAddNone->setAutoRaise(true);

        horizontalLayout_2->addWidget(toolButtonAddNone);


        verticalLayout->addLayout(horizontalLayout_2);

        listView = new QListView(layoutWidget);
        listView->setObjectName("listView");
        listView->setContextMenuPolicy(Qt::CustomContextMenu);

        verticalLayout->addWidget(listView);

        splitter->addWidget(layoutWidget);

        verticalLayout_3->addWidget(splitter);


        verticalLayout_4->addWidget(groupBoxMakeCommit);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        pushButtonCommit = new QPushButton(CommitPushDialog);
        pushButtonCommit->setObjectName("pushButtonCommit");
        pushButtonCommit->setEnabled(false);

        horizontalLayout->addWidget(pushButtonCommit);

        pushButtonPush = new QPushButton(CommitPushDialog);
        pushButtonPush->setObjectName("pushButtonPush");
        pushButtonPush->setEnabled(false);

        horizontalLayout->addWidget(pushButtonPush);


        verticalLayout_4->addLayout(horizontalLayout);

        QWidget::setTabOrder(radioButtonCurrentBranch, radioButtonExistingBranch);
        QWidget::setTabOrder(radioButtonExistingBranch, comboBoxBranch);
        QWidget::setTabOrder(comboBoxBranch, radioButtonNewBranch);
        QWidget::setTabOrder(radioButtonNewBranch, lineEditNewBranchName);
        QWidget::setTabOrder(lineEditNewBranchName, checkBoxIncludeStatus);
        QWidget::setTabOrder(checkBoxIncludeStatus, checkBoxAmend);
        QWidget::setTabOrder(checkBoxAmend, textEditMessage);
        QWidget::setTabOrder(textEditMessage, toolButtonAddAll);
        QWidget::setTabOrder(toolButtonAddAll, toolButtonAddIndexed);
        QWidget::setTabOrder(toolButtonAddIndexed, toolButtonAddNone);
        QWidget::setTabOrder(toolButtonAddNone, listView);
        QWidget::setTabOrder(listView, pushButtonCommit);
        QWidget::setTabOrder(pushButtonCommit, pushButtonPush);

        retranslateUi(CommitPushDialog);
        QObject::connect(radioButtonExistingBranch, &QRadioButton::toggled, comboBoxBranch, &QComboBox::setEnabled);
        QObject::connect(radioButtonNewBranch, &QRadioButton::toggled, lineEditNewBranchName, &QLineEdit::setEnabled);
        QObject::connect(radioButtonCurrentBranch, &QRadioButton::toggled, labelCurrentBranchName, &QLabel::setEnabled);
        QObject::connect(checkBoxAmend, &QCheckBox::toggled, widget, &QWidget::setDisabled);

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

    void retranslateUi(QDialog *CommitPushDialog)
    {
        CommitPushDialog->setWindowTitle(tr2i18n("Commit/Push", nullptr));
        labelCurrentBranchName_2->setText(tr2i18n("Remote:", nullptr));
        groupBox->setTitle(tr2i18n("Branch", nullptr));
        radioButtonCurrentBranch->setText(tr2i18n("Current branch", nullptr));
        radioButtonExistingBranch->setText(tr2i18n("Existing branch", nullptr));
        radioButtonNewBranch->setText(tr2i18n("New branch", nullptr));
        labelCurrentBranchName->setText(tr2i18n("---", nullptr));
#if QT_CONFIG(whatsthis)
        checkBoxForce->setWhatsThis(tr2i18n("<html><head/><body><p>Usually, the command refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. Also, when --force-with-lease option is used, the command refuses to update a remote ref whose current value does not match what is expected.</p><p>This flag disables these checks, and can cause the remote repository to lose commits; use it with care.</p><p><br/></p><p><a href=\"https://git-scm.com/docs/git-push#Documentation/git-push.txt--f\"><span style=\" text-decoration: underline; color:#007af4;\">More information...</span></a></p></body></html>", nullptr));
#endif // QT_CONFIG(whatsthis)
        checkBoxForce->setText(tr2i18n("Force", nullptr));
        groupBoxMakeCommit->setTitle(tr2i18n("Create a commit", nullptr));
#if QT_CONFIG(whatsthis)
        checkBoxIncludeStatus->setWhatsThis(tr2i18n("<html><head/><body><p>Include the output of &quot;git status&quot; in the commit message template when using an editor to prepare the commit message. </p><p><a href=\"https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---status\"><span style=\" text-decoration: underline; color:#2980b9;\">More information</span></a></p></body></html>", nullptr));
#endif // QT_CONFIG(whatsthis)
        checkBoxIncludeStatus->setText(tr2i18n("Include status to the message", nullptr));
#if QT_CONFIG(whatsthis)
        checkBoxAmend->setWhatsThis(tr2i18n("<html><head/><body><p>Replace the tip of the current branch by creating a new commit.</p><p><br/></p><p><a href=\"https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---amend\"><span style=\" text-decoration: underline; color:#2980b9;\">More info</span></a></p></body></html>", nullptr));
#endif // QT_CONFIG(whatsthis)
        checkBoxAmend->setText(tr2i18n("Amend to previous commit", nullptr));
        label->setText(tr2i18n("Message:", nullptr));
#if QT_CONFIG(whatsthis)
        textEditMessage->setWhatsThis(tr2i18n("<html><head/><body><p>Use the given text as the commit message. </p><p><a href=\"https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---messageltmsggt\"><span style=\" text-decoration: underline; color:#2980b9;\">More information</span></a></p></body></html>", nullptr));
#endif // QT_CONFIG(whatsthis)
        label_2->setText(tr2i18n("Files:", nullptr));
        toolButtonAddAll->setText(tr2i18n("All", nullptr));
        toolButtonAddIndexed->setText(tr2i18n("Indexed", nullptr));
        toolButtonAddAdded->setText(tr2i18n("Added", nullptr));
        toolButtonAddRemoved->setText(tr2i18n("Removed", nullptr));
        toolButtonAddModified->setText(tr2i18n("Modified", nullptr));
        toolButtonAddNone->setText(tr2i18n("None", nullptr));
        pushButtonCommit->setText(tr2i18n("Commit", nullptr));
        pushButtonPush->setText(tr2i18n("Push", nullptr));
    } // retranslateUi

};

namespace Ui {
    class CommitPushDialog: public Ui_CommitPushDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COMMITPUSHDIALOG_H

