#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kptwbsdefinitionpanelbase.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_KPTWBSDEFINITIONPANELBASE_H
#define UI_KPTWBSDEFINITIONPANELBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

namespace KPlato {

class Ui_WBSDefinitionPanelBase
{
public:
    QVBoxLayout *verticalLayout_3;
    QFrame *frame_2;
    QVBoxLayout *verticalLayout_2;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *textLabel1_2;
    QLineEdit *projectCode;
    QLabel *textLabel1_3_3;
    QLineEdit *projectSeparator;
    QFrame *line_2;
    QFrame *frame;
    QVBoxLayout *verticalLayout;
    QLabel *label;
    QHBoxLayout *horizontalLayout;
    QLabel *textLabel1;
    QComboBox *defaultCode;
    QLabel *textLabel1_3_2;
    QLineEdit *defaultSeparator;
    QGroupBox *levelsGroup;
    QGridLayout *gridLayout;
    QTableWidget *levelsTable;
    QPushButton *removeBtn;
    QPushButton *addBtn;
    QSpinBox *level;

    void setupUi(QWidget *KPlato__WBSDefinitionPanelBase)
    {
        if (KPlato__WBSDefinitionPanelBase->objectName().isEmpty())
            KPlato__WBSDefinitionPanelBase->setObjectName(QStringLiteral("KPlato__WBSDefinitionPanelBase"));
        KPlato__WBSDefinitionPanelBase->resize(362, 416);
        verticalLayout_3 = new QVBoxLayout(KPlato__WBSDefinitionPanelBase);
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        frame_2 = new QFrame(KPlato__WBSDefinitionPanelBase);
        frame_2->setObjectName(QStringLiteral("frame_2"));
        frame_2->setFrameShape(QFrame::StyledPanel);
        frame_2->setFrameShadow(QFrame::Raised);
        verticalLayout_2 = new QVBoxLayout(frame_2);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        label_2 = new QLabel(frame_2);
        label_2->setObjectName(QStringLiteral("label_2"));

        verticalLayout_2->addWidget(label_2);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        textLabel1_2 = new QLabel(frame_2);
        textLabel1_2->setObjectName(QStringLiteral("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

        horizontalLayout_2->addWidget(textLabel1_2);

        projectCode = new QLineEdit(frame_2);
        projectCode->setObjectName(QStringLiteral("projectCode"));

        horizontalLayout_2->addWidget(projectCode);

        textLabel1_3_3 = new QLabel(frame_2);
        textLabel1_3_3->setObjectName(QStringLiteral("textLabel1_3_3"));
        textLabel1_3_3->setWordWrap(false);

        horizontalLayout_2->addWidget(textLabel1_3_3);

        projectSeparator = new QLineEdit(frame_2);
        projectSeparator->setObjectName(QStringLiteral("projectSeparator"));

        horizontalLayout_2->addWidget(projectSeparator);


        verticalLayout_2->addLayout(horizontalLayout_2);


        verticalLayout_3->addWidget(frame_2);

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

        verticalLayout_3->addWidget(line_2);

        frame = new QFrame(KPlato__WBSDefinitionPanelBase);
        frame->setObjectName(QStringLiteral("frame"));
        frame->setFrameShape(QFrame::StyledPanel);
        frame->setFrameShadow(QFrame::Raised);
        verticalLayout = new QVBoxLayout(frame);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        label = new QLabel(frame);
        label->setObjectName(QStringLiteral("label"));

        verticalLayout->addWidget(label);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        textLabel1 = new QLabel(frame);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setWordWrap(false);

        horizontalLayout->addWidget(textLabel1);

        defaultCode = new QComboBox(frame);
        defaultCode->setObjectName(QStringLiteral("defaultCode"));
        defaultCode->setSizeAdjustPolicy(QComboBox::AdjustToContents);

        horizontalLayout->addWidget(defaultCode);

        textLabel1_3_2 = new QLabel(frame);
        textLabel1_3_2->setObjectName(QStringLiteral("textLabel1_3_2"));
        textLabel1_3_2->setWordWrap(false);

        horizontalLayout->addWidget(textLabel1_3_2);

        defaultSeparator = new QLineEdit(frame);
        defaultSeparator->setObjectName(QStringLiteral("defaultSeparator"));

        horizontalLayout->addWidget(defaultSeparator);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_3->addWidget(frame);

        levelsGroup = new QGroupBox(KPlato__WBSDefinitionPanelBase);
        levelsGroup->setObjectName(QStringLiteral("levelsGroup"));
        levelsGroup->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        levelsGroup->setCheckable(true);
        gridLayout = new QGridLayout(levelsGroup);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        levelsTable = new QTableWidget(levelsGroup);
        if (levelsTable->columnCount() < 2)
            levelsTable->setColumnCount(2);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        levelsTable->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        levelsTable->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        levelsTable->setObjectName(QStringLiteral("levelsTable"));
        levelsTable->setColumnCount(2);

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

        removeBtn = new QPushButton(levelsGroup);
        removeBtn->setObjectName(QStringLiteral("removeBtn"));

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

        addBtn = new QPushButton(levelsGroup);
        addBtn->setObjectName(QStringLiteral("addBtn"));

        gridLayout->addWidget(addBtn, 1, 1, 1, 1);

        level = new QSpinBox(levelsGroup);
        level->setObjectName(QStringLiteral("level"));
        level->setMinimum(1);
        level->setValue(1);

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


        verticalLayout_3->addWidget(levelsGroup);

#ifndef UI_QT_NO_SHORTCUT
        textLabel1_2->setBuddy(projectCode);
        textLabel1_3_3->setBuddy(projectSeparator);
        textLabel1->setBuddy(defaultCode);
        textLabel1_3_2->setBuddy(defaultSeparator);
#endif // QT_NO_SHORTCUT

        retranslateUi(KPlato__WBSDefinitionPanelBase);

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

    void retranslateUi(QWidget *KPlato__WBSDefinitionPanelBase)
    {
#ifndef UI_QT_NO_TOOLTIP
        frame_2->setToolTip(tr2i18n("Define WBS code for the project", "@info:tooltip Work Breakdown Structure code"));
#endif // QT_NO_TOOLTIP
        label_2->setText(tr2i18n("Project Code Definition", Q_NULLPTR));
        textLabel1_2->setText(tr2i18n("Code:", Q_NULLPTR));
        textLabel1_3_3->setText(tr2i18n("Separator:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        frame->setToolTip(tr2i18n("Define default WBS code", "@info:tooltip Work Breakdown Structure code"));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("Default Definition", Q_NULLPTR));
        textLabel1->setText(tr2i18n("Code:", Q_NULLPTR));
        textLabel1_3_2->setText(tr2i18n("Separator:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        levelsGroup->setToolTip(tr2i18n("Define separate WBS codes for individual levels", "@info:tooltip Work Breakdown Structure code"));
#endif // QT_NO_TOOLTIP
        levelsGroup->setTitle(tr2i18n("Use Levels Definition", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem = levelsTable->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(tr2i18n("Code", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem1 = levelsTable->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(tr2i18n("Separator", Q_NULLPTR));
        removeBtn->setText(tr2i18n("Remove", Q_NULLPTR));
        addBtn->setText(tr2i18n("Add Level", Q_NULLPTR));
        Q_UNUSED(KPlato__WBSDefinitionPanelBase);
    } // retranslateUi

};

} // namespace KPlato

namespace KPlato {
namespace Ui {
    class WBSDefinitionPanelBase: public Ui_WBSDefinitionPanelBase {};
} // namespace Ui
} // namespace KPlato

#endif // KPTWBSDEFINITIONPANELBASE_H

