Debian Codegraph @

tests/auto/tools/uic/baseline/addtorrentform.ui.h

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