/********************************************************************************
** Form generated from reading UI file 'submoduleinfodialog.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_SUBMODULEINFODIALOG_H
#define UI_SUBMODULEINFODIALOG_H

#include <QtCore/QVariant>
#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/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <klocalizedstring.h>
#include "widgets/urlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_SubmoduleInfoDialog
{
public:
    QVBoxLayout *verticalLayout;
    QFormLayout *formLayout;
    QLabel *label;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_4;
    UrlRequester *lineEditPath;
    QLineEdit *lineEditUrl;
    QFormLayout *formLayout_2;
    QCheckBox *checkBoxForce;
    QCheckBox *checkBoxBranch;
    QLineEdit *lineEditBranch;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *SubmoduleInfoDialog)
    {
        if (SubmoduleInfoDialog->objectName().isEmpty())
            SubmoduleInfoDialog->setObjectName("SubmoduleInfoDialog");
        SubmoduleInfoDialog->resize(408, 189);
        verticalLayout = new QVBoxLayout(SubmoduleInfoDialog);
        verticalLayout->setObjectName("verticalLayout");
        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        label = new QLabel(SubmoduleInfoDialog);
        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(SubmoduleInfoDialog);
        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(SubmoduleInfoDialog);
        lineEditPath->setObjectName("lineEditPath");

        horizontalLayout_4->addWidget(lineEditPath);


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

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

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


        verticalLayout->addLayout(formLayout);

        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName("formLayout_2");
        formLayout_2->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint);
        checkBoxForce = new QCheckBox(SubmoduleInfoDialog);
        checkBoxForce->setObjectName("checkBoxForce");

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

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

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

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

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


        verticalLayout->addLayout(formLayout_2);

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

        verticalLayout->addItem(verticalSpacer);

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

        verticalLayout->addWidget(buttonBox);

        QWidget::setTabOrder(lineEditUrl, checkBoxForce);
        QWidget::setTabOrder(checkBoxForce, checkBoxBranch);
        QWidget::setTabOrder(checkBoxBranch, lineEditBranch);

        retranslateUi(SubmoduleInfoDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, SubmoduleInfoDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, SubmoduleInfoDialog, qOverload<>(&QDialog::reject));
        QObject::connect(checkBoxBranch, &QCheckBox::clicked, lineEditBranch, &QLineEdit::setEnabled);

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

    void retranslateUi(QDialog *SubmoduleInfoDialog)
    {
        SubmoduleInfoDialog->setWindowTitle(tr2i18n("Add new submodule", nullptr));
        label->setText(tr2i18n("Url:", nullptr));
        label_2->setText(tr2i18n("Directory:", nullptr));
        checkBoxForce->setText(tr2i18n("Force", nullptr));
        checkBoxBranch->setText(tr2i18n("Branch", nullptr));
    } // retranslateUi

};

namespace Ui {
    class SubmoduleInfoDialog: public Ui_SubmoduleInfoDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SUBMODULEINFODIALOG_H

