#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'importerconfigdialog.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_IMPORTERCONFIGDIALOG_H
#define UI_IMPORTERCONFIGDIALOG_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/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_ImporterConfigDialog
{
public:
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_AutoRename;
    QWidget *widget;
    QGridLayout *gridLayout_2;
    QLabel *label;
    KLineEdit *kcfg_AutoRenameFormat;
    QLabel *mPreviewOutputLabel;
    QLabel *label_2;
    QLabel *mRenameFormatHelpLabel;
    QLabel *label_3;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer_3;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *ImporterConfigDialog)
    {
        if (ImporterConfigDialog->objectName().isEmpty())
            ImporterConfigDialog->setObjectName(QStringLiteral("ImporterConfigDialog"));
        ImporterConfigDialog->resize(410, 213);
        verticalLayout = new QVBoxLayout(ImporterConfigDialog);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        kcfg_AutoRename = new QCheckBox(ImporterConfigDialog);
        kcfg_AutoRename->setObjectName(QStringLiteral("kcfg_AutoRename"));

        verticalLayout->addWidget(kcfg_AutoRename);

        widget = new QWidget(ImporterConfigDialog);
        widget->setObjectName(QStringLiteral("widget"));
        widget->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
        widget->setSizePolicy(sizePolicy);
        gridLayout_2 = new QGridLayout(widget);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        gridLayout_2->setContentsMargins(24, -1, -1, -1);
        label = new QLabel(widget);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_AutoRenameFormat = new KLineEdit(widget);
        kcfg_AutoRenameFormat->setObjectName(QStringLiteral("kcfg_AutoRenameFormat"));

        gridLayout_2->addWidget(kcfg_AutoRenameFormat, 2, 1, 1, 1);

        mPreviewOutputLabel = new QLabel(widget);
        mPreviewOutputLabel->setObjectName(QStringLiteral("mPreviewOutputLabel"));
        mPreviewOutputLabel->setText(QStringLiteral("[Output preview]"));

        gridLayout_2->addWidget(mPreviewOutputLabel, 3, 1, 1, 1);

        label_2 = new QLabel(widget);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_2, 3, 0, 1, 1);

        mRenameFormatHelpLabel = new QLabel(widget);
        mRenameFormatHelpLabel->setObjectName(QStringLiteral("mRenameFormatHelpLabel"));
        mRenameFormatHelpLabel->setText(QLatin1String("- {date}: shooting date\n"
"- {name}: original file name"));
        mRenameFormatHelpLabel->setWordWrap(true);
        mRenameFormatHelpLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse);

        gridLayout_2->addWidget(mRenameFormatHelpLabel, 5, 0, 1, 2);

        label_3 = new QLabel(widget);
        label_3->setObjectName(QStringLiteral("label_3"));

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

        verticalSpacer_2 = new QSpacerItem(20, 24, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout_2->addItem(verticalSpacer_2, 4, 0, 1, 2);

        verticalSpacer_3 = new QSpacerItem(20, 24, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout_2->addItem(verticalSpacer_3, 1, 0, 1, 2);


        verticalLayout->addWidget(widget);

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

        verticalLayout->addItem(verticalSpacer);


        retranslateUi(ImporterConfigDialog);
        QObject::connect(kcfg_AutoRename, SIGNAL(toggled(bool)), widget, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *ImporterConfigDialog)
    {
        kcfg_AutoRename->setText(tr2i18n("Rename documents automatically", 0));
        label->setText(tr2i18n("Rename Format:", 0));
        label_2->setText(tr2i18n("Preview:", 0));
        label_3->setText(tr2i18n("<i>Type text or click the items below to customize the format</i>", 0));
        Q_UNUSED(ImporterConfigDialog);
    } // retranslateUi

};

namespace Ui {
    class ImporterConfigDialog: public Ui_ImporterConfigDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // IMPORTERCONFIGDIALOG_H

