#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'kptmainprojectpanelbase.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** 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 <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDateEdit>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTimeEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"

namespace KPlato {

class Ui_MainProjectPanelBase
{
public:
    QVBoxLayout *verticalLayout;
    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;
    QFrame *line;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *KPlato__MainProjectPanelBase)
    {
        if (KPlato__MainProjectPanelBase->objectName().isEmpty())
            KPlato__MainProjectPanelBase->setObjectName(QString::fromUtf8("KPlato__MainProjectPanelBase"));
        KPlato__MainProjectPanelBase->resize(400, 234);
        KPlato__MainProjectPanelBase->setLocale(QLocale(QLocale::C, QLocale::AnyCountry));
        verticalLayout = new QVBoxLayout(KPlato__MainProjectPanelBase);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        wbslabel = new QLabel(KPlato__MainProjectPanelBase);
        wbslabel->setObjectName(QString::fromUtf8("wbslabel"));
        wbslabel->setWordWrap(false);
        wbslabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        wbs = new QLabel(KPlato__MainProjectPanelBase);
        wbs->setObjectName(QString::fromUtf8("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(KPlato__MainProjectPanelBase);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);
        textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        namefield = new KLineEdit(KPlato__MainProjectPanelBase);
        namefield->setObjectName(QString::fromUtf8("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(KPlato__MainProjectPanelBase);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setAlignment(Qt::AlignVCenter);
        textLabel2->setWordWrap(false);
        textLabel2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        leaderfield = new KLineEdit(KPlato__MainProjectPanelBase);
        leaderfield->setObjectName(QString::fromUtf8("leaderfield"));
        sizePolicy.setHeightForWidth(leaderfield->sizePolicy().hasHeightForWidth());
        leaderfield->setSizePolicy(sizePolicy);

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

        chooseLeader = new QPushButton(KPlato__MainProjectPanelBase);
        chooseLeader->setObjectName(QString::fromUtf8("chooseLeader"));

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


        verticalLayout->addLayout(gridLayout);

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

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

        startDate = new QDateEdit(schedulingGroup);
        startDate->setObjectName(QString::fromUtf8("startDate"));
        startDate->setCalendarPopup(true);

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

        startTime = new QTimeEdit(schedulingGroup);
        startTime->setObjectName(QString::fromUtf8("startTime"));

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

        label_2 = new QLabel(schedulingGroup);
        label_2->setObjectName(QString::fromUtf8("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(QString::fromUtf8("endDate"));
        endDate->setCalendarPopup(true);

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

        endTime = new QTimeEdit(schedulingGroup);
        endTime->setObjectName(QString::fromUtf8("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->addWidget(schedulingGroup);

        line = new QFrame(KPlato__MainProjectPanelBase);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        verticalLayout->addWidget(line);

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

        verticalLayout->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);

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

    void retranslateUi(QWidget *KPlato__MainProjectPanelBase)
    {
        wbslabel->setText(tr2i18n("WBS:", 0));
        wbs->setText(QString());
#ifndef UI_QT_NO_WHATSTHIS
        textLabel1->setWhatsThis(tr2i18n("The project name.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel1->setText(tr2i18n("N&ame:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        namefield->setWhatsThis(tr2i18n("The project name.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        textLabel2->setWhatsThis(tr2i18n("The project leader.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("Manager:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        leaderfield->setWhatsThis(tr2i18n("The project leader.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        chooseLeader->setWhatsThis(tr2i18n("Choose a project leader from your address book.", 0));
#endif // QT_NO_WHATSTHIS
        chooseLeader->setText(tr2i18n("&Choose...", 0));
        schedulingGroup->setTitle(tr2i18n("Scheduling Range", 0));
        label->setText(tr2i18n("Earliest start:", 0));
        label_2->setText(tr2i18n("Latest finish:", 0));
        Q_UNUSED(KPlato__MainProjectPanelBase);
    } // retranslateUi

};

} // namespace KPlato

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

#endif // KPTMAINPROJECTPANELBASE_H

