#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kptconfigtaskpanelbase.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_KPTCONFIGTASKPANELBASE_H
#define UI_KPTCONFIGTASKPANELBASE_H

#include <KToolBar>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDateTimeEdit>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#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 "klineedit.h"
#include "kptdurationspinbox.h"
#include "kptmycombobox_p.h"
#include "krichtextedit.h"
#include "krichtextwidget.h"
#include "ktextedit.h"

namespace KPlato {

class Ui_ConfigTaskPanelBase
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *tab;
    QGridLayout *gridLayout;
    QLabel *leaderlabel;
    QHBoxLayout *hboxLayout;
    KLineEdit *kcfg_Leader;
    QPushButton *chooseLeader;
    QLabel *textLabel3;
    KComboBox *kcfg_ConstraintType;
    QLabel *textLabel3_5;
    KComboBox *kcfg_StartTimeUsage;
    QLabel *textLabel3_3;
    QDateTimeEdit *kcfg_ConstraintStartTime;
    QLabel *textLabel3_6;
    KComboBox *kcfg_EndTimeUsage;
    QLabel *textLabel3_4;
    QDateTimeEdit *kcfg_ConstraintEndTime;
    QFrame *line;
    QLabel *textLabel3_7;
    KComboBox *kcfg_EstimateType;
    QLabel *textLabel3_8;
    QHBoxLayout *horizontalLayout;
    KPlato::DurationSpinBox *kcfg_ExpectedEstimate;
    KPlato::MyComboBox *kcfg_Unit;
    QLabel *textLabel1_3;
    QSpinBox *kcfg_OptimisticRatio;
    QLabel *textLabel2_2;
    QSpinBox *kcfg_PessimisticRatio;
    QSpacerItem *verticalSpacer;
    QFrame *line_2;
    QWidget *widget;
    QVBoxLayout *verticalLayout_2;
    KToolBar *toolbar;
    KRichTextWidget *kcfg_Description;

    void setupUi(QWidget *KPlato__ConfigTaskPanelBase)
    {
        if (KPlato__ConfigTaskPanelBase->objectName().isEmpty())
            KPlato__ConfigTaskPanelBase->setObjectName(QStringLiteral("KPlato__ConfigTaskPanelBase"));
        KPlato__ConfigTaskPanelBase->resize(410, 377);
        verticalLayout = new QVBoxLayout(KPlato__ConfigTaskPanelBase);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        tabWidget = new QTabWidget(KPlato__ConfigTaskPanelBase);
        tabWidget->setObjectName(QStringLiteral("tabWidget"));
        tab = new QWidget();
        tab->setObjectName(QStringLiteral("tab"));
        gridLayout = new QGridLayout(tab);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        leaderlabel = new QLabel(tab);
        leaderlabel->setObjectName(QStringLiteral("leaderlabel"));
        leaderlabel->setWordWrap(false);
        leaderlabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        kcfg_Leader = new KLineEdit(tab);
        kcfg_Leader->setObjectName(QStringLiteral("kcfg_Leader"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_Leader->sizePolicy().hasHeightForWidth());
        kcfg_Leader->setSizePolicy(sizePolicy);

        hboxLayout->addWidget(kcfg_Leader);

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

        hboxLayout->addWidget(chooseLeader);


        gridLayout->addLayout(hboxLayout, 0, 1, 1, 1);

        textLabel3 = new QLabel(tab);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        sizePolicy.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
        textLabel3->setSizePolicy(sizePolicy);
        textLabel3->setWordWrap(false);
        textLabel3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_ConstraintType = new KComboBox(tab);
        kcfg_ConstraintType->setObjectName(QStringLiteral("kcfg_ConstraintType"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(kcfg_ConstraintType->sizePolicy().hasHeightForWidth());
        kcfg_ConstraintType->setSizePolicy(sizePolicy1);

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

        textLabel3_5 = new QLabel(tab);
        textLabel3_5->setObjectName(QStringLiteral("textLabel3_5"));
        sizePolicy.setHeightForWidth(textLabel3_5->sizePolicy().hasHeightForWidth());
        textLabel3_5->setSizePolicy(sizePolicy);
        textLabel3_5->setWordWrap(false);
        textLabel3_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_5, 3, 0, 1, 1);

        kcfg_StartTimeUsage = new KComboBox(tab);
        kcfg_StartTimeUsage->setObjectName(QStringLiteral("kcfg_StartTimeUsage"));
        sizePolicy1.setHeightForWidth(kcfg_StartTimeUsage->sizePolicy().hasHeightForWidth());
        kcfg_StartTimeUsage->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(kcfg_StartTimeUsage, 3, 1, 1, 1);

        textLabel3_3 = new QLabel(tab);
        textLabel3_3->setObjectName(QStringLiteral("textLabel3_3"));
        sizePolicy.setHeightForWidth(textLabel3_3->sizePolicy().hasHeightForWidth());
        textLabel3_3->setSizePolicy(sizePolicy);
        textLabel3_3->setWordWrap(false);
        textLabel3_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_3, 4, 0, 1, 1);

        kcfg_ConstraintStartTime = new QDateTimeEdit(tab);
        kcfg_ConstraintStartTime->setObjectName(QStringLiteral("kcfg_ConstraintStartTime"));
        kcfg_ConstraintStartTime->setCalendarPopup(true);

        gridLayout->addWidget(kcfg_ConstraintStartTime, 4, 1, 1, 1);

        textLabel3_6 = new QLabel(tab);
        textLabel3_6->setObjectName(QStringLiteral("textLabel3_6"));
        sizePolicy.setHeightForWidth(textLabel3_6->sizePolicy().hasHeightForWidth());
        textLabel3_6->setSizePolicy(sizePolicy);
        textLabel3_6->setWordWrap(false);
        textLabel3_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_6, 5, 0, 1, 1);

        kcfg_EndTimeUsage = new KComboBox(tab);
        kcfg_EndTimeUsage->setObjectName(QStringLiteral("kcfg_EndTimeUsage"));
        sizePolicy1.setHeightForWidth(kcfg_EndTimeUsage->sizePolicy().hasHeightForWidth());
        kcfg_EndTimeUsage->setSizePolicy(sizePolicy1);

        gridLayout->addWidget(kcfg_EndTimeUsage, 5, 1, 1, 1);

        textLabel3_4 = new QLabel(tab);
        textLabel3_4->setObjectName(QStringLiteral("textLabel3_4"));
        sizePolicy.setHeightForWidth(textLabel3_4->sizePolicy().hasHeightForWidth());
        textLabel3_4->setSizePolicy(sizePolicy);
        textLabel3_4->setWordWrap(false);
        textLabel3_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_4, 6, 0, 1, 1);

