#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'taskcompletionpanel.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_TASKCOMPLETIONPANEL_H
#define UI_TASKCOMPLETIONPANEL_H

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

namespace KPlatoWork {

class Ui_TaskCompletionPanel
{
public:
    QVBoxLayout *verticalLayout;
    QFrame *frame;
    QHBoxLayout *horizontalLayout;
    QCheckBox *started;
    QDateTimeEdit *startTime;
    QCheckBox *finished;
    QDateTimeEdit *finishTime;
    QSpacerItem *spacer;
    QHBoxLayout *horizontalLayout_7;
    QFrame *ui_plannedFrame;
    QHBoxLayout *horizontalLayout_6;
    QLabel *ui_plannedLabel;
    QHBoxLayout *horizontalLayout_5;
    QFrame *frame_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *ui_labelResource;
    QLabel *ui_plannedResource;
    QFrame *frame_3;
    QHBoxLayout *horizontalLayout_4;
    QLabel *ui_labelTask;
    QLabel *ui_plannedTask;
    QSpacerItem *spacerItem;
    KPlato::CompletionEntryEditor *entryTable;
    QHBoxLayout *horizontalLayout_3;
    QPushButton *addEntryBtn;
    QPushButton *removeEntryBtn;
    QSpacerItem *horizontalSpacer;

    void setupUi(QWidget *KPlatoWork__TaskCompletionPanel)
    {
        if (KPlatoWork__TaskCompletionPanel->objectName().isEmpty())
            KPlatoWork__TaskCompletionPanel->setObjectName(QStringLiteral("KPlatoWork__TaskCompletionPanel"));
        KPlatoWork__TaskCompletionPanel->resize(620, 323);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(KPlatoWork__TaskCompletionPanel->sizePolicy().hasHeightForWidth());
        KPlatoWork__TaskCompletionPanel->setSizePolicy(sizePolicy);
        verticalLayout = new QVBoxLayout(KPlatoWork__TaskCompletionPanel);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        frame = new QFrame(KPlatoWork__TaskCompletionPanel);
        frame->setObjectName(QStringLiteral("frame"));
        frame->setFrameShape(QFrame::StyledPanel);
        frame->setFrameShadow(QFrame::Raised);
        horizontalLayout = new QHBoxLayout(frame);
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        started = new QCheckBox(frame);
        started->setObjectName(QStringLiteral("started"));

        horizontalLayout->addWidget(started);

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

        horizontalLayout->addWidget(startTime);

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

        horizontalLayout->addWidget(finished);

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

        horizontalLayout->addWidget(finishTime);

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

        horizontalLayout->addItem(spacer);


        verticalLayout->addWidget(frame);

        horizontalLayout_7 = new QHBoxLayout();
        horizontalLayout_7->setObjectName(QStringLiteral("horizontalLayout_7"));
        ui_plannedFrame = new QFrame(KPlatoWork__TaskCompletionPanel);
        ui_plannedFrame->setObjectName(QStringLiteral("ui_plannedFrame"));
        ui_plannedFrame->setFrameShape(QFrame::StyledPanel);
        ui_plannedFrame->setFrameShadow(QFrame::Raised);
        horizontalLayout_6 = new QHBoxLayout(ui_plannedFrame);
        horizontalLayout_6->setSpacing(10);
        horizontalLayout_6->setObjectName(QStringLiteral("horizontalLayout_6"));
        horizontalLayout_6->setContentsMargins(-1, 0, -1, 0);
        ui_plannedLabel = new QLabel(ui_plannedFrame);
        ui_plannedLabel->setObjectName(QStringLiteral("ui_plannedLabel"));
        ui_plannedLabel->setAlignment(Qt::AlignCenter);

        horizontalLayout_6->addWidget(ui_plannedLabel);

        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QStringLiteral("horizontalLayout_5"));
        frame_2 = new QFrame(ui_plannedFrame);
        frame_2->setObjectName(QStringLiteral("frame_2"));
        frame_2->setFrameShape(QFrame::StyledPanel);
        frame_2->setFrameShadow(QFrame::Sunken);
        horizontalLayout_2 = new QHBoxLayout(frame_2);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        horizontalLayout_2->setContentsMargins(-1, 0, -1, 0);
        ui_labelResource = new QLabel(frame_2);
        ui_labelResource->setObjectName(QStringLiteral("ui_labelResource"));

