/********************************************************************************
** Form generated from reading UI file 'clonedialog.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_CLONEDIALOG_H
#define UI_CLONEDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include "widgets/urlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_CloneDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QStackedWidget *stackedWidget;
    QWidget *page;
    QVBoxLayout *verticalLayout;
    QFormLayout *formLayout;
    QLabel *label;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_4;
    UrlRequester *lineEditPath;
    QLineEdit *lineEditUrl;
    QFormLayout *formLayout_2;
    QCheckBox *checkBoxRecursive;
    QCheckBox *checkBoxDepth;
    QSpinBox *spinBoxDepth;
    QCheckBox *checkBoxBranch;
    QLineEdit *lineEditBranch;
    QCheckBox *checkBoxOriginName;
    QLineEdit *lineEditOriginName;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;
    QWidget *page_2;
    QVBoxLayout *verticalLayout_3;
    QLabel *label_3;
    QLabel *labelCloneDestination;
    QLabel *labelMessage;
    QProgressBar *progressBar;
    QSpacerItem *verticalSpacer_2;

    void setupUi(QDialog *CloneDialog)
    {
        if (CloneDialog->objectName().isEmpty())
            CloneDialog->setObjectName("CloneDialog");
        CloneDialog->resize(435, 272);
        QIcon icon(QIcon::fromTheme(QString::fromUtf8("kommit")));
        CloneDialog->setWindowIcon(icon);
        verticalLayout_2 = new QVBoxLayout(CloneDialog);
        verticalLayout_2->setSpacing(0);
        verticalLayout_2->setObjectName("verticalLayout_2");
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        stackedWidget = new QStackedWidget(CloneDialog);
        stackedWidget->setObjectName("stackedWidget");
        page = new QWidget();
        page->setObjectName("page");
        verticalLayout = new QVBoxLayout(page);
        verticalLayout->setObjectName("verticalLayout");
        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        label = new QLabel(page);
        label->setObjectName("label");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);

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

        label_2 = new QLabel(page);
        label_2->setObjectName("label_2");

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

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName("horizontalLayout_4");
        lineEditPath = new UrlRequester(page);
        lineEditPath->setObjectName("lineEditPath");

        horizontalLayout_4->addWidget(lineEditPath);


        formLayout->setLayout(1, QFormLayout::ItemRole::FieldRole, horizontalLayout_4);

        lineEditUrl = new QLineEdit(page);
        lineEditUrl->setObjectName("lineEditUrl");

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


        verticalLayout->addLayout(formLayout);

        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName("formLayout_2");
        checkBoxRecursive = new QCheckBox(page);
        checkBoxRecursive->setObjectName("checkBoxRecursive");

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

        checkBoxDepth = new QCheckBox(page);
        checkBoxDepth->setObjectName("checkBoxDepth");

        formLayout_2->setWidget(1, QFormLayout::ItemRole::LabelRole, checkBoxDepth);

        spinBoxDepth = new QSpinBox(page);
        spinBoxDepth->setObjectName("spinBoxDepth");
        spinBoxDepth->setEnabled(false);
        spinBoxDepth->setMaximum(99999);
        spinBoxDepth->setValue(1);

        formLayout_2->setWidget(1, QFormLayout::ItemRole::FieldRole, spinBoxDepth);

        checkBoxBranch = new QCheckBox(page);
        checkBoxBranch->setObjectName("checkBoxBranch");

        formLayout_2->setWidget(2, QFormLayout::ItemRole::LabelRole, checkBoxBranch);

        lineEditBranch = new QLineEdit(page);
        lineEditBranch->setObjectName("lineEditBranch");
        lineEditBranch->setEnabled(false);

        formLayout_2->setWidget(2, QFormLayout::ItemRole::FieldRole, lineEditBranch);

        checkBoxOriginName = new QCheckBox(page);
        checkBoxOriginName->setObjectName("checkBoxOriginName");

        formLayout_2->setWidget(3, QFormLayout::ItemRole::LabelRole, checkBoxOriginName);

        lineEditOriginName = new QLineEdit(page);
        lineEditOriginName->setObjectName("lineEditOriginName");
        lineEditOriginName->setEnabled(false);

        formLayout_2->setWidget(3, QFormLayout::ItemRole::FieldRole, lineEditOriginName);


        verticalLayout->addLayout(formLayout_2);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(page);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);

        stackedWidget->addWidget(page);
        page_2 = new QWidget();
        page_2->setObjectName("page_2");
        verticalLayout_3 = new QVBoxLayout(page_2);
        verticalLayout_3->setObjectName("verticalLayout_3");
        label_3 = new QLabel(page_2);
        label_3->setObjectName("label_3");

        verticalLayout_3->addWidget(label_3);

        labelCloneDestination = new QLabel(page_2);
        labelCloneDestination->setObjectName("labelCloneDestination");

        verticalLayout_3->addWidget(labelCloneDestination);

        labelMessage = new QLabel(page_2);
        labelMessage->setObjectName("labelMessage");

        verticalLayout_3->addWidget(labelMessage);

        progressBar = new QProgressBar(page_2);
        progressBar->setObjectName("progressBar");
        progressBar->setValue(0);

        verticalLayout_3->addWidget(progressBar);

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

        verticalLayout_3->addItem(verticalSpacer_2);

        stackedWidget->addWidget(page_2);

        verticalLayout_2->addWidget(stackedWidget);

        QWidget::setTabOrder(lineEditUrl, checkBoxDepth);
        QWidget::setTabOrder(checkBoxDepth, spinBoxDepth);
        QWidget::setTabOrder(spinBoxDepth, checkBoxRecursive);
        QWidget::setTabOrder(checkBoxRecursive, checkBoxBranch);
        QWidget::setTabOrder(checkBoxBranch, lineEditBranch);
        QWidget::setTabOrder(lineEditBranch, checkBoxOriginName);
        QWidget::setTabOrder(checkBoxOriginName, lineEditOriginName);

        retranslateUi(CloneDialog);
        QObject::connect(checkBoxBranch, &QCheckBox::toggled, lineEditBranch, &QLineEdit::setEnabled);
        QObject::connect(checkBoxOriginName, &QCheckBox::toggled, lineEditOriginName, &QLineEdit::setEnabled);
        QObject::connect(checkBoxDepth, &QCheckBox::toggled, spinBoxDepth, &QSpinBox::setEnabled);
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, CloneDialog, qOverload<>(&QDialog::reject));

        stackedWidget->setCurrentIndex(1);


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

    void retranslateUi(QDialog *CloneDialog)
    {
        CloneDialog->setWindowTitle(tr2i18n("Clone a repository", nullptr));
        label->setText(tr2i18n("Url:", nullptr));
        label_2->setText(tr2i18n("Directory:", nullptr));
        checkBoxRecursive->setText(tr2i18n("Recursive", nullptr));
        checkBoxDepth->setText(tr2i18n("Depth", nullptr));
        checkBoxBranch->setText(tr2i18n("Branch", nullptr));
        checkBoxOriginName->setText(tr2i18n("Origin name", nullptr));
        label_3->setText(tr2i18n("Cloning into:", nullptr));
        labelCloneDestination->setText(tr2i18n("-", nullptr));
        labelMessage->setText(tr2i18n("TextLabel", nullptr));
    } // retranslateUi

};

namespace Ui {
    class CloneDialog: public Ui_CloneDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CLONEDIALOG_H

