#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'alarmdialog.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_ALARMDIALOG_H
#define UI_ALARMDIALOG_H

#include <LibkdepimAkonadi/AddresseeLineEdit>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "LibkdepimAkonadi/AddresseeLineEdit"
#include "kcombobox.h"
#include "klineedit.h"
#include "ktextedit.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_AlarmDialog
{
public:
    QGridLayout *gridLayout;
    QLabel *label;
    QHBoxLayout *horizontalLayout;
    QSpinBox *mAlarmOffset;
    KComboBox *mOffsetUnit;
    KComboBox *mBeforeAfter;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *mRepeats;
    QSpinBox *mRepeatCount;
    QSpinBox *mRepeatInterval;
    QLabel *label_3;
    KComboBox *mTypeCombo;
    QStackedWidget *mTypeStack;
    QWidget *DisplayStack;
    QVBoxLayout *vboxLayout;
    KTextEdit *mDisplayText;
    QWidget *AudioStack;
    QGridLayout *gridLayout_2;
    QLabel *mSoundFileLabel;
    KUrlRequester *mSoundFile;
    QSpacerItem *spacerItem;
    QWidget *ApplicationStack;
    QGridLayout *gridLayout_3;
    QLabel *mApplicationLabel;
    KUrlRequester *mApplication;
    QLabel *mAppArgumentsLabel;
    QLineEdit *mAppArguments;
    QSpacerItem *spacerItem1;
    QWidget *EmailStack;
    QGridLayout *gridLayout_4;
    QLabel *mEmailToLabel;
    KPIM::AddresseeLineEdit *mEmailAddress;
    QLabel *mEmailTextLabel;
    KTextEdit *mEmailText;

    void setupUi(QWidget *AlarmDialog)
    {
        if (AlarmDialog->objectName().isEmpty())
            AlarmDialog->setObjectName(QStringLiteral("AlarmDialog"));
        AlarmDialog->resize(439, 315);
        gridLayout = new QGridLayout(AlarmDialog);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(AlarmDialog);
        label->setObjectName(QStringLiteral("label"));

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        mAlarmOffset = new QSpinBox(AlarmDialog);
        mAlarmOffset->setObjectName(QStringLiteral("mAlarmOffset"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mAlarmOffset->sizePolicy().hasHeightForWidth());
        mAlarmOffset->setSizePolicy(sizePolicy);
        mAlarmOffset->setMinimum(0);
        mAlarmOffset->setMaximum(99999);
        mAlarmOffset->setValue(15);

        horizontalLayout->addWidget(mAlarmOffset);

        mOffsetUnit = new KComboBox(AlarmDialog);
        mOffsetUnit->setObjectName(QStringLiteral("mOffsetUnit"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mOffsetUnit->sizePolicy().hasHeightForWidth());
        mOffsetUnit->setSizePolicy(sizePolicy1);
        mOffsetUnit->setAutoCompletion(false);

        horizontalLayout->addWidget(mOffsetUnit);

        mBeforeAfter = new KComboBox(AlarmDialog);
        mBeforeAfter->setObjectName(QStringLiteral("mBeforeAfter"));

        horizontalLayout->addWidget(mBeforeAfter);


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

        label_2 = new QLabel(AlarmDialog);
        label_2->setObjectName(QStringLiteral("label_2"));

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        mRepeats = new QCheckBox(AlarmDialog);
        mRepeats->setObjectName(QStringLiteral("mRepeats"));
        sizePolicy.setHeightForWidth(mRepeats->sizePolicy().hasHeightForWidth());
        mRepeats->setSizePolicy(sizePolicy);

        horizontalLayout_2->addWidget(mRepeats);

        mRepeatCount = new QSpinBox(AlarmDialog);
        mRepeatCount->setObjectName(QStringLiteral("mRepeatCount"));
        mRepeatCount->setEnabled(false);
        mRepeatCount->setMinimum(1);
        mRepeatCount->setMaximum(500);

        horizontalLayout_2->addWidget(mRepeatCount);

        mRepeatInterval = new QSpinBox(AlarmDialog);
        mRepeatInterval->setObjectName(QStringLiteral("mRepeatInterval"));
        mRepeatInterval->setEnabled(false);
        mRepeatInterval->setMinimum(1);
        mRepeatInterval->setMaximum(999);

        horizontalLayout_2->addWidget(mRepeatInterval);


        gridLayout->addLayout(horizontalLayout_2, 1, 1, 1, 1);

        label_3 = new QLabel(AlarmDialog);
        label_3->setObjectName(QStringLiteral("label_3"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
        label_3->setSizePolicy(sizePolicy2);
        label_3->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

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

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

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

        mTypeStack = new QStackedWidget(AlarmDialog);
        mTypeStack->setObjectName(QStringLiteral("mTypeStack"));
        DisplayStack = new QWidget();
        DisplayStack->setObjectName(QStringLiteral("DisplayStack"));
        vboxLayout = new QVBoxLayout(DisplayStack);
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        mDisplayText = new KTextEdit(DisplayStack);
        mDisplayText->setObjectName(QStringLiteral("mDisplayText"));
#ifndef UI_QT_NO_TOOLTIP
        mDisplayText->setToolTip(QStringLiteral("Provide text to display when the reminder triggers"));
#endif // QT_NO_TOOLTIP

        vboxLayout->addWidget(mDisplayText);

        mTypeStack->addWidget(DisplayStack);
        AudioStack = new QWidget();
        AudioStack->setObjectName(QStringLiteral("AudioStack"));
        gridLayout_2 = new QGridLayout(AudioStack);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
        mSoundFileLabel = new QLabel(AudioStack);
        mSoundFileLabel->setObjectName(QStringLiteral("mSoundFileLabel"));
        mSoundFileLabel->setAlignment(Qt::AlignJustify|Qt::AlignVCenter);

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

        mSoundFile = new KUrlRequester(AudioStack);
        mSoundFile->setObjectName(QStringLiteral("mSoundFile"));

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

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

        gridLayout_2->addItem(spacerItem, 1, 0, 1, 2);

        mTypeStack->addWidget(AudioStack);
        ApplicationStack = new QWidget();
        ApplicationStack->setObjectName(QStringLiteral("ApplicationStack"));
        gridLayout_3 = new QGridLayout(ApplicationStack);
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        gridLayout_3->setContentsMargins(0, 0, 0, 0);
        mApplicationLabel = new QLabel(ApplicationStack);
        mApplicationLabel->setObjectName(QStringLiteral("mApplicationLabel"));

        gridLayout_3->addWidget(mApplicationLabel, 0, 0, 1, 1);

        mApplication = new KUrlRequester(ApplicationStack);
        mApplication->setObjectName(QStringLiteral("mApplication"));

        gridLayout_3->addWidget(mApplication, 0, 1, 1, 1);

        mAppArgumentsLabel = new QLabel(ApplicationStack);
        mAppArgumentsLabel->setObjectName(QStringLiteral("mAppArgumentsLabel"));

        gridLayout_3->addWidget(mAppArgumentsLabel, 1, 0, 1, 1);

        mAppArguments = new QLineEdit(ApplicationStack);
        mAppArguments->setObjectName(QStringLiteral("mAppArguments"));

        gridLayout_3->addWidget(mAppArguments, 1, 1, 1, 1);

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

        gridLayout_3->addItem(spacerItem1, 2, 0, 1, 2);

        mTypeStack->addWidget(ApplicationStack);
        EmailStack = new QWidget();
        EmailStack->setObjectName(QStringLiteral("EmailStack"));
        gridLayout_4 = new QGridLayout(EmailStack);
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        gridLayout_4->setContentsMargins(0, 0, 0, 0);
        mEmailToLabel = new QLabel(EmailStack);
        mEmailToLabel->setObjectName(QStringLiteral("mEmailToLabel"));

        gridLayout_4->addWidget(mEmailToLabel, 0, 0, 1, 1);

        mEmailAddress = new KPIM::AddresseeLineEdit(EmailStack);
        mEmailAddress->setObjectName(QStringLiteral("mEmailAddress"));

        gridLayout_4->addWidget(mEmailAddress, 0, 1, 1, 1);

        mEmailTextLabel = new QLabel(EmailStack);
        mEmailTextLabel->setObjectName(QStringLiteral("mEmailTextLabel"));
        mEmailTextLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);

        gridLayout_4->addWidget(mEmailTextLabel, 1, 0, 1, 1);

        mEmailText = new KTextEdit(EmailStack);
        mEmailText->setObjectName(QStringLiteral("mEmailText"));

        gridLayout_4->addWidget(mEmailText, 1, 1, 1, 1);

        mTypeStack->addWidget(EmailStack);

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

#ifndef UI_QT_NO_SHORTCUT
        mSoundFileLabel->setBuddy(mSoundFile);
        mApplicationLabel->setBuddy(mApplication);
        mAppArgumentsLabel->setBuddy(mAppArguments);
        mEmailToLabel->setBuddy(mEmailAddress);
        mEmailTextLabel->setBuddy(mEmailText);
#endif // QT_NO_SHORTCUT

        retranslateUi(AlarmDialog);
        QObject::connect(mTypeCombo, SIGNAL(currentIndexChanged(int)), mTypeStack, SLOT(setCurrentIndex(int)));
        QObject::connect(mRepeats, SIGNAL(clicked(bool)), mRepeatCount, SLOT(setEnabled(bool)));
        QObject::connect(mRepeats, SIGNAL(toggled(bool)), mRepeatInterval, SLOT(setEnabled(bool)));

        mTypeStack->setCurrentIndex(0);


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

    void retranslateUi(QWidget *AlarmDialog)
    {
        AlarmDialog->setWindowTitle(tr2i18n("Alarms", Q_NULLPTR));
        label->setText(tr2i18n("When:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mAlarmOffset->setToolTip(tr2i18n("Set the reminder trigger time", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mAlarmOffset->setWhatsThis(tr2i18n("This spinbox allows you to set the reminder trigger time. The time unit is set in the combobox immediately adjacent.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mOffsetUnit->clear();
        mOffsetUnit->insertItems(0, QStringList()
         << tr2i18n("minute(s)", "@item:inlistbox alarm offset expressed in minutes")
         << tr2i18n("hour(s)", "@item:inlistbox alarm offset expressed in hours")
         << tr2i18n("day(s)", "@item:inlistbox alarm offset expressed in days")
        );
#ifndef UI_QT_NO_TOOLTIP
        mOffsetUnit->setToolTip(tr2i18n("Select the reminder trigger time unit", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mOffsetUnit->setWhatsThis(tr2i18n("This combobox allows you to set the units for the reminder trigger time. The trigger time value is set in the spinbox immediately adjacent.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mBeforeAfter->clear();
        mBeforeAfter->insertItems(0, QStringList()
         << tr2i18n("before the event starts", Q_NULLPTR)
         << tr2i18n("after the event starts", Q_NULLPTR)
         << tr2i18n("before the event ends", Q_NULLPTR)
         << tr2i18n("after the event ends", Q_NULLPTR)
        );
#ifndef UI_QT_NO_TOOLTIP
        mBeforeAfter->setToolTip(tr2i18n("Select the reminder trigger relative to the start or end time", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mBeforeAfter->setWhatsThis(tr2i18n("Use this combobox to specify if you want the reminder to trigger before or after the start or end time.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        label_2->setText(tr2i18n("Repeat:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mRepeats->setToolTip(tr2i18n("Set the reminder to repeat", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mRepeats->setWhatsThis(tr2i18n("Check this if you want to the reminder to recur on a periodic interval.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mRepeats->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        mRepeatCount->setToolTip(tr2i18n("Select how often the reminder should repeat", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mRepeatCount->setWhatsThis(tr2i18n("Use this selector to choose how many times you want the recurring reminder to repeat.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mRepeatCount->setSuffix(tr2i18n(" time(s)", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mRepeatInterval->setToolTip(tr2i18n("Select the time between reminder repeats", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mRepeatInterval->setWhatsThis(tr2i18n("Use this selector to choose the time between repeating reminders.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mRepeatInterval->setSuffix(tr2i18n(" Minute(s)", "@label:spinbox repeat interval expressed in minutes"));
        mRepeatInterval->setPrefix(tr2i18n("every ", "repeat every X minutes"));
        label_3->setText(tr2i18n("What:", Q_NULLPTR));
        mTypeCombo->clear();
        mTypeCombo->insertItems(0, QStringList()
         << tr2i18n("Display text", Q_NULLPTR)
         << tr2i18n("Play sound file", Q_NULLPTR)
         << tr2i18n("Run application / script", Q_NULLPTR)
         << tr2i18n("Send email", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        mDisplayText->setWhatsThis(tr2i18n("Specify any text you desire to display in the popup notice when the reminder triggers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mSoundFileLabel->setText(tr2i18n("Audio File:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mSoundFile->setToolTip(tr2i18n("Specify a file containing a sound to play when the reminder triggers", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mSoundFile->setWhatsThis(tr2i18n("Use the adjacent file browser to help you find the file you want to use when playing a sound when the reminder triggers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mApplicationLabel->setText(tr2i18n("&Application / Script:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mApplication->setToolTip(tr2i18n("Specify a file containing the application to run when the reminder triggers", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mApplication->setWhatsThis(tr2i18n("Use the adjacent file browser to help you find the file you want to use when running an application when the reminder triggers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mApplication->setFilter(tr2i18n("*|All files", Q_NULLPTR));
        mAppArgumentsLabel->setText(tr2i18n("Ar&guments:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mAppArguments->setToolTip(tr2i18n("Specify arguments to pass to the application when the reminder triggers", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mAppArguments->setWhatsThis(tr2i18n("Enter the application arguments to use when running an application when the reminder triggers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mEmailToLabel->setText(tr2i18n("&To:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mEmailAddress->setToolTip(tr2i18n("Specify a list of addresses to send email when the reminder triggers.\n"
"If the 'To:' field stays empty the email reminder will be sent to the\n"
"default email configured in Kmail (Settings menu/Configure Kmail/Identities).", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mEmailAddress->setWhatsThis(tr2i18n("Enter a list comma-separated addresses to which an email will be sent when the reminder triggers", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mEmailTextLabel->setText(tr2i18n("&Message:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mEmailText->setToolTip(tr2i18n("Specify text of an email message to send when the reminder triggers", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mEmailText->setWhatsThis(tr2i18n("Enter any text you desire for the email message that will be sent when the alarm triggers.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class AlarmDialog: public Ui_AlarmDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ALARMDIALOG_H

