/********************************************************************************
** Form generated from reading UI file 'miscpagemaintab.ui'
**
** Created by: Qt User Interface Compiler version 6.11.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_MISCPAGEMAINTAB_H
#define UI_MISCPAGEMAINTAB_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_MiscMainTab
{
public:
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QCheckBox *kcfg_ShowPopupAfterDnD;
    QCheckBox *kcfg_EmptyTrashOnExit;
    QLabel *mLoopLabel;
    QWidget *mOnStartupOpenFolder;
    QLabel *mEnterFolderLabel;
    QCheckBox *kcfg_ExcludeImportantMailFromExpiry;
    QComboBox *kcfg_ActionEnterFolder;
    QCheckBox *mDelayedMarkAsRead;
    QComboBox *kcfg_LoopOnGotoUnread;
    QSpinBox *mDelayedMarkTime;
    QCheckBox *kcfg_StartSpecificFolderAtStartup;
    QCheckBox *kcfg_DeleteMessageWithoutConfirmation;
    QCheckBox *kcfg_EnableFolderDnD;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *MiscMainTab)
    {
        if (MiscMainTab->objectName().isEmpty())
            MiscMainTab->setObjectName("MiscMainTab");
        MiscMainTab->resize(606, 348);
        verticalLayout = new QVBoxLayout(MiscMainTab);
        verticalLayout->setObjectName("verticalLayout");
        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        kcfg_ShowPopupAfterDnD = new QCheckBox(MiscMainTab);
        kcfg_ShowPopupAfterDnD->setObjectName("kcfg_ShowPopupAfterDnD");

        gridLayout->addWidget(kcfg_ShowPopupAfterDnD, 4, 0, 1, 2);

        kcfg_EmptyTrashOnExit = new QCheckBox(MiscMainTab);
        kcfg_EmptyTrashOnExit->setObjectName("kcfg_EmptyTrashOnExit");

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

        mLoopLabel = new QLabel(MiscMainTab);
        mLoopLabel->setObjectName("mLoopLabel");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mLoopLabel->sizePolicy().hasHeightForWidth());
        mLoopLabel->setSizePolicy(sizePolicy);

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

        mOnStartupOpenFolder = new QWidget(MiscMainTab);
        mOnStartupOpenFolder->setObjectName("mOnStartupOpenFolder");

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

        mEnterFolderLabel = new QLabel(MiscMainTab);
        mEnterFolderLabel->setObjectName("mEnterFolderLabel");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mEnterFolderLabel->sizePolicy().hasHeightForWidth());
        mEnterFolderLabel->setSizePolicy(sizePolicy1);

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

        kcfg_ExcludeImportantMailFromExpiry = new QCheckBox(MiscMainTab);
        kcfg_ExcludeImportantMailFromExpiry->setObjectName("kcfg_ExcludeImportantMailFromExpiry");

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

        kcfg_ActionEnterFolder = new QComboBox(MiscMainTab);
        kcfg_ActionEnterFolder->addItem(QString());
        kcfg_ActionEnterFolder->addItem(QString());
        kcfg_ActionEnterFolder->addItem(QString());
        kcfg_ActionEnterFolder->addItem(QString());
        kcfg_ActionEnterFolder->setObjectName("kcfg_ActionEnterFolder");

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

        mDelayedMarkAsRead = new QCheckBox(MiscMainTab);
        mDelayedMarkAsRead->setObjectName("mDelayedMarkAsRead");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(1);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(mDelayedMarkAsRead->sizePolicy().hasHeightForWidth());
        mDelayedMarkAsRead->setSizePolicy(sizePolicy2);

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

        kcfg_LoopOnGotoUnread = new QComboBox(MiscMainTab);
        kcfg_LoopOnGotoUnread->addItem(QString());
        kcfg_LoopOnGotoUnread->addItem(QString());
        kcfg_LoopOnGotoUnread->addItem(QString());
        kcfg_LoopOnGotoUnread->addItem(QString());
        kcfg_LoopOnGotoUnread->setObjectName("kcfg_LoopOnGotoUnread");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(kcfg_LoopOnGotoUnread->sizePolicy().hasHeightForWidth());
        kcfg_LoopOnGotoUnread->setSizePolicy(sizePolicy3);

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

        mDelayedMarkTime = new QSpinBox(MiscMainTab);
        mDelayedMarkTime->setObjectName("mDelayedMarkTime");
        mDelayedMarkTime->setEnabled(false);
        mDelayedMarkTime->setMaximum(60);

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

        kcfg_StartSpecificFolderAtStartup = new QCheckBox(MiscMainTab);
        kcfg_StartSpecificFolderAtStartup->setObjectName("kcfg_StartSpecificFolderAtStartup");
        sizePolicy1.setHeightForWidth(kcfg_StartSpecificFolderAtStartup->sizePolicy().hasHeightForWidth());
        kcfg_StartSpecificFolderAtStartup->setSizePolicy(sizePolicy1);

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

        kcfg_DeleteMessageWithoutConfirmation = new QCheckBox(MiscMainTab);
        kcfg_DeleteMessageWithoutConfirmation->setObjectName("kcfg_DeleteMessageWithoutConfirmation");

        gridLayout->addWidget(kcfg_DeleteMessageWithoutConfirmation, 8, 0, 1, 2);

        kcfg_EnableFolderDnD = new QCheckBox(MiscMainTab);
        kcfg_EnableFolderDnD->setObjectName("kcfg_EnableFolderDnD");

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


        verticalLayout->addLayout(gridLayout);

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

        verticalLayout->addItem(verticalSpacer);

#if QT_CONFIG(shortcut)
        mLoopLabel->setBuddy(kcfg_LoopOnGotoUnread);
        mEnterFolderLabel->setBuddy(kcfg_ActionEnterFolder);
#endif // QT_CONFIG(shortcut)

        retranslateUi(MiscMainTab);

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

    void retranslateUi(QWidget *MiscMainTab)
    {
        kcfg_ShowPopupAfterDnD->setText(tr2i18n("&Ask for action after dragging messages to another folder", nullptr));
        kcfg_EmptyTrashOnExit->setText(tr2i18n("Empty local &trash folder on program exit", nullptr));
        mLoopLabel->setText(tr2i18n("When &trying to find unread messages:", "to be continued with \"do not loop\", \"loop in current folder\", and \"loop in all folders\""));
        mEnterFolderLabel->setText(tr2i18n("When ente&ring a folder:", "to be continued with \"jump to first new message\", \"jump to first unread or new message\", and \"jump to last selected message\""));
        kcfg_ExcludeImportantMailFromExpiry->setText(tr2i18n("E&xclude important messages from expiry", nullptr));
        kcfg_ActionEnterFolder->setItemText(0, tr2i18n("Jump to First Unread Message", nullptr));
        kcfg_ActionEnterFolder->setItemText(1, tr2i18n("Jump to Last Selected Message", nullptr));
        kcfg_ActionEnterFolder->setItemText(2, tr2i18n("Jump to Newest Message", nullptr));
        kcfg_ActionEnterFolder->setItemText(3, tr2i18n("Jump to Oldest Message", nullptr));

        mDelayedMarkAsRead->setText(tr2i18n("Mar&k selected message as read after", nullptr));
        kcfg_LoopOnGotoUnread->setItemText(0, tr2i18n("Do not Loop", nullptr));
        kcfg_LoopOnGotoUnread->setItemText(1, tr2i18n("Loop in Current Folder", nullptr));
        kcfg_LoopOnGotoUnread->setItemText(2, tr2i18n("Loop in All Folders", nullptr));
        kcfg_LoopOnGotoUnread->setItemText(3, tr2i18n("Loop in All Marked Folders", nullptr));

#if QT_CONFIG(whatsthis)
        kcfg_LoopOnGotoUnread->setWhatsThis(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"https://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">When jumping to the next unread message, it may occur that no more unread messages are below the current message.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Do not loop:</span> The search will stop at the last message in the current folder.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Loop in current folder:</span> The "
                        "search will continue at the top of the message list, but not go to another folder.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Loop in all folders:</span> The search will continue at the top of the message list. If no unread messages are found it will then continue to the next folder.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Similarly, when searching for the previous unread message, the search will start from the bottom of the message list and continue to the previous folder depending on which option is selected.</p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Loop in all marked folders: </span>This is the same as \"Loop in all folders\" except that only folders are taken into account whi"
                        "ch have been marked with the folder property \"Act on new/unread mail in this folder\".</p></body></html>", "what's this help"));
#endif // QT_CONFIG(whatsthis)
        mDelayedMarkTime->setSuffix(tr2i18n(" sec", nullptr));
        kcfg_StartSpecificFolderAtStartup->setText(tr2i18n("Open this folder on &startup:", nullptr));
        kcfg_DeleteMessageWithoutConfirmation->setText(tr2i18n("Allow deleting messages without confirmation", nullptr));
        kcfg_EnableFolderDnD->setText(tr2i18n("Enable folders drag and drop", nullptr));
        (void)MiscMainTab;
    } // retranslateUi

};

namespace Ui {
    class MiscMainTab: public Ui_MiscMainTab {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MISCPAGEMAINTAB_H

