#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kpttaskprogresspanelbase.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_KPTTASKPROGRESSPANELBASE_H
#define UI_KPTTASKPROGRESSPANELBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDateTimeEdit>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kptusedefforteditor.h"

namespace KPlato {

class Ui_TaskProgressPanelBase
{
public:
    QVBoxLayout *verticalLayout_2;
    QFrame *frame;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *started;
    QDateTimeEdit *startTime;
    QCheckBox *finished;
    QDateTimeEdit *finishTime;
    QSpacerItem *spacerItem;
    QLabel *label;
    QComboBox *editmode;
    QTabWidget *tabWidget;
    QWidget *completionTab;
    QVBoxLayout *verticalLayout_3;
    QFrame *performedGroup;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout;
    QPushButton *addEntryBtn;
    QPushButton *removeEntryBtn;
    QSpacerItem *spacerItem1;
    CompletionEntryEditor *entryTable;
    QWidget *usedEffortTab;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QSpinBox *ui_year;
    QPushButton *prevWeekBtn;
    KComboBox *weekNumber;
    QPushButton *nextWeekBtn;
    QSpacerItem *spacerItem2;
    QPushButton *addResource;
    UsedEffortEditor *resourceTable;

    void setupUi(QWidget *KPlato__TaskProgressPanelBase)
    {
        if (KPlato__TaskProgressPanelBase->objectName().isEmpty())
            KPlato__TaskProgressPanelBase->setObjectName(QStringLiteral("KPlato__TaskProgressPanelBase"));
        KPlato__TaskProgressPanelBase->resize(696, 307);
        verticalLayout_2 = new QVBoxLayout(KPlato__TaskProgressPanelBase);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        frame = new QFrame(KPlato__TaskProgressPanelBase);
        frame->setObjectName(QStringLiteral("frame"));
        frame->setFrameShape(QFrame::StyledPanel);
        frame->setFrameShadow(QFrame::Raised);
        horizontalLayout_2 = new QHBoxLayout(frame);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        started = new QCheckBox(frame);
        started->setObjectName(QStringLiteral("started"));

        horizontalLayout_2->addWidget(started);

        startTime = new QDateTimeEdit(frame);
        startTime->setObjectName(QStringLiteral("startTime"));
        startTime->setCalendarPopup(true);

        horizontalLayout_2->addWidget(startTime);

        finished = new QCheckBox(frame);
        finished->setObjectName(QStringLiteral("finished"));

        horizontalLayout_2->addWidget(finished);

        finishTime = new QDateTimeEdit(frame);
        finishTime->setObjectName(QStringLiteral("finishTime"));
        finishTime->setCalendarPopup(true);

        horizontalLayout_2->addWidget(finishTime);

        spacerItem = new QSpacerItem(36, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(spacerItem);

        label = new QLabel(frame);
        label->setObjectName(QStringLiteral("label"));

        horizontalLayout_2->addWidget(label);

        editmode = new QComboBox(frame);
        editmode->setObjectName(QStringLiteral("editmode"));

        horizontalLayout_2->addWidget(editmode);


        verticalLayout_2->addWidget(frame);

        tabWidget = new QTabWidget(KPlato__TaskProgressPanelBase);
        tabWidget->setObjectName(QStringLiteral("tabWidget"));
        completionTab = new QWidget();
        completionTab->setObjectName(QStringLiteral("completionTab"));
        verticalLayout_3 = new QVBoxLayout(completionTab);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        verticalLayout_3->setContentsMargins(0, -1, 0, 0);
        performedGroup = new QFrame(completionTab);
        performedGroup->setObjectName(QStringLiteral("performedGroup"));
        performedGroup->setFrameShape(QFrame::NoFrame);
        performedGroup->setFrameShadow(QFrame::Raised);
        verticalLayout = new QVBoxLayout(performedGroup);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        addEntryBtn = new QPushButton(performedGroup);
        addEntryBtn->setObjectName(QStringLiteral("addEntryBtn"));

        horizontalLayout->addWidget(addEntryBtn);

        removeEntryBtn = new QPushButton(performedGroup);
        removeEntryBtn->setObjectName(QStringLiteral("removeEntryBtn"));

        horizontalLayout->addWidget(removeEntryBtn);

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

        horizontalLayout->addItem(spacerItem1);


        verticalLayout->addLayout(horizontalLayout);

        entryTable = new CompletionEntryEditor(performedGroup);
        entryTable->setObjectName(QStringLiteral("entryTable"));
        entryTable->setTabKeyNavigation(false);

        verticalLayout->addWidget(entryTable);


        verticalLayout_3->addWidget(performedGroup);

        tabWidget->addTab(completionTab, QString());
        usedEffortTab = new QWidget();
        usedEffortTab->setObjectName(QStringLiteral("usedEffortTab"));
        vboxLayout = new QVBoxLayout(usedEffortTab);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 4, 0, 0);
        hboxLayout = new QHBoxLayout();
#ifndef UI_Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        ui_year = new QSpinBox(usedEffortTab);
        ui_year->setObjectName(QStringLiteral("ui_year"));
        ui_year->setMinimum(1900);
        ui_year->setMaximum(2999);

        hboxLayout->addWidget(ui_year);

        prevWeekBtn = new QPushButton(usedEffortTab);
        prevWeekBtn->setObjectName(QStringLiteral("prevWeekBtn"));

        hboxLayout->addWidget(prevWeekBtn);

        weekNumber = new KComboBox(usedEffortTab);
        weekNumber->setObjectName(QStringLiteral("weekNumber"));

        hboxLayout->addWidget(weekNumber);

        nextWeekBtn = new QPushButton(usedEffortTab);
        nextWeekBtn->setObjectName(QStringLiteral("nextWeekBtn"));

        hboxLayout->addWidget(nextWeekBtn);

        spacerItem2 = new QSpacerItem(16, 25, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem2);

        addResource = new QPushButton(usedEffortTab);
        addResource->setObjectName(QStringLiteral("addResource"));

        hboxLayout->addWidget(addResource);


        vboxLayout->addLayout(hboxLayout);

        resourceTable = new UsedEffortEditor(usedEffortTab);
        resourceTable->setObjectName(QStringLiteral("resourceTable"));
        resourceTable->setTabKeyNavigation(false);

        vboxLayout->addWidget(resourceTable);

        tabWidget->addTab(usedEffortTab, QString());

        verticalLayout_2->addWidget(tabWidget);

        QWidget::setTabOrder(tabWidget, started);
        QWidget::setTabOrder(started, startTime);
        QWidget::setTabOrder(startTime, finished);
        QWidget::setTabOrder(finished, finishTime);
        QWidget::setTabOrder(finishTime, addEntryBtn);
        QWidget::setTabOrder(addEntryBtn, removeEntryBtn);
        QWidget::setTabOrder(removeEntryBtn, entryTable);
        QWidget::setTabOrder(entryTable, ui_year);
        QWidget::setTabOrder(ui_year, prevWeekBtn);
        QWidget::setTabOrder(prevWeekBtn, weekNumber);
        QWidget::setTabOrder(weekNumber, nextWeekBtn);
        QWidget::setTabOrder(nextWeekBtn, addResource);
        QWidget::setTabOrder(addResource, resourceTable);

        retranslateUi(KPlato__TaskProgressPanelBase);

        tabWidget->setCurrentIndex(1);


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

    void retranslateUi(QWidget *KPlato__TaskProgressPanelBase)
    {
        started->setText(tr2i18n("Started:", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        started->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        finished->setText(tr2i18n("Finished:", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        finished->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        label->setText(tr2i18n("Edit mode:", Q_NULLPTR));
        editmode->clear();
        editmode->insertItems(0, QStringList()
         << tr2i18n("Calculate effort", Q_NULLPTR)
         << tr2i18n("Per task", Q_NULLPTR)
         << tr2i18n("Per resource", Q_NULLPTR)
        );
        addEntryBtn->setText(tr2i18n("Add Entry", Q_NULLPTR));
        removeEntryBtn->setText(tr2i18n("Remove Entry", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(completionTab), tr2i18n("Completion", Q_NULLPTR));
        prevWeekBtn->setText(tr2i18n("Prev", Q_NULLPTR));
        nextWeekBtn->setText(tr2i18n("Next", Q_NULLPTR));
        addResource->setText(tr2i18n("Add Resource...", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(usedEffortTab), tr2i18n("Per Resource", Q_NULLPTR));
        Q_UNUSED(KPlato__TaskProgressPanelBase);
    } // retranslateUi

};

} // namespace KPlato

namespace KPlato {
namespace Ui {
    class TaskProgressPanelBase: public Ui_TaskProgressPanelBase {};
} // namespace Ui
} // namespace KPlato

#endif // KPTTASKPROGRESSPANELBASE_H

