| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'downloaditem.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef DOWNLOADITEM_H |
| 10 |
#define DOWNLOADITEM_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QHBoxLayout> |
| 15 |
#include <QtWidgets/QLabel> |
| 16 |
#include <QtWidgets/QProgressBar> |
| 17 |
#include <QtWidgets/QPushButton> |
| 18 |
#include <QtWidgets/QSpacerItem> |
| 19 |
#include <QtWidgets/QVBoxLayout> |
| 20 |
#include <QtWidgets/QWidget> |
| 21 |
#include "squeezelabel.h" |
| 22 |
|
| 23 |
QT_BEGIN_NAMESPACE |
| 24 |
|
| 25 |
class Ui_DownloadItem |
| 26 |
{ |
| 27 |
public: |
| 28 |
QHBoxLayout *horizontalLayout; |
| 29 |
QLabel *fileIcon; |
| 30 |
QVBoxLayout *verticalLayout_2; |
| 31 |
SqueezeLabel *fileNameLabel; |
| 32 |
QProgressBar *progressBar; |
| 33 |
SqueezeLabel *downloadInfoLabel; |
| 34 |
QVBoxLayout *verticalLayout; |
| 35 |
QSpacerItem *verticalSpacer; |
| 36 |
QPushButton *tryAgainButton; |
| 37 |
QPushButton *stopButton; |
| 38 |
QPushButton *openButton; |
| 39 |
QSpacerItem *verticalSpacer_2; |
| 40 |
|
| 41 |
void setupUi(QWidget *DownloadItem) |
| 42 |
{ |
| 43 |
if (DownloadItem->objectName().isEmpty()) |
| 44 |
DownloadItem->setObjectName(QString::fromUtf8("DownloadItem")); |
| 45 |
DownloadItem->resize(423, 110); |
| 46 |
horizontalLayout = new QHBoxLayout(DownloadItem); |
| 47 |
horizontalLayout->setContentsMargins(0, 0, 0, 0); |
| 48 |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 49 |
fileIcon = new QLabel(DownloadItem); |
| 50 |
fileIcon->setObjectName(QString::fromUtf8("fileIcon")); |
| 51 |
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); |
| 52 |
sizePolicy.setHorizontalStretch(0); |
| 53 |
sizePolicy.setVerticalStretch(0); |
| 54 |
sizePolicy.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth()); |
| 55 |
fileIcon->setSizePolicy(sizePolicy); |
| 56 |
|
| 57 |
horizontalLayout->addWidget(fileIcon); |
| 58 |
|
| 59 |
verticalLayout_2 = new QVBoxLayout(); |
| 60 |
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); |
| 61 |
fileNameLabel = new SqueezeLabel(DownloadItem); |
| 62 |
fileNameLabel->setObjectName(QString::fromUtf8("fileNameLabel")); |
| 63 |
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred); |
| 64 |
sizePolicy1.setHorizontalStretch(0); |
| 65 |
sizePolicy1.setVerticalStretch(0); |
| 66 |
sizePolicy1.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth()); |
| 67 |
fileNameLabel->setSizePolicy(sizePolicy1); |
| 68 |
|
| 69 |
verticalLayout_2->addWidget(fileNameLabel); |
| 70 |
|
| 71 |
progressBar = new QProgressBar(DownloadItem); |
| 72 |
progressBar->setObjectName(QString::fromUtf8("progressBar")); |
| 73 |
progressBar->setValue(0); |
| 74 |
|
| 75 |
verticalLayout_2->addWidget(progressBar); |
| 76 |
|
| 77 |
downloadInfoLabel = new SqueezeLabel(DownloadItem); |
| 78 |
downloadInfoLabel->setObjectName(QString::fromUtf8("downloadInfoLabel")); |
| 79 |
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred); |
| 80 |
sizePolicy2.setHorizontalStretch(0); |
| 81 |
sizePolicy2.setVerticalStretch(0); |
| 82 |
sizePolicy2.setHeightForWidth(downloadInfoLabel->sizePolicy().hasHeightForWidth()); |
| 83 |
downloadInfoLabel->setSizePolicy(sizePolicy2); |
| 84 |
|
| 85 |
verticalLayout_2->addWidget(downloadInfoLabel); |
| 86 |
|
| 87 |
|
| 88 |
horizontalLayout->addLayout(verticalLayout_2); |
| 89 |
|
| 90 |
verticalLayout = new QVBoxLayout(); |
| 91 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 92 |
verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 93 |
|
| 94 |
verticalLayout->addItem(verticalSpacer); |
| 95 |
|
| 96 |
tryAgainButton = new QPushButton(DownloadItem); |
| 97 |
tryAgainButton->setObjectName(QString::fromUtf8("tryAgainButton")); |
| 98 |
tryAgainButton->setEnabled(false); |
| 99 |
|
| 100 |
verticalLayout->addWidget(tryAgainButton); |
| 101 |
|
| 102 |
stopButton = new QPushButton(DownloadItem); |
| 103 |
stopButton->setObjectName(QString::fromUtf8("stopButton")); |
| 104 |
|
| 105 |
verticalLayout->addWidget(stopButton); |
| 106 |
|
| 107 |
openButton = new QPushButton(DownloadItem); |
| 108 |
openButton->setObjectName(QString::fromUtf8("openButton")); |
| 109 |
|
| 110 |
verticalLayout->addWidget(openButton); |
| 111 |
|
| 112 |
verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 113 |
|
| 114 |
verticalLayout->addItem(verticalSpacer_2); |
| 115 |
|
| 116 |
|
| 117 |
horizontalLayout->addLayout(verticalLayout); |
| 118 |
|
| 119 |
|
| 120 |
retranslateUi(DownloadItem); |
| 121 |
|
| 122 |
QMetaObject::connectSlotsByName(DownloadItem); |
| 123 |
} // setupUi |
| 124 |
|
| 125 |
void retranslateUi(QWidget *DownloadItem) |
| 126 |
{ |
| 127 |
DownloadItem->setWindowTitle(QCoreApplication::translate("DownloadItem", "Form", nullptr)); |
| 128 |
fileIcon->setText(QCoreApplication::translate("DownloadItem", "Ico", nullptr)); |
| 129 |
fileNameLabel->setProperty("text", QVariant(QCoreApplication::translate("DownloadItem", "Filename", nullptr))); |
| 130 |
downloadInfoLabel->setProperty("text", QVariant(QString())); |
| 131 |
tryAgainButton->setText(QCoreApplication::translate("DownloadItem", "Try Again", nullptr)); |
| 132 |
stopButton->setText(QCoreApplication::translate("DownloadItem", "Stop", nullptr)); |
| 133 |
openButton->setText(QCoreApplication::translate("DownloadItem", "Open", nullptr)); |
| 134 |
} // retranslateUi |
| 135 |
|
| 136 |
}; |
| 137 |
|
| 138 |
namespace Ui { |
| 139 |
class DownloadItem: public Ui_DownloadItem {}; |
| 140 |
} // namespace Ui |
| 141 |
|
| 142 |
QT_END_NAMESPACE |
| 143 |
|
| 144 |
#endif // DOWNLOADITEM_H |