#include <klocalizedstring.h>

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

#ifndef UI_OPENSAVECONFIGWIDGET_H
#define UI_OPENSAVECONFIGWIDGET_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

QT_BEGIN_NAMESPACE

class Ui_OpenSaveConfigWidget
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *gbFileFormat;
    QFormLayout *formLayout_2;
    QFormLayout *formLayout;
    QLabel *lblEncoding;
    KComboBox *cmbEncoding;
    QLabel *lblEncodingDetection;
    KComboBox *cmbEncodingDetection;
    QLabel *lblEncodingDetection2;
    KComboBox *cmbEncodingFallback;
    QLabel *lblEOL;
    KComboBox *cmbEOL;
    QCheckBox *chkDetectEOL;
    QCheckBox *chkEnableBOM;
    QLabel *label;
    QSpinBox *lineLengthLimit;
    QGroupBox *gbCleanups;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *horizontalLayout;
    QLabel *lblRemoveTrailingSpaces;
    QComboBox *cbRemoveTrailingSpaces;
    QSpacerItem *horizontalSpacer;
    QCheckBox *chkNewLineAtEof;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *OpenSaveConfigWidget)
    {
        if (OpenSaveConfigWidget->objectName().isEmpty())
            OpenSaveConfigWidget->setObjectName(QStringLiteral("OpenSaveConfigWidget"));
        vboxLayout = new QVBoxLayout(OpenSaveConfigWidget);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        gbFileFormat = new QGroupBox(OpenSaveConfigWidget);
        gbFileFormat->setObjectName(QStringLiteral("gbFileFormat"));
        formLayout_2 = new QFormLayout(gbFileFormat);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        lblEncoding = new QLabel(gbFileFormat);
        lblEncoding->setObjectName(QStringLiteral("lblEncoding"));

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

        cmbEncoding = new KComboBox(gbFileFormat);
        cmbEncoding->setObjectName(QStringLiteral("cmbEncoding"));

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

        lblEncodingDetection = new QLabel(gbFileFormat);
        lblEncodingDetection->setObjectName(QStringLiteral("lblEncodingDetection"));

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

        cmbEncodingDetection = new KComboBox(gbFileFormat);
        cmbEncodingDetection->setObjectName(QStringLiteral("cmbEncodingDetection"));

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

        lblEncodingDetection2 = new QLabel(gbFileFormat);
        lblEncodingDetection2->setObjectName(QStringLiteral("lblEncodingDetection2"));

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

        cmbEncodingFallback = new KComboBox(gbFileFormat);
        cmbEncodingFallback->setObjectName(QStringLiteral("cmbEncodingFallback"));

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

        lblEOL = new QLabel(gbFileFormat);
        lblEOL->setObjectName(QStringLiteral("lblEOL"));

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

        cmbEOL = new KComboBox(gbFileFormat);
        cmbEOL->setObjectName(QStringLiteral("cmbEOL"));

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


        formLayout_2->setLayout(0, QFormLayout::SpanningRole, formLayout);

        chkDetectEOL = new QCheckBox(gbFileFormat);
        chkDetectEOL->setObjectName(QStringLiteral("chkDetectEOL"));

        formLayout_2->setWidget(1, QFormLayout::SpanningRole, chkDetectEOL);

        chkEnableBOM = new QCheckBox(gbFileFormat);
        chkEnableBOM->setObjectName(QStringLiteral("chkEnableBOM"));

        formLayout_2->setWidget(2, QFormLayout::SpanningRole, chkEnableBOM);

        label = new QLabel(gbFileFormat);
        label->setObjectName(QStringLiteral("label"));

        formLayout_2->setWidget(3, QFormLayout::LabelRole, label);

        lineLengthLimit = new QSpinBox(gbFileFormat);
        lineLengthLimit->setObjectName(QStringLiteral("lineLengthLimit"));
        lineLengthLimit->setMinimum(-1);
        lineLengthLimit->setMaximum(1000000);

        formLayout_2->setWidget(3, QFormLayout::FieldRole, lineLengthLimit);


        vboxLayout->addWidget(gbFileFormat);

        gbCleanups = new QGroupBox(OpenSaveConfigWidget);
        gbCleanups->setObjectName(QStringLiteral("gbCleanups"));
        vboxLayout1 = new QVBoxLayout(gbCleanups);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        lblRemoveTrailingSpaces = new QLabel(gbCleanups);
        lblRemoveTrailingSpaces->setObjectName(QStringLiteral("lblRemoveTrailingSpaces"));

        horizontalLayout->addWidget(lblRemoveTrailingSpaces);

        cbRemoveTrailingSpaces = new QComboBox(gbCleanups);
        cbRemoveTrailingSpaces->setObjectName(QStringLiteral("cbRemoveTrailingSpaces"));

        horizontalLayout->addWidget(cbRemoveTrailingSpaces);

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

        horizontalLayout->addItem(horizontalSpacer);


        vboxLayout1->addLayout(horizontalLayout);

        chkNewLineAtEof = new QCheckBox(gbCleanups);
        chkNewLineAtEof->setObjectName(QStringLiteral("chkNewLineAtEof"));

        vboxLayout1->addWidget(chkNewLineAtEof);


        vboxLayout->addWidget(gbCleanups);

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

        vboxLayout->addItem(spacerItem);

#ifndef UI_QT_NO_SHORTCUT
        lblEncoding->setBuddy(cmbEncoding);
        lblEncodingDetection->setBuddy(cmbEncodingDetection);
        lblEncodingDetection2->setBuddy(cmbEncodingFallback);
        lblEOL->setBuddy(cmbEOL);
        label->setBuddy(lineLengthLimit);
        lblRemoveTrailingSpaces->setBuddy(cbRemoveTrailingSpaces);
#endif // QT_NO_SHORTCUT

        retranslateUi(OpenSaveConfigWidget);

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

    void retranslateUi(QWidget *OpenSaveConfigWidget)
    {
        gbFileFormat->setTitle(tr2i18n("File Format", Q_NULLPTR));
        lblEncoding->setText(tr2i18n("&Encoding:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        cmbEncoding->setWhatsThis(tr2i18n("This defines the standard encoding to use to open/save files, if not changed in the open/save dialog or by using a command line option.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lblEncodingDetection->setText(tr2i18n("&Encoding detection:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        cmbEncodingDetection->setWhatsThis(tr2i18n("if neither the encoding chosen as standard above, nor the encoding specified in the open/save dialog, nor the encoding specified on command line match the content of the file, this detection will be run.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lblEncodingDetection2->setText(tr2i18n("&Fallback encoding:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        cmbEncodingFallback->setWhatsThis(tr2i18n("This defines the fallback encoding to try for opening files if neither the encoding chosen as standard above, nor the encoding specified in the open/save dialog, nor the encoding specified on command line match the content of the file.  Before this is used, an attempt will be made to determine the encoding to use by looking for a byte order mark at start of file: if one is found, the right Unicode encoding will be chosen; otherwise encoding detection will run, if both fail the fallback encoding will be tried.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lblEOL->setText(tr2i18n("E&nd of line:", Q_NULLPTR));
        cmbEOL->clear();
        cmbEOL->insertItems(0, QStringList()
         << tr2i18n("UNIX", Q_NULLPTR)
         << tr2i18n("DOS/Windows", Q_NULLPTR)
         << tr2i18n("Macintosh", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        chkDetectEOL->setWhatsThis(tr2i18n("If this option is enabled the editor will autodetect the end of line type. The first found end of line type will be used for the whole file.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        chkDetectEOL->setText(tr2i18n("A&utomatic end of line detection", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        chkEnableBOM->setWhatsThis(tr2i18n("The byte order mark is a special sequence at the beginning of Unicode encoded documents. It helps editors to open text documents with the correct Unicode encoding. The byte order mark is not visible in the displayed document.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        chkEnableBOM->setText(tr2i18n("Enable byte order mark (BOM)", Q_NULLPTR));
        label->setText(tr2i18n("Line length limit:", Q_NULLPTR));
        lineLengthLimit->setSpecialValueText(tr2i18n("Unlimited", Q_NULLPTR));
        gbCleanups->setTitle(tr2i18n("Automatic Cleanups on Save", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        lblRemoveTrailingSpaces->setWhatsThis(tr2i18n("Depending on the choice, trailing spaces are removed when saving a document, either in the entire document or only of modified lines.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        lblRemoveTrailingSpaces->setText(tr2i18n("Re&move trailing spaces:", Q_NULLPTR));
        cbRemoveTrailingSpaces->clear();
        cbRemoveTrailingSpaces->insertItems(0, QStringList()
         << tr2i18n("Never", Q_NULLPTR)
         << tr2i18n("On Modified Lines", Q_NULLPTR)
         << tr2i18n("In Entire Document", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        cbRemoveTrailingSpaces->setWhatsThis(tr2i18n("Depending on the choice, trailing spaces are removed when saving a document, either in the entire document or only of modified lines.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        chkNewLineAtEof->setWhatsThis(tr2i18n("On save, a line break is appended to the document if not already present. The line break is visible after reloading the file.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        chkNewLineAtEof->setText(tr2i18n("Append newline at end of file on save", Q_NULLPTR));
        Q_UNUSED(OpenSaveConfigWidget);
    } // retranslateUi

};

namespace Ui {
    class OpenSaveConfigWidget: public Ui_OpenSaveConfigWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // OPENSAVECONFIGWIDGET_H

