#include <klocalizedstring.h>

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

#ifndef UI_KPTMAINPROJECTPANELBASE_H
#define UI_KPTMAINPROJECTPANELBASE_H

#include <QtCore/QLocale>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDateEdit>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTimeEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "klineedit.h"

namespace KPlato {

class Ui_MainProjectPanelBase
{
public:
    QVBoxLayout *verticalLayout_4;
    QTabWidget *tabWidget;
    QWidget *tab;
    QVBoxLayout *verticalLayout_2;
    QGridLayout *gridLayout;
    QLabel *wbslabel;
    QLabel *wbs;
    QLabel *textLabel1;
    KLineEdit *namefield;
    QLabel *textLabel2;
    KLineEdit *leaderfield;
    QPushButton *chooseLeader;
    QGroupBox *schedulingGroup;
    QHBoxLayout *horizontalLayout;
    QGridLayout *gridLayout_2;
    QLabel *label;
    QDateEdit *startDate;
    QTimeEdit *startTime;
    QLabel *label_2;
    QDateEdit *endDate;
    QTimeEdit *endTime;
    QSpacerItem *horizontalSpacer;
    QGroupBox *useSharedResources;
    QVBoxLayout *verticalLayout_3;
    QWidget *resourcesWidget;
    QGridLayout *gridLayout_3;
    QLabel *resourcesLabel;
    QComboBox *resourcesType;
    QLineEdit *resourcesFile;
    QPushButton *resourcesBrowseBtn;
    QLabel *projectsLabel;
    QComboBox *projectsType;
    QLineEdit *projectsPlace;
    QPushButton *projectsBrowseBtn;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *projectsLoadAtStartup;
    QPushButton *projectsLoadBtn;
    QPushButton *projectsClearBtn;
    QWidget *tab_2;
    QVBoxLayout *verticalLayout;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *KPlato__MainProjectPanelBase)
    {
        if (KPlato__MainProjectPanelBase->objectName().isEmpty())
            KPlato__MainProjectPanelBase->setObjectName(QStringLiteral("KPlato__MainProjectPanelBase"));
        KPlato__MainProjectPanelBase->resize(489, 520);
        KPlato__MainProjectPanelBase->setLocale(QLocale(QLocale::C, QLocale::AnyCountry));
        verticalLayout_4 = new QVBoxLayout(KPlato__MainProjectPanelBase);
        verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
        verticalLayout_4->setContentsMargins(0, 0, 0, 0);
        tabWidget = new QTabWidget(KPlato__MainProjectPanelBase);
        tabWidget->setObjectName(QStringLiteral("tabWidget"));
        tab = new QWidget();
        tab->setObjectName(QStringLiteral("tab"));
        verticalLayout_2 = new QVBoxLayout(tab);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        wbslabel = new QLabel(tab);
        wbslabel->setObjectName(QStringLiteral("wbslabel"));
        wbslabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        wbslabel->setWordWrap(false);

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

        wbs = new QLabel(tab);
        wbs->setObjectName(QStringLiteral("wbs"));
        wbs->setMinimumSize(QSize(20, 0));
        wbs->setFrameShape(QFrame::StyledPanel);
        wbs->setFrameShadow(QFrame::Sunken);
        wbs->setWordWrap(false);

        gridLayout->addWidget(wbs, 0, 1, 1, 2);

        textLabel1 = new QLabel(tab);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel1->setWordWrap(false);

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

        namefield = new KLineEdit(tab);
        namefield->setObjectName(QStringLiteral("namefield"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(namefield->sizePolicy().hasHeightForWidth());
        namefield->setSizePolicy(sizePolicy);

        gridLayout->addWidget(namefield, 1, 1, 1, 2);

        textLabel2 = new QLabel(tab);
        textLabel2->setObjectName(QStringLiteral("textLabel2"));
        textLabel2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2->setWordWrap(false);

        gridLayout->addWidget(textLabel2, 2, 0, 1, 1);

        leaderfield = new KLineEdit(tab);
        leaderfield->setObjectName(QStringLiteral("leaderfield"));
        sizePolicy.setHeightForWidth(leaderfield->sizePolicy().hasHeightForWidth());
        leaderfield->setSizePolicy(sizePolicy);

        gridLayout->addWidget(leaderfield, 2, 1, 1, 1);

        chooseLeader = new QPushButton(tab);
        chooseLeader->setObjectName(QStringLiteral("chooseLeader"));

        gridLayout->addWidget(chooseLeader, 2, 2, 1, 1);


        verticalLayout_2->addLayout(gridLayout);

        schedulingGroup = new QGroupBox(tab);
        schedulingGroup->setObjectName(QStringLiteral("schedulingGroup"));
        horizontalLayout = new QHBoxLayout(schedulingGroup);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        gridLayout_2 = new QGridLayout();
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        label = new QLabel(schedulingGroup);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label, 0, 0, 1, 1);

        startDate = new QDateEdit(schedulingGroup);
        startDate->setObjectName(QStringLiteral("startDate"));
        startDate->setCalendarPopup(true);

        gridLayout_2->addWidget(startDate, 0, 1, 1, 1);

        startTime = new QTimeEdit(schedulingGroup);
        startTime->setObjectName(QStringLiteral("startTime"));

        gridLayout_2->addWidget(startTime, 0, 2, 1, 1);

        label_2 = new QLabel(schedulingGroup);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_2, 1, 0, 1, 1);

        endDate = new QDateEdit(schedulingGroup);
        endDate->setObjectName(QStringLiteral("endDate"));
        endDate->setCalendarPopup(true);

        gridLayout_2->addWidget(endDate, 1, 1, 1, 1);

        endTime = new QTimeEdit(schedulingGroup);
        endTime->setObjectName(QStringLiteral("endTime"));

        gridLayout_2->addWidget(endTime, 1, 2, 1, 1);


        horizontalLayout->addLayout(gridLayout_2);

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

        horizontalLayout->addItem(horizontalSpacer);


        verticalLayout_2->addWidget(schedulingGroup);

        useSharedResources = new QGroupBox(tab);
        useSharedResources->setObjectName(QStringLiteral("useSharedResources"));
        useSharedResources->setCheckable(true);
        useSharedResources->setChecked(false);
        verticalLayout_3 = new QVBoxLayout(useSharedResources);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        resourcesWidget = new QWidget(useSharedResources);
        resourcesWidget->setObjectName(QStringLiteral("resourcesWidget"));
        gridLayout_3 = new QGridLayout(resourcesWidget);
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        resourcesLabel = new QLabel(resourcesWidget);
        resourcesLabel->setObjectName(QStringLiteral("resourcesLabel"));

        gridLayout_3->addWidget(resourcesLabel, 0, 0, 1, 1);

        resourcesType = new QComboBox(resourcesWidget);
        resourcesType->setObjectName(QStringLiteral("resourcesType"));

        gridLayout_3->addWidget(resourcesType, 1, 0, 1, 1);

        resourcesFile = new QLineEdit(resourcesWidget);
        resourcesFile->setObjectName(QStringLiteral("resourcesFile"));

        gridLayout_3->addWidget(resourcesFile, 1, 1, 1, 1);

        resourcesBrowseBtn = new QPushButton(resourcesWidget);
        resourcesBrowseBtn->setObjectName(QStringLiteral("resourcesBrowseBtn"));
        QIcon icon;
        QString iconThemeName = QStringLiteral("document-open");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QStringLiteral("."), QSize(), QIcon::Normal, QIcon::Off);
        }
        resourcesBrowseBtn->setIcon(icon);

        gridLayout_3->addWidget(resourcesBrowseBtn, 1, 2, 1, 1);

        projectsLabel = new QLabel(resourcesWidget);
        projectsLabel->setObjectName(QStringLiteral("projectsLabel"));

        gridLayout_3->addWidget(projectsLabel, 2, 0, 1, 1);

        projectsType = new QComboBox(resourcesWidget);
        projectsType->setObjectName(QStringLiteral("projectsType"));

        gridLayout_3->addWidget(projectsType, 3, 0, 1, 1);

        projectsPlace = new QLineEdit(resourcesWidget);
        projectsPlace->setObjectName(QStringLiteral("projectsPlace"));

        gridLayout_3->addWidget(projectsPlace, 3, 1, 1, 1);

        projectsBrowseBtn = new QPushButton(resourcesWidget);
        projectsBrowseBtn->setObjectName(QStringLiteral("projectsBrowseBtn"));
        projectsBrowseBtn->setIcon(icon);

        gridLayout_3->addWidget(projectsBrowseBtn, 3, 2, 1, 1);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        projectsLoadAtStartup = new QCheckBox(resourcesWidget);
        projectsLoadAtStartup->setObjectName(QStringLiteral("projectsLoadAtStartup"));

        horizontalLayout_2->addWidget(projectsLoadAtStartup);

        projectsLoadBtn = new QPushButton(resourcesWidget);
        projectsLoadBtn->setObjectName(QStringLiteral("projectsLoadBtn"));
        QIcon icon1(QIcon::fromTheme(QStringLiteral("document-import")));
        projectsLoadBtn->setIcon(icon1);

        horizontalLayout_2->addWidget(projectsLoadBtn);

        projectsClearBtn = new QPushButton(resourcesWidget);
        projectsClearBtn->setObjectName(QStringLiteral("projectsClearBtn"));
        QIcon icon2(QIcon::fromTheme(QStringLiteral("edit-clear")));
        projectsClearBtn->setIcon(icon2);

        horizontalLayout_2->addWidget(projectsClearBtn);


        gridLayout_3->addLayout(horizontalLayout_2, 4, 0, 1, 3);


        verticalLayout_3->addWidget(resourcesWidget);


        verticalLayout_2->addWidget(useSharedResources);

        tabWidget->addTab(tab, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName(QStringLiteral("tab_2"));
        verticalLayout = new QVBoxLayout(tab_2);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        tabWidget->addTab(tab_2, QString());

        verticalLayout_4->addWidget(tabWidget);

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

        verticalLayout_4->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        textLabel1->setBuddy(namefield);
        textLabel2->setBuddy(leaderfield);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(namefield, leaderfield);
        QWidget::setTabOrder(leaderfield, chooseLeader);
        QWidget::setTabOrder(chooseLeader, startDate);
        QWidget::setTabOrder(startDate, startTime);
        QWidget::setTabOrder(startTime, endDate);
        QWidget::setTabOrder(endDate, endTime);

        retranslateUi(KPlato__MainProjectPanelBase);
        QObject::connect(useSharedResources, SIGNAL(toggled(bool)), resourcesWidget, SLOT(setEnabled(bool)));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KPlato__MainProjectPanelBase)
    {
        wbslabel->setText(tr2i18n("WBS:", Q_NULLPTR));
        wbs->setText(QString());
#ifndef UI_QT_NO_WHATSTHIS
        textLabel1->setWhatsThis(tr2i18n("The project name.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        textLabel1->setText(tr2i18n("&Name:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        namefield->setWhatsThis(tr2i18n("The project name.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        textLabel2->setWhatsThis(tr2i18n("The project leader.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("&Manager:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        leaderfield->setWhatsThis(tr2i18n("The project leader.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        chooseLeader->setWhatsThis(tr2i18n("Choose a project leader from your address book.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        chooseLeader->setText(tr2i18n("&Choose...", Q_NULLPTR));
        schedulingGroup->setTitle(tr2i18n("Scheduling Range", Q_NULLPTR));
        label->setText(tr2i18n("Earliest start:", Q_NULLPTR));
        label_2->setText(tr2i18n("Latest finish:", Q_NULLPTR));
        useSharedResources->setTitle(tr2i18n("&Use shared resources", Q_NULLPTR));
        resourcesLabel->setText(tr2i18n("Resources:", Q_NULLPTR));
        resourcesType->clear();
        resourcesType->insertItems(0, QStringList()
         << tr2i18n("File", Q_NULLPTR)
        );
        resourcesBrowseBtn->setText(tr2i18n("Browse...", Q_NULLPTR));
        projectsLabel->setText(tr2i18n("Projects:", Q_NULLPTR));
        projectsType->clear();
        projectsType->insertItems(0, QStringList()
         << tr2i18n("Directory", Q_NULLPTR)
        );
        projectsBrowseBtn->setText(tr2i18n("Browse...", Q_NULLPTR));
        projectsLoadAtStartup->setText(tr2i18n("Load resource assignments at startup", Q_NULLPTR));
        projectsLoadBtn->setText(tr2i18n("Load", Q_NULLPTR));
        projectsClearBtn->setText(tr2i18n("Clear", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("General", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(tab_2), tr2i18n("Description", Q_NULLPTR));
        Q_UNUSED(KPlato__MainProjectPanelBase);
    } // retranslateUi

};

} // namespace KPlato

namespace KPlato {
namespace Ui {
    class MainProjectPanelBase: public Ui_MainProjectPanelBase {};
} // namespace Ui
} // namespace KPlato

#endif // KPTMAINPROJECTPANELBASE_H

