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

/********************************************************************************
** Form generated from reading UI file 'opensaveconfigadvwidget.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_OPENSAVECONFIGADVWIDGET_H
#define UI_OPENSAVECONFIGADVWIDGET_H

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

QT_BEGIN_NAMESPACE

class Ui_OpenSaveConfigAdvWidget
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *gbConfigFile;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *hboxLayout;
    QLabel *label;
    KIntSpinBox *sbConfigFileSearchDepth;
    QSpacerItem *spacerItem;
    QGroupBox *gbBackup;
    QFormLayout *formLayout;
    QCheckBox *chkBackupLocalFiles;
    QCheckBox *chkBackupRemoteFiles;
    QLabel *label_5;
    KLineEdit *edtBackupPrefix;
    QLabel *label_6;
    KLineEdit *edtBackupSuffix;
    QSpacerItem *spacerItem1;
    QSpacerItem *verticalSpacer;
    QCheckBox *chkNoSync;

    void setupUi(QWidget *OpenSaveConfigAdvWidget)
    {
        if (OpenSaveConfigAdvWidget->objectName().isEmpty())
            OpenSaveConfigAdvWidget->setObjectName(QString::fromUtf8("OpenSaveConfigAdvWidget"));
        vboxLayout = new QVBoxLayout(OpenSaveConfigAdvWidget);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        gbConfigFile = new QGroupBox(OpenSaveConfigAdvWidget);
        gbConfigFile->setObjectName(QString::fromUtf8("gbConfigFile"));
        vboxLayout1 = new QVBoxLayout(gbConfigFile);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        hboxLayout = new QHBoxLayout();
#ifndef UI_Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        label = new QLabel(gbConfigFile);
        label->setObjectName(QString::fromUtf8("label"));

        hboxLayout->addWidget(label);

        sbConfigFileSearchDepth = new KIntSpinBox(gbConfigFile);
        sbConfigFileSearchDepth->setObjectName(QString::fromUtf8("sbConfigFileSearchDepth"));
        sbConfigFileSearchDepth->setMinimum(-1);
        sbConfigFileSearchDepth->setMaximum(64);

        hboxLayout->addWidget(sbConfigFileSearchDepth);

        spacerItem = new QSpacerItem(1, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);


        vboxLayout1->addLayout(hboxLayout);


        vboxLayout->addWidget(gbConfigFile);

        gbBackup = new QGroupBox(OpenSaveConfigAdvWidget);
        gbBackup->setObjectName(QString::fromUtf8("gbBackup"));
        formLayout = new QFormLayout(gbBackup);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        chkBackupLocalFiles = new QCheckBox(gbBackup);
        chkBackupLocalFiles->setObjectName(QString::fromUtf8("chkBackupLocalFiles"));

        formLayout->setWidget(0, QFormLayout::SpanningRole, chkBackupLocalFiles);

        chkBackupRemoteFiles = new QCheckBox(gbBackup);
        chkBackupRemoteFiles->setObjectName(QString::fromUtf8("chkBackupRemoteFiles"));

        formLayout->setWidget(1, QFormLayout::SpanningRole, chkBackupRemoteFiles);

        label_5 = new QLabel(gbBackup);
        label_5->setObjectName(QString::fromUtf8("label_5"));

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

        edtBackupPrefix = new KLineEdit(gbBackup);
        edtBackupPrefix->setObjectName(QString::fromUtf8("edtBackupPrefix"));

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

        label_6 = new QLabel(gbBackup);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        formLayout->setWidget(3, QFormLayout::LabelRole, label_6);

        edtBackupSuffix = new KLineEdit(gbBackup);
        edtBackupSuffix->setObjectName(QString::fromUtf8("edtBackupSuffix"));

        formLayout->setWidget(3, QFormLayout::FieldRole, edtBackupSuffix);

        spacerItem1 = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);

        formLayout->setItem(5, QFormLayout::FieldRole, spacerItem1);

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

        formLayout->setItem(4, QFormLayout::LabelRole, verticalSpacer);

        chkNoSync = new QCheckBox(gbBackup);
        chkNoSync->setObjectName(QString::fromUtf8("chkNoSync"));

        formLayout->setWidget(6, QFormLayout::SpanningRole, chkNoSync);


        vboxLayout->addWidget(gbBackup);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(sbConfigFileSearchDepth);
        label_5->setBuddy(edtBackupPrefix);
        label_6->setBuddy(edtBackupSuffix);
#endif // QT_NO_SHORTCUT

        retranslateUi(OpenSaveConfigAdvWidget);

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

    void retranslateUi(QWidget *OpenSaveConfigAdvWidget)
    {
        gbConfigFile->setTitle(tr2i18n("Folder Config File", 0));
        label->setText(tr2i18n("Search &depth for config file:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        sbConfigFileSearchDepth->setWhatsThis(tr2i18n("The editor will search the given number of folder levels upwards for a .kateconfig file and load the settings line from it.", 0));
#endif // QT_NO_WHATSTHIS
        sbConfigFileSearchDepth->setSpecialValueText(tr2i18n("Do not use config file", 0));
#ifndef UI_QT_NO_WHATSTHIS
        gbBackup->setWhatsThis(tr2i18n("<p>Backing up on save will cause Kate to copy the disk file to '&lt;prefix&gt;&lt;filename&gt;&lt;suffix&gt;' before saving changes.<p>The suffix defaults to <strong>~</strong> and prefix is empty by default.", 0));
#endif // QT_NO_WHATSTHIS
        gbBackup->setTitle(tr2i18n("Backup on Save", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkBackupLocalFiles->setWhatsThis(tr2i18n("If this option is enabled, backups for local files will be created when saving.", 0));
#endif // QT_NO_WHATSTHIS
        chkBackupLocalFiles->setText(tr2i18n("&Local files", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkBackupRemoteFiles->setWhatsThis(tr2i18n("If this option is enabled, backups for remote files will be created when saving.", 0));
#endif // QT_NO_WHATSTHIS
        chkBackupRemoteFiles->setText(tr2i18n("&Remote files", 0));
        label_5->setText(tr2i18n("&Prefix:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        edtBackupPrefix->setWhatsThis(tr2i18n("Enter the prefix to prepend to the backup file names.", 0));
#endif // QT_NO_WHATSTHIS
        label_6->setText(tr2i18n("&Suffix:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        edtBackupSuffix->setWhatsThis(tr2i18n("Enter the suffix to append to the backup file names.", 0));
#endif // QT_NO_WHATSTHIS
        chkNoSync->setText(tr2i18n("Disable swap files syncing", 0));
#ifndef UI_QT_NO_WHATSTHIS
        chkNoSync->setWhatsThis(tr2i18n("If checked, the swap file is not forcibly written to disk each 15 seconds. Be aware, that disabling the swap file synchronization may lead to data loss in case of a system crash.", 0));
#endif // QT_NO_WHATSTHIS
        Q_UNUSED(OpenSaveConfigAdvWidget);
    } // retranslateUi

};

namespace Ui {
    class OpenSaveConfigAdvWidget: public Ui_OpenSaveConfigAdvWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // OPENSAVECONFIGADVWIDGET_H

