/********************************************************************************
** Form generated from reading UI file 'diffopendialog.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_DIFFOPENDIALOG_H
#define UI_DIFFOPENDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include "widgets/urlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_DiffOpenDialog
{
public:
    QVBoxLayout *verticalLayout;
    QRadioButton *radioButtonCompareFiles;
    QRadioButton *radioButtonCompareFolders;
    QWidget *widgetSelectFiles;
    QFormLayout *formLayout;
    QLabel *label;
    UrlRequester *lineEditOldFile;
    QLabel *label_2;
    UrlRequester *lineEditNewFile;
    QWidget *widgetSelectDirectories;
    QGridLayout *gridLayout;
    QLabel *label_3;
    QLabel *label_4;
    UrlRequester *lineEditOldDirectory;
    UrlRequester *lineEditNewDirectory;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *DiffOpenDialog)
    {
        if (DiffOpenDialog->objectName().isEmpty())
            DiffOpenDialog->setObjectName("DiffOpenDialog");
        DiffOpenDialog->resize(443, 290);
        QIcon icon(QIcon::fromTheme(QString::fromUtf8("kommit")));
        DiffOpenDialog->setWindowIcon(icon);
        verticalLayout = new QVBoxLayout(DiffOpenDialog);
        verticalLayout->setObjectName("verticalLayout");
        radioButtonCompareFiles = new QRadioButton(DiffOpenDialog);
        radioButtonCompareFiles->setObjectName("radioButtonCompareFiles");

        verticalLayout->addWidget(radioButtonCompareFiles);

        radioButtonCompareFolders = new QRadioButton(DiffOpenDialog);
        radioButtonCompareFolders->setObjectName("radioButtonCompareFolders");

        verticalLayout->addWidget(radioButtonCompareFolders);

        widgetSelectFiles = new QWidget(DiffOpenDialog);
        widgetSelectFiles->setObjectName("widgetSelectFiles");
        formLayout = new QFormLayout(widgetSelectFiles);
        formLayout->setObjectName("formLayout");
        label = new QLabel(widgetSelectFiles);
        label->setObjectName("label");

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

        lineEditOldFile = new UrlRequester(widgetSelectFiles);
        lineEditOldFile->setObjectName("lineEditOldFile");

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

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

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

        lineEditNewFile = new UrlRequester(widgetSelectFiles);
        lineEditNewFile->setObjectName("lineEditNewFile");

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


        verticalLayout->addWidget(widgetSelectFiles);

        widgetSelectDirectories = new QWidget(DiffOpenDialog);
        widgetSelectDirectories->setObjectName("widgetSelectDirectories");
        gridLayout = new QGridLayout(widgetSelectDirectories);
        gridLayout->setObjectName("gridLayout");
        gridLayout->setContentsMargins(16, -1, -1, -1);
        label_3 = new QLabel(widgetSelectDirectories);
        label_3->setObjectName("label_3");

        gridLayout->addWidget(label_3, 1, 0, 1, 1);

        label_4 = new QLabel(widgetSelectDirectories);
        label_4->setObjectName("label_4");

        gridLayout->addWidget(label_4, 0, 0, 1, 1);

        lineEditOldDirectory = new UrlRequester(widgetSelectDirectories);
        lineEditOldDirectory->setObjectName("lineEditOldDirectory");

        gridLayout->addWidget(lineEditOldDirectory, 0, 1, 1, 1);

        lineEditNewDirectory = new UrlRequester(widgetSelectDirectories);
        lineEditNewDirectory->setObjectName("lineEditNewDirectory");

        gridLayout->addWidget(lineEditNewDirectory, 1, 1, 1, 1);


        verticalLayout->addWidget(widgetSelectDirectories);

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

        verticalLayout->addItem(verticalSpacer);

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

        verticalLayout->addWidget(buttonBox);


        retranslateUi(DiffOpenDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, DiffOpenDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, DiffOpenDialog, qOverload<>(&QDialog::reject));
        QObject::connect(radioButtonCompareFiles, &QRadioButton::toggled, widgetSelectFiles, &QWidget::setVisible);
        QObject::connect(radioButtonCompareFolders, &QRadioButton::toggled, widgetSelectDirectories, &QWidget::setVisible);

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

    void retranslateUi(QDialog *DiffOpenDialog)
    {
        DiffOpenDialog->setWindowTitle(tr2i18n("Select files/folders", nullptr));
        radioButtonCompareFiles->setText(tr2i18n("Compare files", nullptr));
        radioButtonCompareFolders->setText(tr2i18n("Compare directories", nullptr));
        label->setText(tr2i18n("Old file:", nullptr));
        label_2->setText(tr2i18n("New file:", nullptr));
        label_3->setText(tr2i18n("New directory:", nullptr));
        label_4->setText(tr2i18n("Old directory:", nullptr));
    } // retranslateUi

};

namespace Ui {
    class DiffOpenDialog: public Ui_DiffOpenDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DIFFOPENDIALOG_H