        kcfg_ConstraintEndTime = new QDateTimeEdit(tab);
        kcfg_ConstraintEndTime->setObjectName(QStringLiteral("kcfg_ConstraintEndTime"));
        kcfg_ConstraintEndTime->setCalendarPopup(true);

        gridLayout->addWidget(kcfg_ConstraintEndTime, 6, 1, 1, 1);

        line = new QFrame(tab);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line, 7, 0, 1, 2);

        textLabel3_7 = new QLabel(tab);
        textLabel3_7->setObjectName(QStringLiteral("textLabel3_7"));
        sizePolicy.setHeightForWidth(textLabel3_7->sizePolicy().hasHeightForWidth());
        textLabel3_7->setSizePolicy(sizePolicy);
        textLabel3_7->setWordWrap(false);
        textLabel3_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_7, 8, 0, 1, 1);

        kcfg_EstimateType = new KComboBox(tab);
        kcfg_EstimateType->setObjectName(QStringLiteral("kcfg_EstimateType"));
        sizePolicy1.setHeightForWidth(kcfg_EstimateType->sizePolicy().hasHeightForWidth());
        kcfg_EstimateType->setSizePolicy(sizePolicy1);
        kcfg_EstimateType->setEditable(false);

        gridLayout->addWidget(kcfg_EstimateType, 8, 1, 1, 1);

        textLabel3_8 = new QLabel(tab);
        textLabel3_8->setObjectName(QStringLiteral("textLabel3_8"));
        sizePolicy.setHeightForWidth(textLabel3_8->sizePolicy().hasHeightForWidth());
        textLabel3_8->setSizePolicy(sizePolicy);
        textLabel3_8->setWordWrap(false);
        textLabel3_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel3_8, 9, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        kcfg_ExpectedEstimate = new KPlato::DurationSpinBox(tab);
        kcfg_ExpectedEstimate->setObjectName(QStringLiteral("kcfg_ExpectedEstimate"));

        horizontalLayout->addWidget(kcfg_ExpectedEstimate);

        kcfg_Unit = new KPlato::MyComboBox(tab);
        kcfg_Unit->setObjectName(QStringLiteral("kcfg_Unit"));

        horizontalLayout->addWidget(kcfg_Unit);


        gridLayout->addLayout(horizontalLayout, 9, 1, 1, 1);

        textLabel1_3 = new QLabel(tab);
        textLabel1_3->setObjectName(QStringLiteral("textLabel1_3"));
        sizePolicy.setHeightForWidth(textLabel1_3->sizePolicy().hasHeightForWidth());
        textLabel1_3->setSizePolicy(sizePolicy);
        textLabel1_3->setWordWrap(false);
        textLabel1_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(textLabel1_3, 10, 0, 1, 1);

        kcfg_OptimisticRatio = new QSpinBox(tab);
        kcfg_OptimisticRatio->setObjectName(QStringLiteral("kcfg_OptimisticRatio"));
        kcfg_OptimisticRatio->setMinimum(-99);
        kcfg_OptimisticRatio->setMaximum(0);

        gridLayout->addWidget(kcfg_OptimisticRatio, 10, 1, 1, 1);

        textLabel2_2 = new QLabel(tab);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        sizePolicy.setHeightForWidth(textLabel2_2->sizePolicy().hasHeightForWidth());
        textLabel2_2->setSizePolicy(sizePolicy);
        textLabel2_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2_2->setWordWrap(false);

        gridLayout->addWidget(textLabel2_2, 11, 0, 1, 1);

        kcfg_PessimisticRatio = new QSpinBox(tab);
        kcfg_PessimisticRatio->setObjectName(QStringLiteral("kcfg_PessimisticRatio"));
        kcfg_PessimisticRatio->setMaximum(999);

        gridLayout->addWidget(kcfg_PessimisticRatio, 11, 1, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 12, 0, 1, 1);

        line_2 = new QFrame(tab);
        line_2->setObjectName(QStringLiteral("line_2"));
        line_2->setFrameShape(QFrame::HLine);
        line_2->setFrameShadow(QFrame::Sunken);

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

        gridLayout->setColumnStretch(1, 1);
        tabWidget->addTab(tab, QString());
        widget = new QWidget();
        widget->setObjectName(QStringLiteral("widget"));
        verticalLayout_2 = new QVBoxLayout(widget);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        toolbar = new KToolBar(widget);
        toolbar->setObjectName(QStringLiteral("toolbar"));
        toolbar->setMinimumSize(QSize(0, 10));

        verticalLayout_2->addWidget(toolbar);

        kcfg_Description = new KRichTextWidget(widget);
        kcfg_Description->setObjectName(QStringLiteral("kcfg_Description"));

        verticalLayout_2->addWidget(kcfg_Description);

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

        verticalLayout->addWidget(tabWidget);