        horizontalLayout_2->addWidget(ui_labelResource);

        ui_plannedResource = new QLabel(frame_2);
        ui_plannedResource->setObjectName(QStringLiteral("ui_plannedResource"));

        horizontalLayout_2->addWidget(ui_plannedResource);


        horizontalLayout_5->addWidget(frame_2);

        frame_3 = new QFrame(ui_plannedFrame);
        frame_3->setObjectName(QStringLiteral("frame_3"));
        frame_3->setFrameShape(QFrame::StyledPanel);
        frame_3->setFrameShadow(QFrame::Sunken);
        horizontalLayout_4 = new QHBoxLayout(frame_3);
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        horizontalLayout_4->setContentsMargins(-1, 0, -1, 0);
        ui_labelTask = new QLabel(frame_3);
        ui_labelTask->setObjectName(QStringLiteral("ui_labelTask"));

        horizontalLayout_4->addWidget(ui_labelTask);

        ui_plannedTask = new QLabel(frame_3);
        ui_plannedTask->setObjectName(QStringLiteral("ui_plannedTask"));

        horizontalLayout_4->addWidget(ui_plannedTask);


        horizontalLayout_5->addWidget(frame_3);


        horizontalLayout_6->addLayout(horizontalLayout_5);

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

        horizontalLayout_6->addItem(spacerItem);


        horizontalLayout_7->addWidget(ui_plannedFrame);


        verticalLayout->addLayout(horizontalLayout_7);

        entryTable = new KPlato::CompletionEntryEditor(KPlatoWork__TaskCompletionPanel);
        entryTable->setObjectName(QStringLiteral("entryTable"));
        entryTable->setTabKeyNavigation(false);
        entryTable->verticalHeader()->setVisible(false);

        verticalLayout->addWidget(entryTable);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        addEntryBtn = new QPushButton(KPlatoWork__TaskCompletionPanel);
        addEntryBtn->setObjectName(QStringLiteral("addEntryBtn"));

        horizontalLayout_3->addWidget(addEntryBtn);

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

        horizontalLayout_3->addWidget(removeEntryBtn);

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

        horizontalLayout_3->addItem(horizontalSpacer);


        verticalLayout->addLayout(horizontalLayout_3);

        QWidget::setTabOrder(started, startTime);
        QWidget::setTabOrder(startTime, finished);
        QWidget::setTabOrder(finished, finishTime);
        QWidget::setTabOrder(finishTime, entryTable);

        retranslateUi(KPlatoWork__TaskCompletionPanel);

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

    void retranslateUi(QWidget *KPlatoWork__TaskCompletionPanel)
    {
        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
        ui_plannedLabel->setText(QString());
        ui_labelResource->setText(QString());
        ui_plannedResource->setText(QString());
        ui_labelTask->setText(QString());
        ui_plannedTask->setText(QString());
        addEntryBtn->setText(tr2i18n("Add Entry", Q_NULLPTR));
        removeEntryBtn->setText(tr2i18n("Remove Entry", Q_NULLPTR));
        Q_UNUSED(KPlatoWork__TaskCompletionPanel);
    } // retranslateUi

};

} // namespace KPlatoWork

namespace KPlatoWork {
namespace Ui {
    class TaskCompletionPanel: public Ui_TaskCompletionPanel {};
} // namespace Ui
} // namespace KPlatoWork

#endif // TASKCOMPLETIONPANEL_H

