#include <klocalizedstring.h>

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

#ifndef UI_SAVEBLOCKSWIDGETBASE_H
#define UI_SAVEBLOCKSWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QWidget>
#include "KComboBox"

QT_BEGIN_NAMESPACE

class Ui_SaveBlocksWidgetBase
{
public:
    QGridLayout *gridLayout;
    QCheckBox *chkSelectionOnly;
    QLabel *lblNumbering;
    KComboBox *cbNumbering;
    QLineEdit *txtExample;
    QLabel *lblExample;
    KComboBox *cbPattern;
    QLabel *lblPattern;

    void setupUi(QWidget *SaveBlocksWidgetBase)
    {
        if (SaveBlocksWidgetBase->objectName().isEmpty())
            SaveBlocksWidgetBase->setObjectName(QStringLiteral("SaveBlocksWidgetBase"));
        SaveBlocksWidgetBase->resize(574, 121);
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(SaveBlocksWidgetBase->sizePolicy().hasHeightForWidth());
        SaveBlocksWidgetBase->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(SaveBlocksWidgetBase);
        gridLayout->setSpacing(10);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        chkSelectionOnly = new QCheckBox(SaveBlocksWidgetBase);
        chkSelectionOnly->setObjectName(QStringLiteral("chkSelectionOnly"));
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(chkSelectionOnly->sizePolicy().hasHeightForWidth());
        chkSelectionOnly->setSizePolicy(sizePolicy1);
        chkSelectionOnly->setChecked(true);

        gridLayout->addWidget(chkSelectionOnly, 3, 0, 1, 2);

        lblNumbering = new QLabel(SaveBlocksWidgetBase);
        lblNumbering->setObjectName(QStringLiteral("lblNumbering"));
        lblNumbering->setWordWrap(false);

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

        cbNumbering = new KComboBox(SaveBlocksWidgetBase);
        cbNumbering->setObjectName(QStringLiteral("cbNumbering"));
        sizePolicy1.setHeightForWidth(cbNumbering->sizePolicy().hasHeightForWidth());
        cbNumbering->setSizePolicy(sizePolicy1);
        cbNumbering->setEditable(false);
        cbNumbering->setDuplicatesEnabled(false);

        gridLayout->addWidget(cbNumbering, 2, 1, 1, 1);

        txtExample = new QLineEdit(SaveBlocksWidgetBase);
        txtExample->setObjectName(QStringLiteral("txtExample"));
        txtExample->setEnabled(true);
        sizePolicy1.setHeightForWidth(txtExample->sizePolicy().hasHeightForWidth());
        txtExample->setSizePolicy(sizePolicy1);
        txtExample->setReadOnly(true);

        gridLayout->addWidget(txtExample, 1, 1, 1, 1);

        lblExample = new QLabel(SaveBlocksWidgetBase);
        lblExample->setObjectName(QStringLiteral("lblExample"));
        sizePolicy.setHeightForWidth(lblExample->sizePolicy().hasHeightForWidth());
        lblExample->setSizePolicy(sizePolicy);
        lblExample->setWordWrap(false);

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

        cbPattern = new KComboBox(SaveBlocksWidgetBase);
        cbPattern->setObjectName(QStringLiteral("cbPattern"));
        sizePolicy1.setHeightForWidth(cbPattern->sizePolicy().hasHeightForWidth());
        cbPattern->setSizePolicy(sizePolicy1);
        cbPattern->setEditable(true);
        cbPattern->setDuplicatesEnabled(false);

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

        lblPattern = new QLabel(SaveBlocksWidgetBase);
        lblPattern->setObjectName(QStringLiteral("lblPattern"));
        lblPattern->setWordWrap(false);

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

        QWidget::setTabOrder(cbPattern, txtExample);
        QWidget::setTabOrder(txtExample, cbNumbering);
        QWidget::setTabOrder(cbNumbering, chkSelectionOnly);

        retranslateUi(SaveBlocksWidgetBase);

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

    void retranslateUi(QWidget *SaveBlocksWidgetBase)
    {
#ifndef UI_QT_NO_WHATSTHIS
        chkSelectionOnly->setWhatsThis(tr2i18n("If checked, <b>save only the blocks that overlap with the current selection</b>, otherwise the whole file. <br><i>Please note that this option is disabled if nothing is selected or the selection already covers the whole file.</i>", 0));
#endif // QT_NO_WHATSTHIS
        chkSelectionOnly->setText(tr2i18n("Save selection only", 0));
        lblNumbering->setText(tr2i18n("Numbering:", 0));
        cbNumbering->clear();
        cbNumbering->insertItems(0, QStringList()
         << tr2i18n("Continue after highest index", 0)
         << tr2i18n("Always start with 1, overwrite if necessary", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        cbNumbering->setWhatsThis(tr2i18n("Determines how the <b>numbering of the files</b> should happen:<ul>\n"
"<li>Continue after the <b>highest index</b> that can be found, avoiding collisions with existing files</li>\n"
"<li>Always start numbering from <b>one</b>, possibly colliding with already existing files</li>\n"
"</ul>", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        txtExample->setWhatsThis(tr2i18n("Example of the first file name that will be saved, using the file name pattern above and the numbering below", 0));
#endif // QT_NO_WHATSTHIS
        lblExample->setText(tr2i18n("Example:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        cbPattern->setWhatsThis(tr2i18n("<p>Select the pattern that is used to create the filename of each saved block. It currently understands the following placeholders:</p>\n"
"<ul>\n"
"<li><tt><b>[%filename]</b></tt>name of the file, without the path</li>\n"
"<li><tt><b>[</b>%<i>0</i></tt><i>N</i><tt><b>nr]</b></tt>the index of the file, optionally with leading zeroes (if <tt>'0</tt>' prepended) and optionally a fixed number of digits (<tt>N</tt>)</li>\n"
"<li><tt><b>[%</b><i>0</i><i>N</i><b>count]</b></tt>the number of files that will be saved</li>\n"
"<li><tt><b>[%</b><i>0</i><i>N</i><b>total]</b></tt>the highest index within the files that will be saved</li>\n"
"</ul>", 0));
#endif // QT_NO_WHATSTHIS
        lblPattern->setText(tr2i18n("Filename pattern:", 0));
        Q_UNUSED(SaveBlocksWidgetBase);
    } // retranslateUi

};

namespace Ui {
    class SaveBlocksWidgetBase: public Ui_SaveBlocksWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SAVEBLOCKSWIDGETBASE_H