#ifndef UI_QT_NO_SHORTCUT
        leaderlabel->setBuddy(kcfg_Leader);
        textLabel3->setBuddy(kcfg_ConstraintType);
        textLabel3_5->setBuddy(kcfg_StartTimeUsage);
        textLabel3_3->setBuddy(kcfg_ConstraintStartTime);
        textLabel3_6->setBuddy(kcfg_EndTimeUsage);
        textLabel3_4->setBuddy(kcfg_ConstraintEndTime);
        textLabel3_7->setBuddy(kcfg_EstimateType);
        textLabel3_8->setBuddy(kcfg_ExpectedEstimate);
        textLabel1_3->setBuddy(kcfg_OptimisticRatio);
        textLabel2_2->setBuddy(kcfg_PessimisticRatio);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_Leader, chooseLeader);
        QWidget::setTabOrder(chooseLeader, kcfg_ConstraintType);
        QWidget::setTabOrder(kcfg_ConstraintType, kcfg_StartTimeUsage);
        QWidget::setTabOrder(kcfg_StartTimeUsage, kcfg_ConstraintStartTime);
        QWidget::setTabOrder(kcfg_ConstraintStartTime, kcfg_EndTimeUsage);
        QWidget::setTabOrder(kcfg_EndTimeUsage, kcfg_ConstraintEndTime);
        QWidget::setTabOrder(kcfg_ConstraintEndTime, kcfg_EstimateType);
        QWidget::setTabOrder(kcfg_EstimateType, kcfg_ExpectedEstimate);
        QWidget::setTabOrder(kcfg_ExpectedEstimate, kcfg_Unit);
        QWidget::setTabOrder(kcfg_Unit, kcfg_OptimisticRatio);
        QWidget::setTabOrder(kcfg_OptimisticRatio, kcfg_PessimisticRatio);
        QWidget::setTabOrder(kcfg_PessimisticRatio, kcfg_Description);

        retranslateUi(KPlato__ConfigTaskPanelBase);

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KPlato__ConfigTaskPanelBase)
    {
#ifndef UI_QT_NO_WHATSTHIS
        leaderlabel->setWhatsThis(tr2i18n("The person responsible for this task.\n"
"\n"
"This is not limited to persons available in a resource group but can be anyone. You can even directly access your address book with the Choose button.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        leaderlabel->setText(tr2i18n("Responsible:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_Leader->setWhatsThis(tr2i18n("The person responsible for this task.\n"
"\n"
"This is not limited to persons available in a resource group but can be anyone. You can even directly access your address book with the Choose button.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        chooseLeader->setToolTip(tr2i18n("Insert a person from your address book", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        chooseLeader->setWhatsThis(tr2i18n("Insert a person from your address book.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        chooseLeader->setText(tr2i18n("Choose...", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        chooseLeader->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        textLabel3->setText(tr2i18n("Scheduling constraint:", Q_NULLPTR));
        kcfg_ConstraintType->clear();
        kcfg_ConstraintType->insertItems(0, QStringList()
         << tr2i18n("As Soon as Possible", Q_NULLPTR)
         << tr2i18n("As Late as Possible", Q_NULLPTR)
         << tr2i18n("Must Start On", Q_NULLPTR)
         << tr2i18n("Must Finish On", Q_NULLPTR)
         << tr2i18n("Start Not Earlier Than", Q_NULLPTR)
         << tr2i18n("Finish Not Later Than", Q_NULLPTR)
         << tr2i18n("Fixed Interval", Q_NULLPTR)
        );
        textLabel3_5->setText(tr2i18n("Constraint Start time usage:", Q_NULLPTR));
        kcfg_StartTimeUsage->clear();
        kcfg_StartTimeUsage->insertItems(0, QStringList()
         << tr2i18n("Current date and time", Q_NULLPTR)
         << tr2i18n("Current date, specified time", Q_NULLPTR)
         << tr2i18n("Specified date and time", Q_NULLPTR)
        );
        textLabel3_3->setText(tr2i18n("Constraint start time:", Q_NULLPTR));
        textLabel3_6->setText(tr2i18n("Constraint End time usage:", Q_NULLPTR));
        kcfg_EndTimeUsage->clear();
        kcfg_EndTimeUsage->insertItems(0, QStringList()
         << tr2i18n("Current date and time", Q_NULLPTR)
         << tr2i18n("Current date, specified time", Q_NULLPTR)
         << tr2i18n("Specified date and time", Q_NULLPTR)
        );
        textLabel3_4->setText(tr2i18n("Constraint end time:", Q_NULLPTR));
        textLabel3_7->setText(tr2i18n("Estimate type:", Q_NULLPTR));
        kcfg_EstimateType->clear();
        kcfg_EstimateType->insertItems(0, QStringList()
         << tr2i18n("Effort", Q_NULLPTR)
         << tr2i18n("Duration", Q_NULLPTR)
        );
        textLabel3_8->setText(tr2i18n("Expected estimate:", Q_NULLPTR));
        textLabel1_3->setText(tr2i18n("Optimistic estimate:", Q_NULLPTR));
        kcfg_OptimisticRatio->setSuffix(tr2i18n("%", Q_NULLPTR));
        textLabel2_2->setText(tr2i18n("Pessimistic estimate:", Q_NULLPTR));
        kcfg_PessimisticRatio->setSuffix(tr2i18n("%", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("General", Q_NULLPTR));
        tabWidget->setTabText(tabWidget->indexOf(widget), tr2i18n("Description", Q_NULLPTR));
        Q_UNUSED(KPlato__ConfigTaskPanelBase);
    } // retranslateUi

};

} // namespace KPlato

namespace KPlato {
namespace Ui {
    class ConfigTaskPanelBase: public Ui_ConfigTaskPanelBase {};
} // namespace Ui
} // namespace KPlato

#endif // KPTCONFIGTASKPANELBASE_H

