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

#ifndef UI_PREFDOCHANDLINGUI_H
#define UI_PREFDOCHANDLINGUI_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QWidget>
#include "qt_i18n.h"

QT_BEGIN_NAMESPACE

class Ui_PrefDocHandlingUi
{
public:
    QGridLayout *gridLayout_4;
    QGroupBox *GeometryGB;
    QGridLayout *gridLayout_3;
    QCheckBox *allowGeometrySessionCB;
    QCheckBox *restoreCursorCB;
    QCheckBox *loadSessionCB;
    QPushButton *clearSessionPB;
    QSpacerItem *horizontalSpacer;
    QGroupBox *documentsGB;
    QGridLayout *gridLayout_2;
    QCheckBox *backupCB;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *autoSaveCB;
    QSpinBox *autoSaveSB;
    QLabel *TextLabel1;
    QSpacerItem *spacerItem;
    QCheckBox *saveCompressedCB;
    QGroupBox *tabsGB;
    QGridLayout *gridLayout;
    QCheckBox *openDocumentsInTabsCB;
    QCheckBox *singleInstanceCB;
    QCheckBox *singleCloseTabButtonCB;
    QHBoxLayout *horizontalLayout;
    QLabel *label;
    QComboBox *closeLastViewCO;
    QSpacerItem *horizontalSpacer_2;
    QSpacerItem *spacerItem1;

