1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'addtorrentform.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_ADDTORRENTFORM_H |
10 | #define UI_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 *; |
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(str: "AddTorrentFile" )); |
60 | AddTorrentFile->resize(w: 464, h: 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(left: 8, top: 8, right: 8, bottom: 8); |
68 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
69 | groupBox = new QGroupBox(AddTorrentFile); |
70 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
71 | widget = new QWidget(groupBox); |
72 | widget->setObjectName(QString::fromUtf8(str: "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(left: 8, top: 8, right: 8, bottom: 8); |
79 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
80 | label_4 = new QLabel(groupBox); |
81 | label_4->setObjectName(QString::fromUtf8(str: "label_4" )); |
82 | |
83 | gridLayout->addWidget(label_4, row: 6, column: 0, rowSpan: 1, columnSpan: 1); |
84 | |
85 | torrentFile = new QLineEdit(groupBox); |
86 | torrentFile->setObjectName(QString::fromUtf8(str: "torrentFile" )); |
87 | |
88 | gridLayout->addWidget(torrentFile, row: 0, column: 1, rowSpan: 1, columnSpan: 2); |
89 | |
90 | label_2 = new QLabel(groupBox); |
91 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
92 | |
93 | gridLayout->addWidget(label_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
94 | |
95 | browseTorrents = new QPushButton(groupBox); |
96 | browseTorrents->setObjectName(QString::fromUtf8(str: "browseTorrents" )); |
97 | |
98 | gridLayout->addWidget(browseTorrents, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
99 | |
100 | label_5 = new QLabel(groupBox); |
101 | label_5->setObjectName(QString::fromUtf8(str: "label_5" )); |
102 | label_5->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop); |
103 | |
104 | gridLayout->addWidget(label_5, row: 5, column: 0, rowSpan: 1, columnSpan: 1); |
105 | |
106 | label_3 = new QLabel(groupBox); |
107 | label_3->setObjectName(QString::fromUtf8(str: "label_3" )); |
108 | |
109 | gridLayout->addWidget(label_3, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
110 | |
111 | label_6 = new QLabel(groupBox); |
112 | label_6->setObjectName(QString::fromUtf8(str: "label_6" )); |
113 | |
114 | gridLayout->addWidget(label_6, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
115 | |
116 | torrentContents = new QTextEdit(groupBox); |
117 | torrentContents->setObjectName(QString::fromUtf8(str: "torrentContents" )); |
118 | torrentContents->setFocusPolicy(Qt::NoFocus); |
119 | torrentContents->setTabChangesFocus(true); |
120 | torrentContents->setLineWrapMode(QTextEdit::NoWrap); |
121 | torrentContents->setReadOnly(true); |
122 | |
123 | gridLayout->addWidget(torrentContents, row: 5, column: 1, rowSpan: 1, columnSpan: 3); |
124 | |
125 | destinationFolder = new QLineEdit(groupBox); |
126 | destinationFolder->setObjectName(QString::fromUtf8(str: "destinationFolder" )); |
127 | destinationFolder->setFocusPolicy(Qt::StrongFocus); |
128 | |
129 | gridLayout->addWidget(destinationFolder, row: 6, column: 1, rowSpan: 1, columnSpan: 2); |
130 | |
131 | announceUrl = new QLabel(groupBox); |
132 | announceUrl->setObjectName(QString::fromUtf8(str: "announceUrl" )); |
133 | |
134 | gridLayout->addWidget(announceUrl, row: 1, column: 1, rowSpan: 1, columnSpan: 3); |
135 | |
136 | label = new QLabel(groupBox); |
137 | label->setObjectName(QString::fromUtf8(str: "label" )); |
138 | |
139 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
140 | |
141 | browseDestination = new QPushButton(groupBox); |
142 | browseDestination->setObjectName(QString::fromUtf8(str: "browseDestination" )); |
143 | |
144 | gridLayout->addWidget(browseDestination, row: 6, column: 3, rowSpan: 1, columnSpan: 1); |
145 | |
146 | label_7 = new QLabel(groupBox); |
147 | label_7->setObjectName(QString::fromUtf8(str: "label_7" )); |
148 | |
149 | gridLayout->addWidget(label_7, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
150 | |
151 | commentLabel = new QLabel(groupBox); |
152 | commentLabel->setObjectName(QString::fromUtf8(str: "commentLabel" )); |
153 | |
154 | gridLayout->addWidget(commentLabel, row: 3, column: 1, rowSpan: 1, columnSpan: 3); |
155 | |
156 | creatorLabel = new QLabel(groupBox); |
157 | creatorLabel->setObjectName(QString::fromUtf8(str: "creatorLabel" )); |
158 | |
159 | gridLayout->addWidget(creatorLabel, row: 2, column: 1, rowSpan: 1, columnSpan: 3); |
160 | |
161 | sizeLabel = new QLabel(groupBox); |
162 | sizeLabel->setObjectName(QString::fromUtf8(str: "sizeLabel" )); |
163 | |
164 | gridLayout->addWidget(sizeLabel, row: 4, column: 1, rowSpan: 1, columnSpan: 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(left: 0, top: 0, right: 0, bottom: 0); |
174 | hboxLayout->setObjectName(QString::fromUtf8(str: "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(str: "okButton" )); |
181 | okButton->setEnabled(false); |
182 | |
183 | hboxLayout->addWidget(okButton); |
184 | |
185 | cancelButton = new QPushButton(AddTorrentFile); |
186 | cancelButton->setObjectName(QString::fromUtf8(str: "cancelButton" )); |
187 | |
188 | hboxLayout->addWidget(cancelButton); |
189 | |
190 | |
191 | vboxLayout->addLayout(layout: 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(sender: okButton, SIGNAL(clicked()), receiver: AddTorrentFile, SLOT(accept())); |
202 | QObject::connect(sender: cancelButton, SIGNAL(clicked()), receiver: AddTorrentFile, SLOT(reject())); |
203 | |
204 | browseTorrents->setDefault(true); |
205 | |
206 | |
207 | QMetaObject::connectSlotsByName(o: AddTorrentFile); |
208 | } // setupUi |
209 | |
210 | void retranslateUi(QDialog *AddTorrentFile) |
211 | { |
212 | AddTorrentFile->setWindowTitle(QCoreApplication::translate(context: "AddTorrentFile" , key: "Add a torrent" , disambiguation: nullptr)); |
213 | groupBox->setTitle(QCoreApplication::translate(context: "AddTorrentFile" , key: "Select a torrent source" , disambiguation: nullptr)); |
214 | label_4->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Destination:" , disambiguation: nullptr)); |
215 | label_2->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Tracker URL:" , disambiguation: nullptr)); |
216 | browseTorrents->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Browse" , disambiguation: nullptr)); |
217 | label_5->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "File(s):" , disambiguation: nullptr)); |
218 | label_3->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Size:" , disambiguation: nullptr)); |
219 | label_6->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Creator:" , disambiguation: nullptr)); |
220 | announceUrl->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "<none>" , disambiguation: nullptr)); |
221 | label->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Torrent file:" , disambiguation: nullptr)); |
222 | browseDestination->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Browse" , disambiguation: nullptr)); |
223 | label_7->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "Comment:" , disambiguation: nullptr)); |
224 | commentLabel->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "<none>" , disambiguation: nullptr)); |
225 | creatorLabel->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "<none>" , disambiguation: nullptr)); |
226 | sizeLabel->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "0" , disambiguation: nullptr)); |
227 | okButton->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "&OK" , disambiguation: nullptr)); |
228 | cancelButton->setText(QCoreApplication::translate(context: "AddTorrentFile" , key: "&Cancel" , disambiguation: 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 // UI_ADDTORRENTFORM_H |
240 | |