#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'schedulingdialog.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_SCHEDULINGDIALOG_H
#define UI_SCHEDULINGDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QTableView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "Libkdepim/KCheckComboBox"
#include "Libkdepim/KWeekdayCheckCombo"
#include "kcombobox.h"
#include "kdatecombobox.h"
#include "ktimecombobox.h"

QT_BEGIN_NAMESPACE

class Ui_Dialog
{
public:
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout_3;
    QFormLayout *formLayout;
    QLabel *label;
    QHBoxLayout *horizontalLayout;
    KDateComboBox *mStartDate;
    KTimeComboBox *mStartTime;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_2;
    KDateComboBox *mEndDate;
    KTimeComboBox *mEndTime;
    QFormLayout *formLayout_2;
    QLabel *label_3;
    KPIM::KWeekdayCheckCombo *mWeekdayCombo;
    QLabel *label_5;
    KPIM::KCheckComboBox *mRolesCombo;
    QTabWidget *mTabWidget;
    QWidget *mTextTab;
    QGridLayout *gridLayout;
    QTableView *mTableView;
    QWidget *mGanttTab;
    QGroupBox *mMoveApptGroupBox;
    QVBoxLayout *verticalLayout_3;
    QHBoxLayout *horizontalLayout_4;
    QSpacerItem *horizontalSpacer;
    QLabel *mMoveDayLabel;
    KTimeComboBox *mMoveBeginTimeEdit;
    QLabel *mMoveEndTimeLabel;
    QSpacerItem *horizontalSpacer_2;

    void setupUi(QWidget *Dialog)
    {
        if (Dialog->objectName().isEmpty())
            Dialog->setObjectName(QStringLiteral("Dialog"));
        Dialog->resize(558, 502);
        gridLayout_2 = new QGridLayout(Dialog);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label = new QLabel(Dialog);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(0, QFormLayout::LabelRole, label);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        mStartDate = new KDateComboBox(Dialog);
        mStartDate->setObjectName(QStringLiteral("mStartDate"));

        horizontalLayout->addWidget(mStartDate);

        mStartTime = new KTimeComboBox(Dialog);
        mStartTime->setObjectName(QStringLiteral("mStartTime"));

        horizontalLayout->addWidget(mStartTime);


        formLayout->setLayout(0, QFormLayout::FieldRole, horizontalLayout);

        label_2 = new QLabel(Dialog);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(1, QFormLayout::LabelRole, label_2);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        mEndDate = new KDateComboBox(Dialog);
        mEndDate->setObjectName(QStringLiteral("mEndDate"));

        horizontalLayout_2->addWidget(mEndDate);

        mEndTime = new KTimeComboBox(Dialog);
        mEndTime->setObjectName(QStringLiteral("mEndTime"));

        horizontalLayout_2->addWidget(mEndTime);


        formLayout->setLayout(1, QFormLayout::FieldRole, horizontalLayout_2);


        horizontalLayout_3->addLayout(formLayout);

        formLayout_2 = new QFormLayout();
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        label_3 = new QLabel(Dialog);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_3);

        mWeekdayCombo = new KPIM::KWeekdayCheckCombo(Dialog);
        mWeekdayCombo->setObjectName(QStringLiteral("mWeekdayCombo"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mWeekdayCombo->sizePolicy().hasHeightForWidth());
        mWeekdayCombo->setSizePolicy(sizePolicy);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, mWeekdayCombo);

        label_5 = new QLabel(Dialog);
        label_5->setObjectName(QStringLiteral("label_5"));
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout_2->setWidget(1, QFormLayout::LabelRole, label_5);