    void setupUi(QWidget *PrefDocHandlingUi)
    {
        if (PrefDocHandlingUi->objectName().isEmpty())
            PrefDocHandlingUi->setObjectName(QString::fromUtf8("PrefDocHandlingUi"));
        PrefDocHandlingUi->resize(403, 416);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(PrefDocHandlingUi->sizePolicy().hasHeightForWidth());
        PrefDocHandlingUi->setSizePolicy(sizePolicy);
        gridLayout_4 = new QGridLayout(PrefDocHandlingUi);
        gridLayout_4->setSpacing(4);
        gridLayout_4->setContentsMargins(9, 9, 9, 9);
        gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
        GeometryGB = new QGroupBox(PrefDocHandlingUi);
        GeometryGB->setObjectName(QString::fromUtf8("GeometryGB"));
        GeometryGB->setFlat(true);
        gridLayout_3 = new QGridLayout(GeometryGB);
        gridLayout_3->setSpacing(4);
        gridLayout_3->setContentsMargins(9, 9, 9, 9);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        allowGeometrySessionCB = new QCheckBox(GeometryGB);
        allowGeometrySessionCB->setObjectName(QString::fromUtf8("allowGeometrySessionCB"));
        allowGeometrySessionCB->setEnabled(true);

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

        restoreCursorCB = new QCheckBox(GeometryGB);
        restoreCursorCB->setObjectName(QString::fromUtf8("restoreCursorCB"));

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

        loadSessionCB = new QCheckBox(GeometryGB);
        loadSessionCB->setObjectName(QString::fromUtf8("loadSessionCB"));

        gridLayout_3->addWidget(loadSessionCB, 2, 0, 1, 1);

        clearSessionPB = new QPushButton(GeometryGB);
        clearSessionPB->setObjectName(QString::fromUtf8("clearSessionPB"));

        gridLayout_3->addWidget(clearSessionPB, 3, 0, 1, 1);

        horizontalSpacer = new QSpacerItem(225, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_3->addItem(horizontalSpacer, 3, 1, 1, 1);


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

        documentsGB = new QGroupBox(PrefDocHandlingUi);
        documentsGB->setObjectName(QString::fromUtf8("documentsGB"));
        documentsGB->setFlat(true);
        gridLayout_2 = new QGridLayout(documentsGB);
        gridLayout_2->setSpacing(4);
        gridLayout_2->setContentsMargins(9, 9, 9, 9);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        backupCB = new QCheckBox(documentsGB);
        backupCB->setObjectName(QString::fromUtf8("backupCB"));

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(4);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        autoSaveCB = new QCheckBox(documentsGB);
        autoSaveCB->setObjectName(QString::fromUtf8("autoSaveCB"));

        horizontalLayout_2->addWidget(autoSaveCB);

        autoSaveSB = new QSpinBox(documentsGB);
        autoSaveSB->setObjectName(QString::fromUtf8("autoSaveSB"));
        autoSaveSB->setMinimum(1);
        autoSaveSB->setMaximum(300);

        horizontalLayout_2->addWidget(autoSaveSB);

        TextLabel1 = new QLabel(documentsGB);
        TextLabel1->setObjectName(QString::fromUtf8("TextLabel1"));

        horizontalLayout_2->addWidget(TextLabel1);

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

        horizontalLayout_2->addItem(spacerItem);


        gridLayout_2->addLayout(horizontalLayout_2, 1, 0, 1, 1);

        saveCompressedCB = new QCheckBox(documentsGB);
        saveCompressedCB->setObjectName(QString::fromUtf8("saveCompressedCB"));

        gridLayout_2->addWidget(saveCompressedCB, 2, 0, 1, 1);


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

        tabsGB = new QGroupBox(PrefDocHandlingUi);
        tabsGB->setObjectName(QString::fromUtf8("tabsGB"));
        tabsGB->setFlat(true);
        gridLayout = new QGridLayout(tabsGB);
        gridLayout->setSpacing(4);
        gridLayout->setContentsMargins(9, 9, 9, 9);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        openDocumentsInTabsCB = new QCheckBox(tabsGB);
        openDocumentsInTabsCB->setObjectName(QString::fromUtf8("openDocumentsInTabsCB"));

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

        singleInstanceCB = new QCheckBox(tabsGB);
        singleInstanceCB->setObjectName(QString::fromUtf8("singleInstanceCB"));

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

        singleCloseTabButtonCB = new QCheckBox(tabsGB);
        singleCloseTabButtonCB->setObjectName(QString::fromUtf8("singleCloseTabButtonCB"));

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(4);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        label = new QLabel(tabsGB);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout->addWidget(label);

        closeLastViewCO = new QComboBox(tabsGB);
        closeLastViewCO->setObjectName(QString::fromUtf8("closeLastViewCO"));

        horizontalLayout->addWidget(closeLastViewCO);

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

        horizontalLayout->addItem(horizontalSpacer_2);


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


        gridLayout_4->addWidget(tabsGB, 2, 0, 1, 1);

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

        gridLayout_4->addItem(spacerItem1, 3, 0, 1, 1);

#ifndef QT_NO_SHORTCUT
        TextLabel1->setBuddy(autoSaveSB);
        label->setBuddy(closeLastViewCO);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(restoreCursorCB, loadSessionCB);
        QWidget::setTabOrder(loadSessionCB, clearSessionPB);
        QWidget::setTabOrder(clearSessionPB, backupCB);
        QWidget::setTabOrder(backupCB, autoSaveCB);
        QWidget::setTabOrder(autoSaveCB, autoSaveSB);
        QWidget::setTabOrder(autoSaveSB, saveCompressedCB);

        retranslateUi(PrefDocHandlingUi);

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

    void retranslateUi(QWidget *PrefDocHandlingUi)
    {
        PrefDocHandlingUi->setWindowTitle(QString());
        GeometryGB->setTitle(lyx::qt_("Session handling", 0));
        allowGeometrySessionCB->setText(lyx::qt_("Restore window layouts and &geometries", 0));
#ifndef QT_NO_TOOLTIP
        restoreCursorCB->setToolTip(lyx::qt_("Restore to the cursor position when the file was last closed", 0));
#endif // QT_NO_TOOLTIP
        restoreCursorCB->setText(lyx::qt_("Restore cursor &positions", 0));
        loadSessionCB->setText(lyx::qt_("&Load opened files from last session", 0));
        clearSessionPB->setText(lyx::qt_("&Clear all session information", 0));
        documentsGB->setTitle(lyx::qt_("Backup && saving", 0));
        backupCB->setText(lyx::qt_("Backup &original documents when saving", 0));
        autoSaveCB->setText(lyx::qt_("&Backup documents, every", 0));
        TextLabel1->setText(lyx::qt_("&minutes", 0));
        saveCompressedCB->setText(lyx::qt_("&Save documents compressed by default", 0));
        tabsGB->setTitle(lyx::qt_("Windows && work area", 0));
        openDocumentsInTabsCB->setText(lyx::qt_("Open documents in &tabs", 0));
#ifndef QT_NO_TOOLTIP
        singleInstanceCB->setToolTip(lyx::qt_("Whether to open documents in an already running instance of LyX.\n"
"(Set the LyXServer pipe path and restart LyX to enable this feature)", 0));
#endif // QT_NO_TOOLTIP
        singleInstanceCB->setText(lyx::qt_("Use s&ingle instance", 0));
#ifndef QT_NO_TOOLTIP
        singleCloseTabButtonCB->setToolTip(lyx::qt_("Whether to place close button on each tab or only one in the top left.", 0));
#endif // QT_NO_TOOLTIP
        singleCloseTabButtonCB->setText(lyx::qt_("Displa&y single close-tab button", 0));
        label->setText(lyx::qt_("Closing last &view:", 0));
        closeLastViewCO->clear();
        closeLastViewCO->insertItems(0, QStringList()
         << lyx::qt_("Closes document", 0)
         << lyx::qt_("Hides document", 0)
         << lyx::qt_("Ask the user", 0)
        );
    } // retranslateUi

};

namespace Ui {
    class PrefDocHandlingUi: public Ui_PrefDocHandlingUi {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PREFDOCHANDLINGUI_H
