2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'downloaditem.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef DOWNLOADITEM_H
|
|
|
|
#define DOWNLOADITEM_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QProgressBar>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
#include "squeezelabel.h"
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_DownloadItem
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QHBoxLayout *horizontalLayout;
|
|
|
|
QLabel *fileIcon;
|
|
|
|
QVBoxLayout *verticalLayout_2;
|
|
|
|
SqueezeLabel *fileNameLabel;
|
|
|
|
QProgressBar *progressBar;
|
|
|
|
SqueezeLabel *downloadInfoLabel;
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QSpacerItem *verticalSpacer;
|
|
|
|
QPushButton *tryAgainButton;
|
|
|
|
QPushButton *stopButton;
|
|
|
|
QPushButton *openButton;
|
|
|
|
QSpacerItem *verticalSpacer_2;
|
|
|
|
|
|
|
|
void setupUi(QWidget *DownloadItem)
|
|
|
|
{
|
|
|
|
if (DownloadItem->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
DownloadItem->setObjectName(QStringLiteral("DownloadItem"));
|
2011-04-27 10:05:43 +00:00
|
|
|
DownloadItem->resize(423, 110);
|
|
|
|
horizontalLayout = new QHBoxLayout(DownloadItem);
|
|
|
|
horizontalLayout->setContentsMargins(0, 0, 0, 0);
|
2011-12-11 15:55:01 +00:00
|
|
|
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
fileIcon = new QLabel(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
fileIcon->setObjectName(QStringLiteral("fileIcon"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth());
|
|
|
|
fileIcon->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
horizontalLayout->addWidget(fileIcon);
|
|
|
|
|
|
|
|
verticalLayout_2 = new QVBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
fileNameLabel = new SqueezeLabel(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
|
|
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
|
|
sizePolicy1.setVerticalStretch(0);
|
|
|
|
sizePolicy1.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
|
|
|
|
fileNameLabel->setSizePolicy(sizePolicy1);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(fileNameLabel);
|
|
|
|
|
|
|
|
progressBar = new QProgressBar(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
progressBar->setObjectName(QStringLiteral("progressBar"));
|
2011-04-27 10:05:43 +00:00
|
|
|
progressBar->setValue(0);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(progressBar);
|
|
|
|
|
|
|
|
downloadInfoLabel = new SqueezeLabel(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
downloadInfoLabel->setObjectName(QStringLiteral("downloadInfoLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
|
|
|
|
sizePolicy2.setHorizontalStretch(0);
|
|
|
|
sizePolicy2.setVerticalStretch(0);
|
|
|
|
sizePolicy2.setHeightForWidth(downloadInfoLabel->sizePolicy().hasHeightForWidth());
|
|
|
|
downloadInfoLabel->setSizePolicy(sizePolicy2);
|
|
|
|
|
|
|
|
verticalLayout_2->addWidget(downloadInfoLabel);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout_2);
|
|
|
|
|
|
|
|
verticalLayout = new QVBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
verticalLayout->addItem(verticalSpacer);
|
|
|
|
|
|
|
|
tryAgainButton = new QPushButton(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
tryAgainButton->setObjectName(QStringLiteral("tryAgainButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
tryAgainButton->setEnabled(false);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(tryAgainButton);
|
|
|
|
|
|
|
|
stopButton = new QPushButton(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
stopButton->setObjectName(QStringLiteral("stopButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout->addWidget(stopButton);
|
|
|
|
|
|
|
|
openButton = new QPushButton(DownloadItem);
|
2011-12-11 15:55:01 +00:00
|
|
|
openButton->setObjectName(QStringLiteral("openButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout->addWidget(openButton);
|
|
|
|
|
|
|
|
verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
verticalLayout->addItem(verticalSpacer_2);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(DownloadItem);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(DownloadItem);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QWidget *DownloadItem)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
DownloadItem->setWindowTitle(QApplication::translate("DownloadItem", "Form", 0));
|
|
|
|
fileIcon->setText(QApplication::translate("DownloadItem", "Ico", 0));
|
|
|
|
fileNameLabel->setProperty("text", QVariant(QApplication::translate("DownloadItem", "Filename", 0)));
|
2011-04-27 10:05:43 +00:00
|
|
|
downloadInfoLabel->setProperty("text", QVariant(QString()));
|
2012-05-17 00:37:23 +00:00
|
|
|
tryAgainButton->setText(QApplication::translate("DownloadItem", "Try Again", 0));
|
|
|
|
stopButton->setText(QApplication::translate("DownloadItem", "Stop", 0));
|
|
|
|
openButton->setText(QApplication::translate("DownloadItem", "Open", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class DownloadItem: public Ui_DownloadItem {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // DOWNLOADITEM_H
|