1
/********************************************************************************
2
** Form generated from reading UI file 'downloaditem.ui'
4
** Created by: Qt User Interface Compiler version 5.0.0
6
** WARNING! All changes made in this file will be lost when recompiling UI file!
7
********************************************************************************/
10
#define DOWNLOADITEM_H
12
#include <QtCore/QVariant>
13
#include <QtWidgets/QAction>
14
#include <QtWidgets/QApplication>
15
#include <QtWidgets/QButtonGroup>
16
#include <QtWidgets/QHBoxLayout>
17
#include <QtWidgets/QHeaderView>
18
#include <QtWidgets/QLabel>
19
#include <QtWidgets/QProgressBar>
20
#include <QtWidgets/QPushButton>
21
#include <QtWidgets/QSpacerItem>
22
#include <QtWidgets/QVBoxLayout>
23
#include <QtWidgets/QWidget>
24
#include "squeezelabel.h"
31
QHBoxLayout *horizontalLayout;
33
QVBoxLayout *verticalLayout_2;
34
SqueezeLabel *fileNameLabel;
35
QProgressBar *progressBar;
36
SqueezeLabel *downloadInfoLabel;
37
QVBoxLayout *verticalLayout;
38
QSpacerItem *verticalSpacer;
39
QPushButton *tryAgainButton;
40
QPushButton *stopButton;
41
QPushButton *openButton;
42
QSpacerItem *verticalSpacer_2;
44
void setupUi(QWidget *DownloadItem)
46
if (DownloadItem->objectName().isEmpty())
47
DownloadItem->setObjectName(QStringLiteral("DownloadItem"));
48
DownloadItem->resize(423, 110);
49
horizontalLayout = new QHBoxLayout(DownloadItem);
50
horizontalLayout->setContentsMargins(0, 0, 0, 0);
51
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
52
fileIcon = new QLabel(DownloadItem);
53
fileIcon->setObjectName(QStringLiteral("fileIcon"));
54
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
55
sizePolicy.setHorizontalStretch(0);
56
sizePolicy.setVerticalStretch(0);
57
sizePolicy.setHeightForWidth(fileIcon->sizePolicy().hasHeightForWidth());
58
fileIcon->setSizePolicy(sizePolicy);
60
horizontalLayout->addWidget(fileIcon);
62
verticalLayout_2 = new QVBoxLayout();
63
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
64
fileNameLabel = new SqueezeLabel(DownloadItem);
65
fileNameLabel->setObjectName(QStringLiteral("fileNameLabel"));
66
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
67
sizePolicy1.setHorizontalStretch(0);
68
sizePolicy1.setVerticalStretch(0);
69
sizePolicy1.setHeightForWidth(fileNameLabel->sizePolicy().hasHeightForWidth());
70
fileNameLabel->setSizePolicy(sizePolicy1);
72
verticalLayout_2->addWidget(fileNameLabel);
74
progressBar = new QProgressBar(DownloadItem);
75
progressBar->setObjectName(QStringLiteral("progressBar"));
76
progressBar->setValue(0);
78
verticalLayout_2->addWidget(progressBar);
80
downloadInfoLabel = new SqueezeLabel(DownloadItem);
81
downloadInfoLabel->setObjectName(QStringLiteral("downloadInfoLabel"));
82
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
83
sizePolicy2.setHorizontalStretch(0);
84
sizePolicy2.setVerticalStretch(0);
85
sizePolicy2.setHeightForWidth(downloadInfoLabel->sizePolicy().hasHeightForWidth());
86
downloadInfoLabel->setSizePolicy(sizePolicy2);
88
verticalLayout_2->addWidget(downloadInfoLabel);
91
horizontalLayout->addLayout(verticalLayout_2);
93
verticalLayout = new QVBoxLayout();
94
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
95
verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
97
verticalLayout->addItem(verticalSpacer);
99
tryAgainButton = new QPushButton(DownloadItem);
100
tryAgainButton->setObjectName(QStringLiteral("tryAgainButton"));
101
tryAgainButton->setEnabled(false);
103
verticalLayout->addWidget(tryAgainButton);
105
stopButton = new QPushButton(DownloadItem);
106
stopButton->setObjectName(QStringLiteral("stopButton"));
108
verticalLayout->addWidget(stopButton);
110
openButton = new QPushButton(DownloadItem);
111
openButton->setObjectName(QStringLiteral("openButton"));
113
verticalLayout->addWidget(openButton);
115
verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
117
verticalLayout->addItem(verticalSpacer_2);
120
horizontalLayout->addLayout(verticalLayout);
123
retranslateUi(DownloadItem);
125
QMetaObject::connectSlotsByName(DownloadItem);
128
void retranslateUi(QWidget *DownloadItem)
130
DownloadItem->setWindowTitle(QApplication::translate("DownloadItem", "Form", Q_NULLPTR));
131
fileIcon->setText(QApplication::translate("DownloadItem", "Ico", Q_NULLPTR));
132
fileNameLabel->setProperty("text", QVariant(QApplication::translate("DownloadItem", "Filename", Q_NULLPTR)));
133
downloadInfoLabel->setProperty("text", QVariant(QString()));
134
tryAgainButton->setText(QApplication::translate("DownloadItem", "Try Again", Q_NULLPTR));
135
stopButton->setText(QApplication::translate("DownloadItem", "Stop", Q_NULLPTR));
136
openButton->setText(QApplication::translate("DownloadItem", "Open", Q_NULLPTR));
142
class DownloadItem: public Ui_DownloadItem {};
147
#endif // DOWNLOADITEM_H