#include <klocalizedstring.h>

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

#ifndef UI_COMICARCHIVEDIALOG_H
#define UI_COMICARCHIVEDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDateEdit>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_ComicArchiveDialog
{
public:
    QFormLayout *formLayout_4;
    QLabel *label_2;
    KUrlRequester *dest;
    QSpacerItem *verticalSpacer;
    QLabel *label;
    KComboBox *archiveType;
    QStackedWidget *types;
    QWidget *date;
    QFormLayout *formLayout;
    QLabel *fromDateLabel;
    QLabel *toDateLabel;
    QDateEdit *fromDate;
    QDateEdit *toDate;
    QWidget *number;
    QFormLayout *formLayout_2;
    QLabel *fromNumberLabel;
    QLabel *toNumberLabel;
    QSpinBox *toNumber;
    QSpinBox *fromNumber;
    QWidget *string;
    QFormLayout *formLayout_3;
    QLabel *fromStringLabel;
    QLabel *toStringLabel;
    KLineEdit *fromString;
    KLineEdit *toString;

    void setupUi(QWidget *ComicArchiveDialog)
    {
        if (ComicArchiveDialog->objectName().isEmpty())
            ComicArchiveDialog->setObjectName(QStringLiteral("ComicArchiveDialog"));
        ComicArchiveDialog->resize(469, 143);
        formLayout_4 = new QFormLayout(ComicArchiveDialog);
        formLayout_4->setObjectName(QStringLiteral("formLayout_4"));
        label_2 = new QLabel(ComicArchiveDialog);
        label_2->setObjectName(QStringLiteral("label_2"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_2->setFont(font);

        formLayout_4->setWidget(0, QFormLayout::LabelRole, label_2);

        dest = new KUrlRequester(ComicArchiveDialog);
        dest->setObjectName(QStringLiteral("dest"));
        dest->setMode(KFile::File|KFile::LocalOnly);

        formLayout_4->setWidget(0, QFormLayout::FieldRole, dest);

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

        formLayout_4->setItem(1, QFormLayout::FieldRole, verticalSpacer);

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

        formLayout_4->setWidget(2, QFormLayout::LabelRole, label);

        archiveType = new KComboBox(ComicArchiveDialog);
        archiveType->setObjectName(QStringLiteral("archiveType"));

        formLayout_4->setWidget(2, QFormLayout::FieldRole, archiveType);

        types = new QStackedWidget(ComicArchiveDialog);
        types->setObjectName(QStringLiteral("types"));
        date = new QWidget();
        date->setObjectName(QStringLiteral("date"));
        formLayout = new QFormLayout(date);
        formLayout->setContentsMargins(0, 0, 0, 0);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        fromDateLabel = new QLabel(date);
        fromDateLabel->setObjectName(QStringLiteral("fromDateLabel"));

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

        toDateLabel = new QLabel(date);
        toDateLabel->setObjectName(QStringLiteral("toDateLabel"));

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

        fromDate = new QDateEdit(date);
        fromDate->setObjectName(QStringLiteral("fromDate"));
        fromDate->setCalendarPopup(true);

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

        toDate = new QDateEdit(date);
        toDate->setObjectName(QStringLiteral("toDate"));
        toDate->setCalendarPopup(true);

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

        types->addWidget(date);
        number = new QWidget();
        number->setObjectName(QStringLiteral("number"));
        formLayout_2 = new QFormLayout(number);
        formLayout_2->setContentsMargins(0, 0, 0, 0);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        fromNumberLabel = new QLabel(number);
        fromNumberLabel->setObjectName(QStringLiteral("fromNumberLabel"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, fromNumberLabel);

        toNumberLabel = new QLabel(number);
        toNumberLabel->setObjectName(QStringLiteral("toNumberLabel"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, toNumberLabel);

        toNumber = new QSpinBox(number);
        toNumber->setObjectName(QStringLiteral("toNumber"));
        toNumber->setMaximum(100000);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, toNumber);

        fromNumber = new QSpinBox(number);
        fromNumber->setObjectName(QStringLiteral("fromNumber"));
        fromNumber->setMaximum(100000);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, fromNumber);

        types->addWidget(number);
        string = new QWidget();
        string->setObjectName(QStringLiteral("string"));
        formLayout_3 = new QFormLayout(string);
        formLayout_3->setContentsMargins(0, 0, 0, 0);
        formLayout_3->setObjectName(QStringLiteral("formLayout_3"));
        fromStringLabel = new QLabel(string);
        fromStringLabel->setObjectName(QStringLiteral("fromStringLabel"));

        formLayout_3->setWidget(0, QFormLayout::LabelRole, fromStringLabel);

        toStringLabel = new QLabel(string);
        toStringLabel->setObjectName(QStringLiteral("toStringLabel"));

        formLayout_3->setWidget(1, QFormLayout::LabelRole, toStringLabel);

        fromString = new KLineEdit(string);
        fromString->setObjectName(QStringLiteral("fromString"));

        formLayout_3->setWidget(0, QFormLayout::FieldRole, fromString);

        toString = new KLineEdit(string);
        toString->setObjectName(QStringLiteral("toString"));

        formLayout_3->setWidget(1, QFormLayout::FieldRole, toString);

        types->addWidget(string);

        formLayout_4->setWidget(3, QFormLayout::SpanningRole, types);


        retranslateUi(ComicArchiveDialog);

        types->setCurrentIndex(0);


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

    void retranslateUi(QWidget *ComicArchiveDialog)
    {
        label_2->setText(tr2i18n("Destination:", Q_NULLPTR));
        dest->setFilter(tr2i18n("*.cbz|Comic Book Archive (Zip)", Q_NULLPTR));
#ifndef UI_QT_NO_STATUSTIP
        label->setStatusTip(tr2i18n("The range of comic strips to archive.", Q_NULLPTR));
#endif // QT_NO_STATUSTIP
        label->setText(tr2i18n("Range:", Q_NULLPTR));
        archiveType->clear();
        archiveType->insertItems(0, QStringList()
         << tr2i18n("All", Q_NULLPTR)
         << tr2i18n("From beginning to ...", Q_NULLPTR)
         << tr2i18n("From end to ...", Q_NULLPTR)
         << tr2i18n("Manual range", Q_NULLPTR)
        );
        fromDateLabel->setText(tr2i18n("From:", "in a range: from to"));
        toDateLabel->setText(tr2i18n("To:", "in a range: from to"));
        fromDate->setDisplayFormat(tr2i18n("dd.MM.yyyy", Q_NULLPTR));
        toDate->setDisplayFormat(tr2i18n("dd.MM.yyyy", Q_NULLPTR));
        fromNumberLabel->setText(tr2i18n("From:", "in a range: from to"));
        toNumberLabel->setText(tr2i18n("To:", "in a range: from to"));
        fromStringLabel->setText(tr2i18n("From:", "in a range: from to"));
        toStringLabel->setText(tr2i18n("To:", "in a range: from to"));
        Q_UNUSED(ComicArchiveDialog);
    } // retranslateUi

};

namespace Ui {
    class ComicArchiveDialog: public Ui_ComicArchiveDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COMICARCHIVEDIALOG_H

