/********************************************************************************
** Form generated from reading UI file 'switchbranchdialog.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_SWITCHBRANCHDIALOG_H
#define UI_SWITCHBRANCHDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_SwitchBranchDialog
{
public:
    QVBoxLayout *verticalLayout;
    QFormLayout *formLayout;
    QRadioButton *radioButtonExistingBranch;
    QComboBox *comboBoxBranchSelect;
    QRadioButton *radioButtonNewBranch;
    QLineEdit *lineEditNewBranchName;
    QRadioButton *radioButtonTag;
    QComboBox *comboBoxTags;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout;
    QCheckBox *checkBoxForce;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *SwitchBranchDialog)
    {
        if (SwitchBranchDialog->objectName().isEmpty())
            SwitchBranchDialog->setObjectName("SwitchBranchDialog");
        SwitchBranchDialog->resize(335, 228);
        QIcon icon(QIcon::fromTheme(QString::fromUtf8("kommit")));
        SwitchBranchDialog->setWindowIcon(icon);
        verticalLayout = new QVBoxLayout(SwitchBranchDialog);
        verticalLayout->setObjectName("verticalLayout");
        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        radioButtonExistingBranch = new QRadioButton(SwitchBranchDialog);
        radioButtonExistingBranch->setObjectName("radioButtonExistingBranch");
        radioButtonExistingBranch->setChecked(true);

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

        comboBoxBranchSelect = new QComboBox(SwitchBranchDialog);
        comboBoxBranchSelect->setObjectName("comboBoxBranchSelect");

        formLayout->setWidget(0, QFormLayout::ItemRole::FieldRole, comboBoxBranchSelect);

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

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

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

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

        radioButtonTag = new QRadioButton(SwitchBranchDialog);
        radioButtonTag->setObjectName("radioButtonTag");

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

        comboBoxTags = new QComboBox(SwitchBranchDialog);
        comboBoxTags->setObjectName("comboBoxTags");
        comboBoxTags->setEnabled(false);

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


        verticalLayout->addLayout(formLayout);

        groupBox = new QGroupBox(SwitchBranchDialog);
        groupBox->setObjectName("groupBox");
        horizontalLayout = new QHBoxLayout(groupBox);
        horizontalLayout->setObjectName("horizontalLayout");
        checkBoxForce = new QCheckBox(groupBox);
        checkBoxForce->setObjectName("checkBoxForce");

        horizontalLayout->addWidget(checkBoxForce);


        verticalLayout->addWidget(groupBox);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(SwitchBranchDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);

        QWidget::setTabOrder(radioButtonExistingBranch, comboBoxBranchSelect);
        QWidget::setTabOrder(comboBoxBranchSelect, radioButtonNewBranch);
        QWidget::setTabOrder(radioButtonNewBranch, lineEditNewBranchName);
        QWidget::setTabOrder(lineEditNewBranchName, radioButtonTag);
        QWidget::setTabOrder(radioButtonTag, comboBoxTags);
        QWidget::setTabOrder(comboBoxTags, checkBoxForce);

        retranslateUi(SwitchBranchDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, SwitchBranchDialog, qOverload<>(&QDialog::reject));
        QObject::connect(radioButtonExistingBranch, &QRadioButton::toggled, comboBoxBranchSelect, &QComboBox::setEnabled);
        QObject::connect(radioButtonNewBranch, &QRadioButton::toggled, lineEditNewBranchName, &QLineEdit::setEnabled);
        QObject::connect(radioButtonTag, &QRadioButton::toggled, comboBoxTags, &QComboBox::setEnabled);

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

    void retranslateUi(QDialog *SwitchBranchDialog)
    {
        SwitchBranchDialog->setWindowTitle(tr2i18n("Switch/Checkout", nullptr));
        radioButtonExistingBranch->setText(tr2i18n("Existing branch", nullptr));
        radioButtonNewBranch->setText(tr2i18n("New branch", nullptr));
        radioButtonTag->setText(tr2i18n("Tag", nullptr));
        groupBox->setTitle(tr2i18n("Options", nullptr));
        checkBoxForce->setText(tr2i18n("Force", nullptr));
    } // retranslateUi

};

namespace Ui {
    class SwitchBranchDialog: public Ui_SwitchBranchDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SWITCHBRANCHDIALOG_H

