/********************************************************************************
** Form generated from reading UI file 'downloadoptionsdialog.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_DOWNLOADOPTIONSDIALOG_H
#define UI_DOWNLOADOPTIONSDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include "clickablelabel.h"
#include "squeezelabelv2.h"

QT_BEGIN_NAMESPACE

class Ui_DownloadOptionsDialog
{
public:
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout;
    QLabel *label_2;
    QLabel *fileType;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QSpacerItem *horizontalSpacer;
    QRadioButton *radioOpen;
    QRadioButton *radioSave;
    QRadioButton *radioExternal;
    QFrame *fromFrame;
    QHBoxLayout *horizontalLayout_2;
    QLabel *label_3;
    QLabel *fromServer;
    ClickableLabel *copyDownloadLink;
    QDialogButtonBox *buttonBox;
    QLabel *label;
    QLabel *fileIcon;
    SqueezeLabelV2 *fileName;

    void setupUi(QDialog *DownloadOptionsDialog)
    {
        if (DownloadOptionsDialog->objectName().isEmpty())
            DownloadOptionsDialog->setObjectName(QStringLiteral("DownloadOptionsDialog"));
        DownloadOptionsDialog->resize(410, 267);
        DownloadOptionsDialog->setMinimumSize(QSize(410, 0));
        DownloadOptionsDialog->setMaximumSize(QSize(410, 16777215));
        gridLayout_2 = new QGridLayout(DownloadOptionsDialog);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        label_2 = new QLabel(DownloadOptionsDialog);
        label_2->setObjectName(QStringLiteral("label_2"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
        label_2->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(label_2);

        fileType = new QLabel(DownloadOptionsDialog);
        fileType->setObjectName(QStringLiteral("fileType"));
        fileType->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);

        horizontalLayout->addWidget(fileType);


        gridLayout_2->addLayout(horizontalLayout, 2, 1, 1, 2);

        groupBox = new QGroupBox(DownloadOptionsDialog);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer, 0, 0, 1, 1);

        radioOpen = new QRadioButton(groupBox);
        radioOpen->setObjectName(QStringLiteral("radioOpen"));

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

        radioSave = new QRadioButton(groupBox);
        radioSave->setObjectName(QStringLiteral("radioSave"));
        radioSave->setChecked(true);

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

        radioExternal = new QRadioButton(groupBox);
        radioExternal->setObjectName(QStringLiteral("radioExternal"));

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


        gridLayout_2->addWidget(groupBox, 5, 0, 1, 3);

        fromFrame = new QFrame(DownloadOptionsDialog);
        fromFrame->setObjectName(QStringLiteral("fromFrame"));
        horizontalLayout_2 = new QHBoxLayout(fromFrame);
        horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        label_3 = new QLabel(fromFrame);
        label_3->setObjectName(QStringLiteral("label_3"));
        sizePolicy.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
        label_3->setSizePolicy(sizePolicy);

        horizontalLayout_2->addWidget(label_3);

        fromServer = new QLabel(fromFrame);
        fromServer->setObjectName(QStringLiteral("fromServer"));
        QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(fromServer->sizePolicy().hasHeightForWidth());
        fromServer->setSizePolicy(sizePolicy1);
        fromServer->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);

        horizontalLayout_2->addWidget(fromServer);

        copyDownloadLink = new ClickableLabel(fromFrame);
        copyDownloadLink->setObjectName(QStringLiteral("copyDownloadLink"));
        copyDownloadLink->setCursor(QCursor(Qt::PointingHandCursor));
        copyDownloadLink->setProperty("html-link-look", QVariant(true));

        horizontalLayout_2->addWidget(copyDownloadLink);


        gridLayout_2->addWidget(fromFrame, 3, 1, 1, 2);

        buttonBox = new QDialogButtonBox(DownloadOptionsDialog);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        gridLayout_2->addWidget(buttonBox, 6, 0, 1, 3);

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

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

        fileIcon = new QLabel(DownloadOptionsDialog);
        fileIcon->setObjectName(QStringLiteral("fileIcon"));
        sizePolicy1.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth());
        fileIcon->setSizePolicy(sizePolicy1);

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

        fileName = new SqueezeLabelV2(DownloadOptionsDialog);
        fileName->setObjectName(QStringLiteral("fileName"));
        fileName->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse);

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


        retranslateUi(DownloadOptionsDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), DownloadOptionsDialog, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), DownloadOptionsDialog, SLOT(reject()));

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

    void retranslateUi(QDialog *DownloadOptionsDialog)
    {
        DownloadOptionsDialog->setWindowTitle(QApplication::translate("DownloadOptionsDialog", "Opening", Q_NULLPTR));
        label_2->setText(QApplication::translate("DownloadOptionsDialog", "which is a:", Q_NULLPTR));
        fileType->setText(QString());
        groupBox->setTitle(QApplication::translate("DownloadOptionsDialog", "What should QupZilla do with this file?", Q_NULLPTR));
        radioOpen->setText(QApplication::translate("DownloadOptionsDialog", "Open...", Q_NULLPTR));
        radioSave->setText(QApplication::translate("DownloadOptionsDialog", "Save File", Q_NULLPTR));
        radioExternal->setText(QApplication::translate("DownloadOptionsDialog", "Download with External Manager", Q_NULLPTR));
        label_3->setText(QApplication::translate("DownloadOptionsDialog", "from:", Q_NULLPTR));
        fromServer->setText(QString());
        copyDownloadLink->setText(QApplication::translate("DownloadOptionsDialog", "Copy download link", Q_NULLPTR));
        label->setText(QApplication::translate("DownloadOptionsDialog", "You have chosen to open", Q_NULLPTR));
        fileIcon->setText(QString());
        fileName->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class DownloadOptionsDialog: public Ui_DownloadOptionsDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_DOWNLOADOPTIONSDIALOG_H
