annotate demos/browser/ui_downloaditem.d @ 55:63c31e221118

CMake: Add forgotten files to install.
author SokoL_SD
date Mon, 18 May 2009 19:03:06 +0000
parents fd6eb3a1759d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
fd6eb3a1759d license
eldar
parents:
diff changeset
1 /********************************************************************************
fd6eb3a1759d license
eldar
parents:
diff changeset
2 ** Form generated from reading ui file 'downloaditem.ui'
fd6eb3a1759d license
eldar
parents:
diff changeset
3 **
fd6eb3a1759d license
eldar
parents:
diff changeset
4 ** Created: Mon May 18 01:52:16 2009
fd6eb3a1759d license
eldar
parents:
diff changeset
5 ** by: Qt User Interface Compiler version 4.5.0
fd6eb3a1759d license
eldar
parents:
diff changeset
6 **
fd6eb3a1759d license
eldar
parents:
diff changeset
7 ** WARNING! All changes made in this file will be lost when recompiling ui file!
fd6eb3a1759d license
eldar
parents:
diff changeset
8 ********************************************************************************/
fd6eb3a1759d license
eldar
parents:
diff changeset
9
fd6eb3a1759d license
eldar
parents:
diff changeset
10 import qt.core.QVariant;
fd6eb3a1759d license
eldar
parents:
diff changeset
11 import qt.gui.QAction;
fd6eb3a1759d license
eldar
parents:
diff changeset
12 import qt.gui.QApplication;
fd6eb3a1759d license
eldar
parents:
diff changeset
13 import qt.gui.QButtonGroup;
fd6eb3a1759d license
eldar
parents:
diff changeset
14 import qt.gui.QHBoxLayout;
fd6eb3a1759d license
eldar
parents:
diff changeset
15 import qt.gui.QHeaderView;
fd6eb3a1759d license
eldar
parents:
diff changeset
16 import qt.gui.QLabel;
fd6eb3a1759d license
eldar
parents:
diff changeset
17 import qt.gui.QProgressBar;
fd6eb3a1759d license
eldar
parents:
diff changeset
18 import qt.gui.QPushButton;
fd6eb3a1759d license
eldar
parents:
diff changeset
19 import qt.gui.QSpacerItem;
fd6eb3a1759d license
eldar
parents:
diff changeset
20 import qt.gui.QVBoxLayout;
fd6eb3a1759d license
eldar
parents:
diff changeset
21 import qt.gui.QWidget;
fd6eb3a1759d license
eldar
parents:
diff changeset
22 import squeezelabel;
fd6eb3a1759d license
eldar
parents:
diff changeset
23
fd6eb3a1759d license
eldar
parents:
diff changeset
24
fd6eb3a1759d license
eldar
parents:
diff changeset
25 class Ui_DownloadItem
fd6eb3a1759d license
eldar
parents:
diff changeset
26 {
fd6eb3a1759d license
eldar
parents:
diff changeset
27 public:
fd6eb3a1759d license
eldar
parents:
diff changeset
28 QHBoxLayout horizontalLayout;
fd6eb3a1759d license
eldar
parents:
diff changeset
29 QLabel fileIcon;
fd6eb3a1759d license
eldar
parents:
diff changeset
30 QVBoxLayout verticalLayout_2;
fd6eb3a1759d license
eldar
parents:
diff changeset
31 SqueezeLabel fileNameLabel;
fd6eb3a1759d license
eldar
parents:
diff changeset
32 QProgressBar progressBar;
fd6eb3a1759d license
eldar
parents:
diff changeset
33 SqueezeLabel downloadInfoLabel;
fd6eb3a1759d license
eldar
parents:
diff changeset
34 QVBoxLayout verticalLayout;
fd6eb3a1759d license
eldar
parents:
diff changeset
35 QSpacerItem verticalSpacer;
fd6eb3a1759d license
eldar
parents:
diff changeset
36 QPushButton tryAgainButton;
fd6eb3a1759d license
eldar
parents:
diff changeset
37 QPushButton stopButton;
fd6eb3a1759d license
eldar
parents:
diff changeset
38 QPushButton openButton;
fd6eb3a1759d license
eldar
parents:
diff changeset
39 QSpacerItem verticalSpacer_2;
fd6eb3a1759d license
eldar
parents:
diff changeset
40
fd6eb3a1759d license
eldar
parents:
diff changeset
41 void setupUi(QWidget DownloadItem)
fd6eb3a1759d license
eldar
parents:
diff changeset
42 {
fd6eb3a1759d license
eldar
parents:
diff changeset
43 if (DownloadItem.objectName().isEmpty())
fd6eb3a1759d license
eldar
parents:
diff changeset
44 DownloadItem.setObjectName("DownloadItem");
fd6eb3a1759d license
eldar
parents:
diff changeset
45 DownloadItem.resize(423, 110);
fd6eb3a1759d license
eldar
parents:
diff changeset
46 horizontalLayout = new QHBoxLayout(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
47 horizontalLayout.setMargin(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
48 horizontalLayout.setObjectName("horizontalLayout");
fd6eb3a1759d license
eldar
parents:
diff changeset
49 fileIcon = new QLabel(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
50 fileIcon.setObjectName("fileIcon");
fd6eb3a1759d license
eldar
parents:
diff changeset
51 QSizePolicy sizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum);
fd6eb3a1759d license
eldar
parents:
diff changeset
52 sizePolicy.setHorizontalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
53 sizePolicy.setVerticalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
54 sizePolicy.setHeightForWidth(fileIcon.sizePolicy().hasHeightForWidth());
fd6eb3a1759d license
eldar
parents:
diff changeset
55 fileIcon.setSizePolicy(sizePolicy);
fd6eb3a1759d license
eldar
parents:
diff changeset
56
fd6eb3a1759d license
eldar
parents:
diff changeset
57 horizontalLayout.addWidget(fileIcon);
fd6eb3a1759d license
eldar
parents:
diff changeset
58
fd6eb3a1759d license
eldar
parents:
diff changeset
59 verticalLayout_2 = new QVBoxLayout();
fd6eb3a1759d license
eldar
parents:
diff changeset
60 verticalLayout_2.setObjectName("verticalLayout_2"));
fd6eb3a1759d license
eldar
parents:
diff changeset
61 fileNameLabel = new SqueezeLabel(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
62 fileNameLabel.setObjectName("fileNameLabel"));
fd6eb3a1759d license
eldar
parents:
diff changeset
63 QSizePolicy sizePolicy1(QSizePolicy.Expanding, QSizePolicy.Preferred);
fd6eb3a1759d license
eldar
parents:
diff changeset
64 sizePolicy1.setHorizontalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
65 sizePolicy1.setVerticalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
66 sizePolicy1.setHeightForWidth(fileNameLabel.sizePolicy().hasHeightForWidth());
fd6eb3a1759d license
eldar
parents:
diff changeset
67 fileNameLabel.setSizePolicy(sizePolicy1);
fd6eb3a1759d license
eldar
parents:
diff changeset
68
fd6eb3a1759d license
eldar
parents:
diff changeset
69 verticalLayout_2.addWidget(fileNameLabel);
fd6eb3a1759d license
eldar
parents:
diff changeset
70
fd6eb3a1759d license
eldar
parents:
diff changeset
71 progressBar = new QProgressBar(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
72 progressBar.setObjectName("progressBar");
fd6eb3a1759d license
eldar
parents:
diff changeset
73 progressBar.setValue(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
74
fd6eb3a1759d license
eldar
parents:
diff changeset
75 verticalLayout_2.addWidget(progressBar);
fd6eb3a1759d license
eldar
parents:
diff changeset
76
fd6eb3a1759d license
eldar
parents:
diff changeset
77 downloadInfoLabel = new SqueezeLabel(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
78 downloadInfoLabel.setObjectName("downloadInfoLabel"));
fd6eb3a1759d license
eldar
parents:
diff changeset
79 QSizePolicy sizePolicy2(QSizePolicy.Minimum, QSizePolicy.Preferred);
fd6eb3a1759d license
eldar
parents:
diff changeset
80 sizePolicy2.setHorizontalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
81 sizePolicy2.setVerticalStretch(0);
fd6eb3a1759d license
eldar
parents:
diff changeset
82 sizePolicy2.setHeightForWidth(downloadInfoLabel.sizePolicy().hasHeightForWidth());
fd6eb3a1759d license
eldar
parents:
diff changeset
83 downloadInfoLabel.setSizePolicy(sizePolicy2);
fd6eb3a1759d license
eldar
parents:
diff changeset
84
fd6eb3a1759d license
eldar
parents:
diff changeset
85 verticalLayout_2.addWidget(downloadInfoLabel);
fd6eb3a1759d license
eldar
parents:
diff changeset
86
fd6eb3a1759d license
eldar
parents:
diff changeset
87
fd6eb3a1759d license
eldar
parents:
diff changeset
88 horizontalLayout.addLayout(verticalLayout_2);
fd6eb3a1759d license
eldar
parents:
diff changeset
89
fd6eb3a1759d license
eldar
parents:
diff changeset
90 verticalLayout = new QVBoxLayout();
fd6eb3a1759d license
eldar
parents:
diff changeset
91 verticalLayout.setObjectName("verticalLayout"));
fd6eb3a1759d license
eldar
parents:
diff changeset
92 verticalSpacer = new QSpacerItem(17, 1, QSizePolicy.Minimum, QSizePolicy.Expanding);
fd6eb3a1759d license
eldar
parents:
diff changeset
93
fd6eb3a1759d license
eldar
parents:
diff changeset
94 verticalLayout.addItem(verticalSpacer);
fd6eb3a1759d license
eldar
parents:
diff changeset
95
fd6eb3a1759d license
eldar
parents:
diff changeset
96 tryAgainButton = new QPushButton(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
97 tryAgainButton.setObjectName("tryAgainButton");
fd6eb3a1759d license
eldar
parents:
diff changeset
98 tryAgainButton.setEnabled(false);
fd6eb3a1759d license
eldar
parents:
diff changeset
99
fd6eb3a1759d license
eldar
parents:
diff changeset
100 verticalLayout.addWidget(tryAgainButton);
fd6eb3a1759d license
eldar
parents:
diff changeset
101
fd6eb3a1759d license
eldar
parents:
diff changeset
102 stopButton = new QPushButton(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
103 stopButton.setObjectName("stopButton");
fd6eb3a1759d license
eldar
parents:
diff changeset
104
fd6eb3a1759d license
eldar
parents:
diff changeset
105 verticalLayout.addWidget(stopButton);
fd6eb3a1759d license
eldar
parents:
diff changeset
106
fd6eb3a1759d license
eldar
parents:
diff changeset
107 openButton = new QPushButton(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
108 openButton.setObjectName("openButton");
fd6eb3a1759d license
eldar
parents:
diff changeset
109
fd6eb3a1759d license
eldar
parents:
diff changeset
110 verticalLayout.addWidget(openButton);
fd6eb3a1759d license
eldar
parents:
diff changeset
111
fd6eb3a1759d license
eldar
parents:
diff changeset
112 verticalSpacer_2 = new QSpacerItem(17, 5, QSizePolicy.Minimum, QSizePolicy.Expanding);
fd6eb3a1759d license
eldar
parents:
diff changeset
113
fd6eb3a1759d license
eldar
parents:
diff changeset
114 verticalLayout.addItem(verticalSpacer_2);
fd6eb3a1759d license
eldar
parents:
diff changeset
115
fd6eb3a1759d license
eldar
parents:
diff changeset
116
fd6eb3a1759d license
eldar
parents:
diff changeset
117 horizontalLayout.addLayout(verticalLayout);
fd6eb3a1759d license
eldar
parents:
diff changeset
118
fd6eb3a1759d license
eldar
parents:
diff changeset
119
fd6eb3a1759d license
eldar
parents:
diff changeset
120 retranslateUi(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
121
fd6eb3a1759d license
eldar
parents:
diff changeset
122 QMetaObject.connectSlotsByName(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
123 } // setupUi
fd6eb3a1759d license
eldar
parents:
diff changeset
124
fd6eb3a1759d license
eldar
parents:
diff changeset
125 void retranslateUi(QWidget DownloadItem)
fd6eb3a1759d license
eldar
parents:
diff changeset
126 {
fd6eb3a1759d license
eldar
parents:
diff changeset
127 DownloadItem.setWindowTitle(QApplication.translate("DownloadItem", "Form", 0, QApplication.UnicodeUTF8));
fd6eb3a1759d license
eldar
parents:
diff changeset
128 fileIcon.setText(QApplication.translate("DownloadItem", "Ico", 0, QApplication.UnicodeUTF8));
fd6eb3a1759d license
eldar
parents:
diff changeset
129 fileNameLabel.setProperty("text", QVariant(QApplication.translate("DownloadItem", "Filename", 0, QApplication.UnicodeUTF8)));
fd6eb3a1759d license
eldar
parents:
diff changeset
130 downloadInfoLabel.setProperty("text", QVariant(QString()));
fd6eb3a1759d license
eldar
parents:
diff changeset
131 tryAgainButton.setText(QApplication.translate("DownloadItem", "Try Again", 0, QApplication.UnicodeUTF8));
fd6eb3a1759d license
eldar
parents:
diff changeset
132 stopButton.setText(QApplication.translate("DownloadItem", "Stop", 0, QApplication.UnicodeUTF8));
fd6eb3a1759d license
eldar
parents:
diff changeset
133 openButton.setText(QApplication.translate("DownloadItem", "Open", 0, QApplication.UnicodeUTF8));
fd6eb3a1759d license
eldar
parents:
diff changeset
134 Q_UNUSED(DownloadItem);
fd6eb3a1759d license
eldar
parents:
diff changeset
135 } // retranslateUi
fd6eb3a1759d license
eldar
parents:
diff changeset
136
fd6eb3a1759d license
eldar
parents:
diff changeset
137 }
fd6eb3a1759d license
eldar
parents:
diff changeset
138
fd6eb3a1759d license
eldar
parents:
diff changeset
139
fd6eb3a1759d license
eldar
parents:
diff changeset
140 class DownloadItem: public Ui_DownloadItem {}