#include <klocalizedstring.h>

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

#ifndef UI_ALKONLINEQUOTEUPLOADDIALOG_H
#define UI_ALKONLINEQUOTEUPLOADDIALOG_H

#include <KLineEdit>
#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QWidget>
#include <alkpushbutton.h>

QT_BEGIN_NAMESPACE

class Ui_AlkOnlineQuoteUploadDialog
{
public:
    QGridLayout *gridLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_3;
    QLabel *label_2;
    QSpacerItem *horizontalSpacer;
    AlkPushButton *m_copyToClipboardButton;
    QLabel *m_storePackageEditUrl;
    AlkPushButton *m_enterStoreButtonAndClose;
    QLabel *label;
    AlkPushButton *m_closeButton;
    QLabel *label_0;
    QLabel *m_failedLabel;
    QSpacerItem *verticalSpacer_4;
    QLabel *label_1;
    KLineEdit *m_editVersion;
    KLineEdit *m_editSourceName;
    AlkPushButton *m_createButton;
    QLabel *m_packageLabel;
    QLabel *label_5;
    QSpacerItem *verticalSpacer;
    QLabel *m_fileLabel;
    QSpacerItem *horizontalSpacer_2;
    QLabel *m_storePackageUrl;

    void setupUi(QWidget *AlkOnlineQuoteUploadDialog)
    {
        if (AlkOnlineQuoteUploadDialog->objectName().isEmpty())
            AlkOnlineQuoteUploadDialog->setObjectName("AlkOnlineQuoteUploadDialog");
        AlkOnlineQuoteUploadDialog->resize(814, 790);
        AlkOnlineQuoteUploadDialog->setMinimumSize(QSize(0, 0));
        gridLayout = new QGridLayout(AlkOnlineQuoteUploadDialog);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName("gridLayout");
        groupBox = new QGroupBox(AlkOnlineQuoteUploadDialog);
        groupBox->setObjectName("groupBox");
        groupBox->setAlignment(Qt::AlignCenter);
        gridLayout_3 = new QGridLayout(groupBox);
        gridLayout_3->setSpacing(6);
        gridLayout_3->setContentsMargins(11, 11, 11, 11);
        gridLayout_3->setObjectName("gridLayout_3");
        label_2 = new QLabel(groupBox);
        label_2->setObjectName("label_2");

        gridLayout_3->addWidget(label_2, 4, 0, 1, 1);

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

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

        m_copyToClipboardButton = new AlkPushButton(groupBox);
        m_copyToClipboardButton->setObjectName("m_copyToClipboardButton");
        m_copyToClipboardButton->setEnabled(false);
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("edit-copy");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        m_copyToClipboardButton->setIcon(icon);

        gridLayout_3->addWidget(m_copyToClipboardButton, 12, 3, 1, 1);

        m_storePackageEditUrl = new QLabel(groupBox);
        m_storePackageEditUrl->setObjectName("m_storePackageEditUrl");
        m_storePackageEditUrl->setOpenExternalLinks(true);
        m_storePackageEditUrl->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        gridLayout_3->addWidget(m_storePackageEditUrl, 14, 2, 1, 1);

        m_enterStoreButtonAndClose = new AlkPushButton(groupBox);
        m_enterStoreButtonAndClose->setObjectName("m_enterStoreButtonAndClose");
        m_enterStoreButtonAndClose->setEnabled(true);
        QIcon icon1;
        iconThemeName = QString::fromUtf8("cloud-upload");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon1 = QIcon::fromTheme(iconThemeName);
        } else {
            icon1.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        m_enterStoreButtonAndClose->setIcon(icon1);

        gridLayout_3->addWidget(m_enterStoreButtonAndClose, 14, 3, 1, 1);

        label = new QLabel(groupBox);
        label->setObjectName("label");

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

        m_closeButton = new AlkPushButton(groupBox);
        m_closeButton->setObjectName("m_closeButton");
        m_closeButton->setEnabled(true);
        QIcon icon2;
        iconThemeName = QString::fromUtf8("dialog-close");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon2 = QIcon::fromTheme(iconThemeName);
        } else {
            icon2.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        m_closeButton->setIcon(icon2);

        gridLayout_3->addWidget(m_closeButton, 15, 3, 1, 1);

        label_0 = new QLabel(groupBox);
        label_0->setObjectName("label_0");
        label_0->setLineWidth(2);
        label_0->setWordWrap(true);

        gridLayout_3->addWidget(label_0, 2, 0, 1, 4);

        m_failedLabel = new QLabel(groupBox);
        m_failedLabel->setObjectName("m_failedLabel");

        gridLayout_3->addWidget(m_failedLabel, 8, 0, 1, 1);

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

        gridLayout_3->addItem(verticalSpacer_4, 16, 3, 1, 1);

        label_1 = new QLabel(groupBox);
        label_1->setObjectName("label_1");
        label_1->setWordWrap(true);
        label_1->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        gridLayout_3->addWidget(label_1, 12, 0, 1, 3);

        m_editVersion = new KLineEdit(groupBox);
        m_editVersion->setObjectName("m_editVersion");
        m_editVersion->setEnabled(false);

        gridLayout_3->addWidget(m_editVersion, 4, 2, 1, 1);

        m_editSourceName = new KLineEdit(groupBox);
        m_editSourceName->setObjectName("m_editSourceName");
        m_editSourceName->setEnabled(false);

        gridLayout_3->addWidget(m_editSourceName, 3, 2, 1, 1);

        m_createButton = new AlkPushButton(groupBox);
        m_createButton->setObjectName("m_createButton");
        m_createButton->setEnabled(true);
        QIcon icon3;
        iconThemeName = QString::fromUtf8("contact-new");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon3 = QIcon::fromTheme(iconThemeName);
        } else {
            icon3.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        m_createButton->setIcon(icon3);

        gridLayout_3->addWidget(m_createButton, 4, 3, 1, 1);

        m_packageLabel = new QLabel(groupBox);
        m_packageLabel->setObjectName("m_packageLabel");
        m_packageLabel->setOpenExternalLinks(false);
        m_packageLabel->setTextInteractionFlags(Qt::LinksAccessibleByMouse);

        gridLayout_3->addWidget(m_packageLabel, 9, 0, 1, 1);

        label_5 = new QLabel(groupBox);
        label_5->setObjectName("label_5");

        gridLayout_3->addWidget(label_5, 14, 0, 1, 1);

        verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Preferred);

