#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_FILEOPTIONSWIDGET_H
#define UI_FILEOPTIONSWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_FileOptionsWidget
{
public:
    QFormLayout *formLayout;
    QLabel *label;
    KIntSpinBox *m_recentFilesEntries;
    QLabel *label_2;
    KIntSpinBox *m_autoSaveDelay;
    QLabel *label1;
    QCheckBox *m_createBackupFile;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *FileOptionsWidget)
    {
        if (FileOptionsWidget->objectName().isEmpty())
            FileOptionsWidget->setObjectName(QString::fromUtf8("FileOptionsWidget"));
        FileOptionsWidget->resize(306, 112);
        formLayout = new QFormLayout(FileOptionsWidget);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        label = new QLabel(FileOptionsWidget);
        label->setObjectName(QString::fromUtf8("label"));

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

        m_recentFilesEntries = new KIntSpinBox(FileOptionsWidget);
        m_recentFilesEntries->setObjectName(QString::fromUtf8("m_recentFilesEntries"));
        m_recentFilesEntries->setMaximum(20);
        m_recentFilesEntries->setValue(10);

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

        label_2 = new QLabel(FileOptionsWidget);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        m_autoSaveDelay = new KIntSpinBox(FileOptionsWidget);
        m_autoSaveDelay->setObjectName(QString::fromUtf8("m_autoSaveDelay"));
        m_autoSaveDelay->setMaximum(60);
        m_autoSaveDelay->setValue(10);

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

        label1 = new QLabel(FileOptionsWidget);
        label1->setObjectName(QString::fromUtf8("label1"));

        formLayout->setWidget(2, QFormLayout::LabelRole, label1);

        m_createBackupFile = new QCheckBox(FileOptionsWidget);
        m_createBackupFile->setObjectName(QString::fromUtf8("m_createBackupFile"));

        formLayout->setWidget(2, QFormLayout::FieldRole, m_createBackupFile);

        verticalSpacer = new QSpacerItem(278, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);

        formLayout->setItem(3, QFormLayout::SpanningRole, verticalSpacer);


        retranslateUi(FileOptionsWidget);

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

    void retranslateUi(QWidget *FileOptionsWidget)
    {
        FileOptionsWidget->setWindowTitle(tr2i18n("File Options", 0));
        label->setText(tr2i18n("Number of entries in Recent Files list:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_recentFilesEntries->setWhatsThis(tr2i18n("Controls the maximum number of filenames that are shown when you select File-> Open Recent.", 0));
#endif // QT_NO_WHATSTHIS
        label_2->setText(tr2i18n("Autosave interval:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_autoSaveDelay->setWhatsThis(tr2i18n("Here you can select the time between autosaves, or disable this feature altogether by choosing \"No autosave\" (by selecting the minimum value).", 0));
#endif // QT_NO_WHATSTHIS
        m_autoSaveDelay->setSpecialValueText(tr2i18n("No autosave", 0));
        m_autoSaveDelay->setSuffix(tr2i18n(" min", 0));
        label1->setText(tr2i18n("Create backup file:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_createBackupFile->setWhatsThis(tr2i18n("Check this box if you want some backup files created. This is checked per default.", 0));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class FileOptionsWidget: public Ui_FileOptionsWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // FILEOPTIONSWIDGET_H

