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

#ifndef UI_CONFPAGEMISC_H
#define UI_CONFPAGEMISC_H

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

QT_BEGIN_NAMESPACE

class Ui_confPageMisc
{
public:
    QVBoxLayout *vboxLayout;
    QFormLayout *formLayout;
    QLabel *textLabel1;
    QSpinBox *kcfg_AutoSaveInterval;
    QCheckBox *kcfg_AutoSave;

    void setupUi(QWidget *confPageMisc)
    {
        if (confPageMisc->objectName().isEmpty())
            confPageMisc->setObjectName("confPageMisc");
        confPageMisc->resize(417, 76);
        vboxLayout = new QVBoxLayout(confPageMisc);
        vboxLayout->setObjectName("vboxLayout");
        formLayout = new QFormLayout();
        formLayout->setObjectName("formLayout");
        textLabel1 = new QLabel(confPageMisc);
        textLabel1->setObjectName("textLabel1");
        textLabel1->setWordWrap(false);

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

        kcfg_AutoSaveInterval = new QSpinBox(confPageMisc);
        kcfg_AutoSaveInterval->setObjectName("kcfg_AutoSaveInterval");
        kcfg_AutoSaveInterval->setMinimum(1);
        kcfg_AutoSaveInterval->setMaximum(1440);

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, kcfg_AutoSaveInterval);

        kcfg_AutoSave = new QCheckBox(confPageMisc);
        kcfg_AutoSave->setObjectName("kcfg_AutoSave");
        kcfg_AutoSave->setChecked(true);

        formLayout->setWidget(0, QFormLayout::ItemRole::FieldRole, kcfg_AutoSave);


        vboxLayout->addLayout(formLayout);

#if QT_CONFIG(shortcut)
        textLabel1->setBuddy(kcfg_AutoSaveInterval);
#endif // QT_CONFIG(shortcut)

        retranslateUi(confPageMisc);
        QObject::connect(kcfg_AutoSave, &QCheckBox::toggled, kcfg_AutoSaveInterval, &QSpinBox::setEnabled);
        QObject::connect(kcfg_AutoSave, &QCheckBox::toggled, textLabel1, &QLabel::setEnabled);

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

    void retranslateUi(QWidget *confPageMisc)
    {
#if QT_CONFIG(whatsthis)
        textLabel1->setWhatsThis(tr2i18n("This is the number of minutes KJots will wait before automatically saving changes.", nullptr));
#endif // QT_CONFIG(whatsthis)
        textLabel1->setText(tr2i18n("S&ave every:", nullptr));
#if QT_CONFIG(whatsthis)
        kcfg_AutoSaveInterval->setWhatsThis(tr2i18n("This is the number of minutes KJots will wait before automatically saving changes.", nullptr));
#endif // QT_CONFIG(whatsthis)
        kcfg_AutoSaveInterval->setSpecialValueText(tr2i18n("1 minute", nullptr));
        kcfg_AutoSaveInterval->setSuffix(tr2i18n(" minutes", nullptr));
#if QT_CONFIG(whatsthis)
        kcfg_AutoSave->setWhatsThis(tr2i18n("When \"Save changes periodically\" is checked, KJots will automatically save changes made to books at the interval defined below.", nullptr));
#endif // QT_CONFIG(whatsthis)
        kcfg_AutoSave->setText(tr2i18n("&Save changes periodically", nullptr));
        (void)confPageMisc;
    } // retranslateUi

};

namespace Ui {
    class confPageMisc: public Ui_confPageMisc {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONFPAGEMISC_H