        mRolesCombo = new KPIM::KCheckComboBox(Dialog);
        mRolesCombo->setObjectName(QStringLiteral("mRolesCombo"));
        sizePolicy.setHeightForWidth(mRolesCombo->sizePolicy().hasHeightForWidth());
        mRolesCombo->setSizePolicy(sizePolicy);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, mRolesCombo);


        horizontalLayout_3->addLayout(formLayout_2);


        gridLayout_2->addLayout(horizontalLayout_3, 0, 0, 1, 1);

        mTabWidget = new QTabWidget(Dialog);
        mTabWidget->setObjectName(QStringLiteral("mTabWidget"));
        mTextTab = new QWidget();
        mTextTab->setObjectName(QStringLiteral("mTextTab"));
        gridLayout = new QGridLayout(mTextTab);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        mTableView = new QTableView(mTextTab);
        mTableView->setObjectName(QStringLiteral("mTableView"));
        mTableView->setAlternatingRowColors(true);
        mTableView->setSelectionMode(QAbstractItemView::SingleSelection);
        mTableView->setSelectionBehavior(QAbstractItemView::SelectRows);
        mTableView->setShowGrid(false);
        mTableView->horizontalHeader()->setVisible(false);
        mTableView->horizontalHeader()->setStretchLastSection(true);
        mTableView->verticalHeader()->setVisible(false);
        mTableView->verticalHeader()->setStretchLastSection(false);

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

        mTabWidget->addTab(mTextTab, QString());
        mGanttTab = new QWidget();
        mGanttTab->setObjectName(QStringLiteral("mGanttTab"));
        mTabWidget->addTab(mGanttTab, QString());

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

        mMoveApptGroupBox = new QGroupBox(Dialog);
        mMoveApptGroupBox->setObjectName(QStringLiteral("mMoveApptGroupBox"));
        verticalLayout_3 = new QVBoxLayout(mMoveApptGroupBox);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_4->addItem(horizontalSpacer);

        mMoveDayLabel = new QLabel(mMoveApptGroupBox);
        mMoveDayLabel->setObjectName(QStringLiteral("mMoveDayLabel"));
        mMoveDayLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout_4->addWidget(mMoveDayLabel);

        mMoveBeginTimeEdit = new KTimeComboBox(mMoveApptGroupBox);
        mMoveBeginTimeEdit->setObjectName(QStringLiteral("mMoveBeginTimeEdit"));

        horizontalLayout_4->addWidget(mMoveBeginTimeEdit);

        mMoveEndTimeLabel = new QLabel(mMoveApptGroupBox);
        mMoveEndTimeLabel->setObjectName(QStringLiteral("mMoveEndTimeLabel"));

        horizontalLayout_4->addWidget(mMoveEndTimeLabel);

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

        horizontalLayout_4->addItem(horizontalSpacer_2);


        verticalLayout_3->addLayout(horizontalLayout_4);


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


        retranslateUi(Dialog);

        mTabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *Dialog)
    {
        Dialog->setWindowTitle(tr2i18n("Schedule a time", Q_NULLPTR));
        label->setText(tr2i18n("Earliest time to start:", Q_NULLPTR));
        label_2->setText(tr2i18n("Latest time to end:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        label_3->setToolTip(tr2i18n("Check the weekdays to include in the search.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_STATUSTIP
        label_3->setStatusTip(QString());
#endif // QT_NO_STATUSTIP
#ifndef UI_QT_NO_WHATSTHIS
        label_3->setWhatsThis(tr2i18n("Only the checked weekdays will be included in the free time slot search.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        label_3->setText(tr2i18n("Allowed weekdays:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mWeekdayCombo->setToolTip(tr2i18n("Check the weekdays to include in the search.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mWeekdayCombo->setWhatsThis(tr2i18n("Only the checked weekdays will be included in the free time slot search.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        label_5->setToolTip(tr2i18n("Check the roles to include in the search.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        label_5->setWhatsThis(tr2i18n("Only the participants with the checked roles will be considered in the free time slot search.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        label_5->setText(tr2i18n("Mandatory roles:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mRolesCombo->setToolTip(tr2i18n("Check the roles to include in the search.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mRolesCombo->setWhatsThis(tr2i18n("Only the participants with the checked roles will be considered in the free time slot search.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mTabWidget->setTabText(mTabWidget->indexOf(mTextTab), tr2i18n("Automatic Search", Q_NULLPTR));
        mTabWidget->setTabText(mTabWidget->indexOf(mGanttTab), tr2i18n("Visual Search", Q_NULLPTR));
        mMoveApptGroupBox->setTitle(tr2i18n("Move your appointment to:", Q_NULLPTR));
        mMoveDayLabel->setText(tr2i18n("Monday, 12th June", Q_NULLPTR));
        mMoveEndTimeLabel->setText(tr2i18n("to 10:00am", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class Dialog: public Ui_Dialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SCHEDULINGDIALOG_H

