|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'addtorrentform.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:12 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 ADDTORRENTFORM_H |
|
11 #define ADDTORRENTFORM_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QDialog> |
|
18 #include <QtGui/QGridLayout> |
|
19 #include <QtGui/QGroupBox> |
|
20 #include <QtGui/QHBoxLayout> |
|
21 #include <QtGui/QHeaderView> |
|
22 #include <QtGui/QLabel> |
|
23 #include <QtGui/QLineEdit> |
|
24 #include <QtGui/QPushButton> |
|
25 #include <QtGui/QSpacerItem> |
|
26 #include <QtGui/QTextEdit> |
|
27 #include <QtGui/QVBoxLayout> |
|
28 #include <QtGui/QWidget> |
|
29 |
|
30 QT_BEGIN_NAMESPACE |
|
31 |
|
32 class Ui_AddTorrentFile |
|
33 { |
|
34 public: |
|
35 QVBoxLayout *vboxLayout; |
|
36 QGroupBox *groupBox; |
|
37 QWidget *widget; |
|
38 QGridLayout *gridLayout; |
|
39 QLabel *label_4; |
|
40 QLineEdit *torrentFile; |
|
41 QLabel *label_2; |
|
42 QPushButton *browseTorrents; |
|
43 QLabel *label_5; |
|
44 QLabel *label_3; |
|
45 QLabel *label_6; |
|
46 QTextEdit *torrentContents; |
|
47 QLineEdit *destinationFolder; |
|
48 QLabel *announceUrl; |
|
49 QLabel *label; |
|
50 QPushButton *browseDestination; |
|
51 QLabel *label_7; |
|
52 QLabel *commentLabel; |
|
53 QLabel *creatorLabel; |
|
54 QLabel *sizeLabel; |
|
55 QHBoxLayout *hboxLayout; |
|
56 QSpacerItem *spacerItem; |
|
57 QPushButton *okButton; |
|
58 QPushButton *cancelButton; |
|
59 |
|
60 void setupUi(QDialog *AddTorrentFile) |
|
61 { |
|
62 if (AddTorrentFile->objectName().isEmpty()) |
|
63 AddTorrentFile->setObjectName(QString::fromUtf8("AddTorrentFile")); |
|
64 AddTorrentFile->resize(464, 385); |
|
65 AddTorrentFile->setSizeGripEnabled(false); |
|
66 AddTorrentFile->setModal(true); |
|
67 vboxLayout = new QVBoxLayout(AddTorrentFile); |
|
68 #ifndef Q_OS_MAC |
|
69 vboxLayout->setSpacing(6); |
|
70 #endif |
|
71 vboxLayout->setContentsMargins(8, 8, 8, 8); |
|
72 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
73 groupBox = new QGroupBox(AddTorrentFile); |
|
74 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
75 widget = new QWidget(groupBox); |
|
76 widget->setObjectName(QString::fromUtf8("widget")); |
|
77 widget->setGeometry(QRect(10, 40, 364, 33)); |
|
78 gridLayout = new QGridLayout(groupBox); |
|
79 #ifndef Q_OS_MAC |
|
80 gridLayout->setSpacing(6); |
|
81 #endif |
|
82 gridLayout->setContentsMargins(8, 8, 8, 8); |
|
83 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
84 label_4 = new QLabel(groupBox); |
|
85 label_4->setObjectName(QString::fromUtf8("label_4")); |
|
86 |
|
87 gridLayout->addWidget(label_4, 6, 0, 1, 1); |
|
88 |
|
89 torrentFile = new QLineEdit(groupBox); |
|
90 torrentFile->setObjectName(QString::fromUtf8("torrentFile")); |
|
91 |
|
92 gridLayout->addWidget(torrentFile, 0, 1, 1, 2); |
|
93 |
|
94 label_2 = new QLabel(groupBox); |
|
95 label_2->setObjectName(QString::fromUtf8("label_2")); |
|
96 |
|
97 gridLayout->addWidget(label_2, 1, 0, 1, 1); |
|
98 |
|
99 browseTorrents = new QPushButton(groupBox); |
|
100 browseTorrents->setObjectName(QString::fromUtf8("browseTorrents")); |
|
101 browseTorrents->setDefault(true); |
|
102 |
|
103 gridLayout->addWidget(browseTorrents, 0, 3, 1, 1); |
|
104 |
|
105 label_5 = new QLabel(groupBox); |
|
106 label_5->setObjectName(QString::fromUtf8("label_5")); |
|
107 label_5->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop); |
|
108 |
|
109 gridLayout->addWidget(label_5, 5, 0, 1, 1); |
|
110 |
|
111 label_3 = new QLabel(groupBox); |
|
112 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
113 |
|
114 gridLayout->addWidget(label_3, 4, 0, 1, 1); |
|
115 |
|
116 label_6 = new QLabel(groupBox); |
|
117 label_6->setObjectName(QString::fromUtf8("label_6")); |
|
118 |
|
119 gridLayout->addWidget(label_6, 2, 0, 1, 1); |
|
120 |
|
121 torrentContents = new QTextEdit(groupBox); |
|
122 torrentContents->setObjectName(QString::fromUtf8("torrentContents")); |
|
123 torrentContents->setFocusPolicy(Qt::NoFocus); |
|
124 torrentContents->setTabChangesFocus(true); |
|
125 torrentContents->setLineWrapMode(QTextEdit::NoWrap); |
|
126 torrentContents->setReadOnly(true); |
|
127 |
|
128 gridLayout->addWidget(torrentContents, 5, 1, 1, 3); |
|
129 |
|
130 destinationFolder = new QLineEdit(groupBox); |
|
131 destinationFolder->setObjectName(QString::fromUtf8("destinationFolder")); |
|
132 destinationFolder->setFocusPolicy(Qt::StrongFocus); |
|
133 |
|
134 gridLayout->addWidget(destinationFolder, 6, 1, 1, 2); |
|
135 |
|
136 announceUrl = new QLabel(groupBox); |
|
137 announceUrl->setObjectName(QString::fromUtf8("announceUrl")); |
|
138 |
|
139 gridLayout->addWidget(announceUrl, 1, 1, 1, 3); |
|
140 |
|
141 label = new QLabel(groupBox); |
|
142 label->setObjectName(QString::fromUtf8("label")); |
|
143 |
|
144 gridLayout->addWidget(label, 0, 0, 1, 1); |
|
145 |
|
146 browseDestination = new QPushButton(groupBox); |
|
147 browseDestination->setObjectName(QString::fromUtf8("browseDestination")); |
|
148 |
|
149 gridLayout->addWidget(browseDestination, 6, 3, 1, 1); |
|
150 |
|
151 label_7 = new QLabel(groupBox); |
|
152 label_7->setObjectName(QString::fromUtf8("label_7")); |
|
153 |
|
154 gridLayout->addWidget(label_7, 3, 0, 1, 1); |
|
155 |
|
156 commentLabel = new QLabel(groupBox); |
|
157 commentLabel->setObjectName(QString::fromUtf8("commentLabel")); |
|
158 |
|
159 gridLayout->addWidget(commentLabel, 3, 1, 1, 3); |
|
160 |
|
161 creatorLabel = new QLabel(groupBox); |
|
162 creatorLabel->setObjectName(QString::fromUtf8("creatorLabel")); |
|
163 |
|
164 gridLayout->addWidget(creatorLabel, 2, 1, 1, 3); |
|
165 |
|
166 sizeLabel = new QLabel(groupBox); |
|
167 sizeLabel->setObjectName(QString::fromUtf8("sizeLabel")); |
|
168 |
|
169 gridLayout->addWidget(sizeLabel, 4, 1, 1, 3); |
|
170 |
|
171 |
|
172 vboxLayout->addWidget(groupBox); |
|
173 |
|
174 hboxLayout = new QHBoxLayout(); |
|
175 #ifndef Q_OS_MAC |
|
176 hboxLayout->setSpacing(6); |
|
177 #endif |
|
178 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
179 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
180 spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
181 |
|
182 hboxLayout->addItem(spacerItem); |
|
183 |
|
184 okButton = new QPushButton(AddTorrentFile); |
|
185 okButton->setObjectName(QString::fromUtf8("okButton")); |
|
186 okButton->setEnabled(false); |
|
187 |
|
188 hboxLayout->addWidget(okButton); |
|
189 |
|
190 cancelButton = new QPushButton(AddTorrentFile); |
|
191 cancelButton->setObjectName(QString::fromUtf8("cancelButton")); |
|
192 |
|
193 hboxLayout->addWidget(cancelButton); |
|
194 |
|
195 |
|
196 vboxLayout->addLayout(hboxLayout); |
|
197 |
|
198 QWidget::setTabOrder(torrentFile, browseTorrents); |
|
199 QWidget::setTabOrder(browseTorrents, torrentContents); |
|
200 QWidget::setTabOrder(torrentContents, destinationFolder); |
|
201 QWidget::setTabOrder(destinationFolder, browseDestination); |
|
202 QWidget::setTabOrder(browseDestination, okButton); |
|
203 QWidget::setTabOrder(okButton, cancelButton); |
|
204 |
|
205 retranslateUi(AddTorrentFile); |
|
206 QObject::connect(okButton, SIGNAL(clicked()), AddTorrentFile, SLOT(accept())); |
|
207 QObject::connect(cancelButton, SIGNAL(clicked()), AddTorrentFile, SLOT(reject())); |
|
208 |
|
209 QMetaObject::connectSlotsByName(AddTorrentFile); |
|
210 } // setupUi |
|
211 |
|
212 void retranslateUi(QDialog *AddTorrentFile) |
|
213 { |
|
214 AddTorrentFile->setWindowTitle(QApplication::translate("AddTorrentFile", "Add a torrent", 0, QApplication::UnicodeUTF8)); |
|
215 groupBox->setTitle(QApplication::translate("AddTorrentFile", "Select a torrent source", 0, QApplication::UnicodeUTF8)); |
|
216 label_4->setText(QApplication::translate("AddTorrentFile", "Destination:", 0, QApplication::UnicodeUTF8)); |
|
217 label_2->setText(QApplication::translate("AddTorrentFile", "Tracker URL:", 0, QApplication::UnicodeUTF8)); |
|
218 browseTorrents->setText(QApplication::translate("AddTorrentFile", "Browse", 0, QApplication::UnicodeUTF8)); |
|
219 label_5->setText(QApplication::translate("AddTorrentFile", "File(s):", 0, QApplication::UnicodeUTF8)); |
|
220 label_3->setText(QApplication::translate("AddTorrentFile", "Size:", 0, QApplication::UnicodeUTF8)); |
|
221 label_6->setText(QApplication::translate("AddTorrentFile", "Creator:", 0, QApplication::UnicodeUTF8)); |
|
222 announceUrl->setText(QApplication::translate("AddTorrentFile", "<none>", 0, QApplication::UnicodeUTF8)); |
|
223 label->setText(QApplication::translate("AddTorrentFile", "Torrent file:", 0, QApplication::UnicodeUTF8)); |
|
224 browseDestination->setText(QApplication::translate("AddTorrentFile", "Browse", 0, QApplication::UnicodeUTF8)); |
|
225 label_7->setText(QApplication::translate("AddTorrentFile", "Comment:", 0, QApplication::UnicodeUTF8)); |
|
226 commentLabel->setText(QApplication::translate("AddTorrentFile", "<none>", 0, QApplication::UnicodeUTF8)); |
|
227 creatorLabel->setText(QApplication::translate("AddTorrentFile", "<none>", 0, QApplication::UnicodeUTF8)); |
|
228 sizeLabel->setText(QApplication::translate("AddTorrentFile", "0", 0, QApplication::UnicodeUTF8)); |
|
229 okButton->setText(QApplication::translate("AddTorrentFile", "&OK", 0, QApplication::UnicodeUTF8)); |
|
230 cancelButton->setText(QApplication::translate("AddTorrentFile", "&Cancel", 0, QApplication::UnicodeUTF8)); |
|
231 } // retranslateUi |
|
232 |
|
233 }; |
|
234 |
|
235 namespace Ui { |
|
236 class AddTorrentFile: public Ui_AddTorrentFile {}; |
|
237 } // namespace Ui |
|
238 |
|
239 QT_END_NAMESPACE |
|
240 |
|
241 #endif // ADDTORRENTFORM_H |