        gridLayout_3->addItem(verticalSpacer, 10, 0, 1, 1);

        m_fileLabel = new QLabel(groupBox);
        m_fileLabel->setObjectName("m_fileLabel");

        gridLayout_3->addWidget(m_fileLabel, 9, 2, 1, 2);

        horizontalSpacer_2 = new QSpacerItem(300, 20, QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_2, 5, 0, 1, 1);

        m_storePackageUrl = new QLabel(groupBox);
        m_storePackageUrl->setObjectName("m_storePackageUrl");
        m_storePackageUrl->setOpenExternalLinks(true);
        m_storePackageUrl->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        gridLayout_3->addWidget(m_storePackageUrl, 3, 3, 1, 1);


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


        retranslateUi(AlkOnlineQuoteUploadDialog);

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

    void retranslateUi(QWidget *AlkOnlineQuoteUploadDialog)
    {
        AlkOnlineQuoteUploadDialog->setWindowTitle(tr2i18n("Online Quotes", nullptr));
#if QT_CONFIG(whatsthis)
        groupBox->setWhatsThis(tr2i18n("<html><head/><body><p>Select, add or delete an application profile, where to load profiles from and save into eg. kmymoney or skrooge.</p></body></html>", nullptr));
#endif // QT_CONFIG(whatsthis)
        groupBox->setTitle(tr2i18n("Upload online quote", nullptr));
        label_2->setText(tr2i18n("Version to create:", nullptr));
        m_copyToClipboardButton->setText(tr2i18n("Copy path to clipboard", nullptr));
        m_storePackageEditUrl->setText(tr2i18n("TextLabel", nullptr));
        m_enterStoreButtonAndClose->setText(tr2i18n("Enter store and close dialog", nullptr));
        label->setText(tr2i18n("Online quote source:", nullptr));
        m_closeButton->setText(tr2i18n("Close dialog", nullptr));
        label_0->setText(tr2i18n("This dialog allows you to create a package for an online quote source, which you can then upload to the online store used by alkimia to share with other users.", nullptr));
        m_failedLabel->setText(tr2i18n("Failed to create package at:", nullptr));
        label_1->setText(tr2i18n("To upload the generated package to the online store, copy the path of the generated file into the clipboard, log in to the store mentioned below and paste the copied url into the corresponding package (see the <b>files</b> tab).", nullptr));
#if QT_CONFIG(tooltip)
        m_createButton->setToolTip(tr2i18n("Create package for uploading", nullptr));
#endif // QT_CONFIG(tooltip)
        m_createButton->setText(tr2i18n("Create package", nullptr));
        m_packageLabel->setText(tr2i18n("Package has been created at:", nullptr));
        label_5->setText(tr2i18n("Package edit url:", nullptr));
        m_fileLabel->setText(QString());
        m_storePackageUrl->setText(tr2i18n("TextLabel", nullptr));
    } // retranslateUi

};

namespace Ui {
    class AlkOnlineQuoteUploadDialog: public Ui_AlkOnlineQuoteUploadDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ALKONLINEQUOTEUPLOADDIALOG_H

