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