1
by Grevutiu Gabriel
Original upstream code |
1 |
/********************************************************************************
|
2 |
** Form generated from reading UI file 'downloaditem.ui'
|
|
3 |
**
|
|
4 |
** Created by: Qt User Interface Compiler version 5.0.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/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" |
|
25 |
||
26 |
QT_BEGIN_NAMESPACE
|
|
27 |
||
28 |
class Ui_DownloadItem |
|
29 |
{
|
|
30 |
public: |
|
31 |
QHBoxLayout *horizontalLayout; |
|
32 |
QLabel *fileIcon; |
|
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; |
|
43 |
||
44 |
void setupUi(QWidget *DownloadItem) |
|
45 |
{
|
|
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); |
|
59 |
||
60 |
horizontalLayout->addWidget(fileIcon); |
|
61 |
||
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); |
|
71 |
||
72 |
verticalLayout_2->addWidget(fileNameLabel); |
|
73 |
||
74 |
progressBar = new QProgressBar(DownloadItem); |
|
75 |
progressBar->setObjectName(QStringLiteral("progressBar")); |
|
76 |
progressBar->setValue(0); |
|
77 |
||
78 |
verticalLayout_2->addWidget(progressBar); |
|
79 |
||
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); |
|
87 |
||
88 |
verticalLayout_2->addWidget(downloadInfoLabel); |
|
89 |
||
90 |
||
91 |
horizontalLayout->addLayout(verticalLayout_2); |
|
92 |
||
93 |
verticalLayout = new QVBoxLayout(); |
|
94 |
verticalLayout->setObjectName(QStringLiteral("verticalLayout")); |
|
95 |
verticalSpacer = new QSpacerItem(17, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
96 |
||
97 |
verticalLayout->addItem(verticalSpacer); |
|
98 |
||
99 |
tryAgainButton = new QPushButton(DownloadItem); |
|
100 |
tryAgainButton->setObjectName(QStringLiteral("tryAgainButton")); |
|
101 |
tryAgainButton->setEnabled(false); |
|
102 |
||
103 |
verticalLayout->addWidget(tryAgainButton); |
|
104 |
||
105 |
stopButton = new QPushButton(DownloadItem); |
|
106 |
stopButton->setObjectName(QStringLiteral("stopButton")); |
|
107 |
||
108 |
verticalLayout->addWidget(stopButton); |
|
109 |
||
110 |
openButton = new QPushButton(DownloadItem); |
|
111 |
openButton->setObjectName(QStringLiteral("openButton")); |
|
112 |
||
113 |
verticalLayout->addWidget(openButton); |
|
114 |
||
115 |
verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
116 |
||
117 |
verticalLayout->addItem(verticalSpacer_2); |
|
118 |
||
119 |
||
120 |
horizontalLayout->addLayout(verticalLayout); |
|
121 |
||
122 |
||
123 |
retranslateUi(DownloadItem); |
|
124 |
||
125 |
QMetaObject::connectSlotsByName(DownloadItem); |
|
126 |
} // setupUi |
|
127 |
||
128 |
void retranslateUi(QWidget *DownloadItem) |
|
129 |
{
|
|
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)); |
|
137 |
} // retranslateUi |
|
138 |
||
139 |
};
|
|
140 |
||
141 |
namespace Ui { |
|
142 |
class DownloadItem: public Ui_DownloadItem {}; |
|
143 |
} // namespace Ui |
|
144 |
||
145 |
QT_END_NAMESPACE
|
|
146 |
||
147 |
#endif // DOWNLOADITEM_H |