Line data Source code
1 : /********************************************************************************
2 : ** Form generated from reading UI file 'signverifymessagedialog.ui'
3 : **
4 : ** Created by: Qt User Interface Compiler version 5.15.0
5 : **
6 : ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 : ********************************************************************************/
8 :
9 : #ifndef UI_SIGNVERIFYMESSAGEDIALOG_H
10 : #define UI_SIGNVERIFYMESSAGEDIALOG_H
11 :
12 : #include <QtCore/QVariant>
13 : #include <QtGui/QIcon>
14 : #include <QtWidgets/QApplication>
15 : #include <QtWidgets/QDialog>
16 : #include <QtWidgets/QHBoxLayout>
17 : #include <QtWidgets/QLabel>
18 : #include <QtWidgets/QLineEdit>
19 : #include <QtWidgets/QPlainTextEdit>
20 : #include <QtWidgets/QPushButton>
21 : #include <QtWidgets/QSpacerItem>
22 : #include <QtWidgets/QTabWidget>
23 : #include <QtWidgets/QVBoxLayout>
24 : #include <QtWidgets/QWidget>
25 : #include "qt/qvalidatedlineedit.h"
26 :
27 : QT_BEGIN_NAMESPACE
28 :
29 : class Ui_SignVerifyMessageDialog
30 : {
31 : public:
32 : QVBoxLayout *verticalLayout;
33 : QTabWidget *tabWidget;
34 : QWidget *tabSignMessage;
35 : QVBoxLayout *verticalLayout_SM;
36 : QLabel *infoLabel_SM;
37 : QHBoxLayout *horizontalLayout_1_SM;
38 : QValidatedLineEdit *addressIn_SM;
39 : QPushButton *addressBookButton_SM;
40 : QPushButton *pasteButton_SM;
41 : QPlainTextEdit *messageIn_SM;
42 : QLabel *signatureLabel_SM;
43 : QHBoxLayout *horizontalLayout_2_SM;
44 : QLineEdit *signatureOut_SM;
45 : QPushButton *copySignatureButton_SM;
46 : QHBoxLayout *horizontalLayout_3_SM;
47 : QPushButton *signMessageButton_SM;
48 : QPushButton *clearButton_SM;
49 : QSpacerItem *horizontalSpacer_1_SM;
50 : QLabel *statusLabel_SM;
51 : QSpacerItem *horizontalSpacer_2_SM;
52 : QWidget *tabVerifyMessage;
53 : QVBoxLayout *verticalLayout_VM;
54 : QLabel *infoLabel_VM;
55 : QHBoxLayout *horizontalLayout_1_VM;
56 : QValidatedLineEdit *addressIn_VM;
57 : QPushButton *addressBookButton_VM;
58 : QPlainTextEdit *messageIn_VM;
59 : QValidatedLineEdit *signatureIn_VM;
60 : QHBoxLayout *horizontalLayout_2_VM;
61 : QPushButton *verifyMessageButton_VM;
62 : QPushButton *clearButton_VM;
63 : QSpacerItem *horizontalSpacer_1_VM;
64 : QLabel *statusLabel_VM;
65 : QSpacerItem *horizontalSpacer_2_VM;
66 :
67 0 : void setupUi(QDialog *SignVerifyMessageDialog)
68 : {
69 0 : if (SignVerifyMessageDialog->objectName().isEmpty())
70 0 : SignVerifyMessageDialog->setObjectName(QString::fromUtf8("SignVerifyMessageDialog"));
71 0 : SignVerifyMessageDialog->resize(700, 380);
72 0 : SignVerifyMessageDialog->setModal(true);
73 0 : verticalLayout = new QVBoxLayout(SignVerifyMessageDialog);
74 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
75 0 : tabWidget = new QTabWidget(SignVerifyMessageDialog);
76 0 : tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
77 0 : tabSignMessage = new QWidget();
78 0 : tabSignMessage->setObjectName(QString::fromUtf8("tabSignMessage"));
79 0 : verticalLayout_SM = new QVBoxLayout(tabSignMessage);
80 0 : verticalLayout_SM->setObjectName(QString::fromUtf8("verticalLayout_SM"));
81 0 : infoLabel_SM = new QLabel(tabSignMessage);
82 0 : infoLabel_SM->setObjectName(QString::fromUtf8("infoLabel_SM"));
83 0 : infoLabel_SM->setTextFormat(Qt::PlainText);
84 0 : infoLabel_SM->setWordWrap(true);
85 :
86 0 : verticalLayout_SM->addWidget(infoLabel_SM);
87 :
88 0 : horizontalLayout_1_SM = new QHBoxLayout();
89 0 : horizontalLayout_1_SM->setSpacing(0);
90 0 : horizontalLayout_1_SM->setObjectName(QString::fromUtf8("horizontalLayout_1_SM"));
91 0 : addressIn_SM = new QValidatedLineEdit(tabSignMessage);
92 0 : addressIn_SM->setObjectName(QString::fromUtf8("addressIn_SM"));
93 :
94 0 : horizontalLayout_1_SM->addWidget(addressIn_SM);
95 :
96 0 : addressBookButton_SM = new QPushButton(tabSignMessage);
97 0 : addressBookButton_SM->setObjectName(QString::fromUtf8("addressBookButton_SM"));
98 0 : QIcon icon;
99 0 : icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
100 0 : addressBookButton_SM->setIcon(icon);
101 0 : addressBookButton_SM->setAutoDefault(false);
102 :
103 0 : horizontalLayout_1_SM->addWidget(addressBookButton_SM);
104 :
105 0 : pasteButton_SM = new QPushButton(tabSignMessage);
106 0 : pasteButton_SM->setObjectName(QString::fromUtf8("pasteButton_SM"));
107 0 : QIcon icon1;
108 0 : icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
109 0 : pasteButton_SM->setIcon(icon1);
110 0 : pasteButton_SM->setAutoDefault(false);
111 :
112 0 : horizontalLayout_1_SM->addWidget(pasteButton_SM);
113 :
114 :
115 0 : verticalLayout_SM->addLayout(horizontalLayout_1_SM);
116 :
117 0 : messageIn_SM = new QPlainTextEdit(tabSignMessage);
118 0 : messageIn_SM->setObjectName(QString::fromUtf8("messageIn_SM"));
119 :
120 0 : verticalLayout_SM->addWidget(messageIn_SM);
121 :
122 0 : signatureLabel_SM = new QLabel(tabSignMessage);
123 0 : signatureLabel_SM->setObjectName(QString::fromUtf8("signatureLabel_SM"));
124 0 : signatureLabel_SM->setTextFormat(Qt::PlainText);
125 :
126 0 : verticalLayout_SM->addWidget(signatureLabel_SM);
127 :
128 0 : horizontalLayout_2_SM = new QHBoxLayout();
129 0 : horizontalLayout_2_SM->setSpacing(0);
130 0 : horizontalLayout_2_SM->setObjectName(QString::fromUtf8("horizontalLayout_2_SM"));
131 0 : signatureOut_SM = new QLineEdit(tabSignMessage);
132 0 : signatureOut_SM->setObjectName(QString::fromUtf8("signatureOut_SM"));
133 0 : QFont font;
134 0 : font.setItalic(true);
135 0 : signatureOut_SM->setFont(font);
136 0 : signatureOut_SM->setReadOnly(true);
137 :
138 0 : horizontalLayout_2_SM->addWidget(signatureOut_SM);
139 :
140 0 : copySignatureButton_SM = new QPushButton(tabSignMessage);
141 0 : copySignatureButton_SM->setObjectName(QString::fromUtf8("copySignatureButton_SM"));
142 0 : QIcon icon2;
143 0 : icon2.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
144 0 : copySignatureButton_SM->setIcon(icon2);
145 0 : copySignatureButton_SM->setAutoDefault(false);
146 :
147 0 : horizontalLayout_2_SM->addWidget(copySignatureButton_SM);
148 :
149 :
150 0 : verticalLayout_SM->addLayout(horizontalLayout_2_SM);
151 :
152 0 : horizontalLayout_3_SM = new QHBoxLayout();
153 0 : horizontalLayout_3_SM->setObjectName(QString::fromUtf8("horizontalLayout_3_SM"));
154 0 : signMessageButton_SM = new QPushButton(tabSignMessage);
155 0 : signMessageButton_SM->setObjectName(QString::fromUtf8("signMessageButton_SM"));
156 0 : QIcon icon3;
157 0 : icon3.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
158 0 : signMessageButton_SM->setIcon(icon3);
159 0 : signMessageButton_SM->setAutoDefault(false);
160 :
161 0 : horizontalLayout_3_SM->addWidget(signMessageButton_SM);
162 :
163 0 : clearButton_SM = new QPushButton(tabSignMessage);
164 0 : clearButton_SM->setObjectName(QString::fromUtf8("clearButton_SM"));
165 0 : QIcon icon4;
166 0 : icon4.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
167 0 : clearButton_SM->setIcon(icon4);
168 0 : clearButton_SM->setAutoDefault(false);
169 :
170 0 : horizontalLayout_3_SM->addWidget(clearButton_SM);
171 :
172 0 : horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
173 :
174 0 : horizontalLayout_3_SM->addItem(horizontalSpacer_1_SM);
175 :
176 0 : statusLabel_SM = new QLabel(tabSignMessage);
177 0 : statusLabel_SM->setObjectName(QString::fromUtf8("statusLabel_SM"));
178 0 : QFont font1;
179 0 : font1.setBold(true);
180 0 : font1.setWeight(75);
181 0 : statusLabel_SM->setFont(font1);
182 0 : statusLabel_SM->setWordWrap(true);
183 :
184 0 : horizontalLayout_3_SM->addWidget(statusLabel_SM);
185 :
186 0 : horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
187 :
188 0 : horizontalLayout_3_SM->addItem(horizontalSpacer_2_SM);
189 :
190 :
191 0 : verticalLayout_SM->addLayout(horizontalLayout_3_SM);
192 :
193 0 : tabWidget->addTab(tabSignMessage, QString());
194 0 : tabVerifyMessage = new QWidget();
195 0 : tabVerifyMessage->setObjectName(QString::fromUtf8("tabVerifyMessage"));
196 0 : verticalLayout_VM = new QVBoxLayout(tabVerifyMessage);
197 0 : verticalLayout_VM->setObjectName(QString::fromUtf8("verticalLayout_VM"));
198 0 : infoLabel_VM = new QLabel(tabVerifyMessage);
199 0 : infoLabel_VM->setObjectName(QString::fromUtf8("infoLabel_VM"));
200 0 : infoLabel_VM->setTextFormat(Qt::PlainText);
201 0 : infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
202 0 : infoLabel_VM->setWordWrap(true);
203 :
204 0 : verticalLayout_VM->addWidget(infoLabel_VM);
205 :
206 0 : horizontalLayout_1_VM = new QHBoxLayout();
207 0 : horizontalLayout_1_VM->setSpacing(0);
208 0 : horizontalLayout_1_VM->setObjectName(QString::fromUtf8("horizontalLayout_1_VM"));
209 0 : addressIn_VM = new QValidatedLineEdit(tabVerifyMessage);
210 0 : addressIn_VM->setObjectName(QString::fromUtf8("addressIn_VM"));
211 :
212 0 : horizontalLayout_1_VM->addWidget(addressIn_VM);
213 :
214 0 : addressBookButton_VM = new QPushButton(tabVerifyMessage);
215 0 : addressBookButton_VM->setObjectName(QString::fromUtf8("addressBookButton_VM"));
216 0 : addressBookButton_VM->setIcon(icon);
217 0 : addressBookButton_VM->setAutoDefault(false);
218 :
219 0 : horizontalLayout_1_VM->addWidget(addressBookButton_VM);
220 :
221 :
222 0 : verticalLayout_VM->addLayout(horizontalLayout_1_VM);
223 :
224 0 : messageIn_VM = new QPlainTextEdit(tabVerifyMessage);
225 0 : messageIn_VM->setObjectName(QString::fromUtf8("messageIn_VM"));
226 :
227 0 : verticalLayout_VM->addWidget(messageIn_VM);
228 :
229 0 : signatureIn_VM = new QValidatedLineEdit(tabVerifyMessage);
230 0 : signatureIn_VM->setObjectName(QString::fromUtf8("signatureIn_VM"));
231 :
232 0 : verticalLayout_VM->addWidget(signatureIn_VM);
233 :
234 0 : horizontalLayout_2_VM = new QHBoxLayout();
235 0 : horizontalLayout_2_VM->setObjectName(QString::fromUtf8("horizontalLayout_2_VM"));
236 0 : verifyMessageButton_VM = new QPushButton(tabVerifyMessage);
237 0 : verifyMessageButton_VM->setObjectName(QString::fromUtf8("verifyMessageButton_VM"));
238 0 : QIcon icon5;
239 0 : icon5.addFile(QString::fromUtf8(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off);
240 0 : verifyMessageButton_VM->setIcon(icon5);
241 0 : verifyMessageButton_VM->setAutoDefault(false);
242 :
243 0 : horizontalLayout_2_VM->addWidget(verifyMessageButton_VM);
244 :
245 0 : clearButton_VM = new QPushButton(tabVerifyMessage);
246 0 : clearButton_VM->setObjectName(QString::fromUtf8("clearButton_VM"));
247 0 : clearButton_VM->setIcon(icon4);
248 0 : clearButton_VM->setAutoDefault(false);
249 :
250 0 : horizontalLayout_2_VM->addWidget(clearButton_VM);
251 :
252 0 : horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
253 :
254 0 : horizontalLayout_2_VM->addItem(horizontalSpacer_1_VM);
255 :
256 0 : statusLabel_VM = new QLabel(tabVerifyMessage);
257 0 : statusLabel_VM->setObjectName(QString::fromUtf8("statusLabel_VM"));
258 0 : statusLabel_VM->setFont(font1);
259 0 : statusLabel_VM->setWordWrap(true);
260 :
261 0 : horizontalLayout_2_VM->addWidget(statusLabel_VM);
262 :
263 0 : horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
264 :
265 0 : horizontalLayout_2_VM->addItem(horizontalSpacer_2_VM);
266 :
267 :
268 0 : verticalLayout_VM->addLayout(horizontalLayout_2_VM);
269 :
270 0 : tabWidget->addTab(tabVerifyMessage, QString());
271 :
272 0 : verticalLayout->addWidget(tabWidget);
273 :
274 :
275 0 : retranslateUi(SignVerifyMessageDialog);
276 :
277 0 : tabWidget->setCurrentIndex(0);
278 :
279 :
280 0 : QMetaObject::connectSlotsByName(SignVerifyMessageDialog);
281 0 : } // setupUi
282 :
283 0 : void retranslateUi(QDialog *SignVerifyMessageDialog)
284 : {
285 0 : SignVerifyMessageDialog->setWindowTitle(QCoreApplication::translate("SignVerifyMessageDialog", "Signatures - Sign / Verify a Message", nullptr));
286 0 : infoLabel_SM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "You can sign messages/agreements with your addresses to prove you can receive bitcoins sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.", nullptr));
287 : #if QT_CONFIG(tooltip)
288 0 : addressIn_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "The Bitcoin address to sign the message with", nullptr));
289 : #endif // QT_CONFIG(tooltip)
290 : #if QT_CONFIG(tooltip)
291 0 : addressBookButton_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Choose previously used address", nullptr));
292 : #endif // QT_CONFIG(tooltip)
293 0 : addressBookButton_SM->setText(QString());
294 : #if QT_CONFIG(shortcut)
295 0 : addressBookButton_SM->setShortcut(QCoreApplication::translate("SignVerifyMessageDialog", "Alt+A", nullptr));
296 : #endif // QT_CONFIG(shortcut)
297 : #if QT_CONFIG(tooltip)
298 0 : pasteButton_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Paste address from clipboard", nullptr));
299 : #endif // QT_CONFIG(tooltip)
300 0 : pasteButton_SM->setText(QString());
301 : #if QT_CONFIG(shortcut)
302 0 : pasteButton_SM->setShortcut(QCoreApplication::translate("SignVerifyMessageDialog", "Alt+P", nullptr));
303 : #endif // QT_CONFIG(shortcut)
304 : #if QT_CONFIG(tooltip)
305 0 : messageIn_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", nullptr));
306 : #endif // QT_CONFIG(tooltip)
307 0 : messageIn_SM->setPlaceholderText(QCoreApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", nullptr));
308 0 : signatureLabel_SM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Signature", nullptr));
309 0 : signatureOut_SM->setPlaceholderText(QCoreApplication::translate("SignVerifyMessageDialog", "Click \"Sign Message\" to generate signature", nullptr));
310 : #if QT_CONFIG(tooltip)
311 0 : copySignatureButton_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Copy the current signature to the system clipboard", nullptr));
312 : #endif // QT_CONFIG(tooltip)
313 0 : copySignatureButton_SM->setText(QString());
314 : #if QT_CONFIG(tooltip)
315 0 : signMessageButton_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Sign the message to prove you own this Bitcoin address", nullptr));
316 : #endif // QT_CONFIG(tooltip)
317 0 : signMessageButton_SM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Sign &Message", nullptr));
318 : #if QT_CONFIG(tooltip)
319 0 : clearButton_SM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Reset all sign message fields", nullptr));
320 : #endif // QT_CONFIG(tooltip)
321 0 : clearButton_SM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Clear &All", nullptr));
322 0 : statusLabel_SM->setText(QString());
323 0 : tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QCoreApplication::translate("SignVerifyMessageDialog", "&Sign Message", nullptr));
324 0 : infoLabel_VM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Enter the receiver's address, message (ensure you copy line breaks, spaces, tabs, etc. exactly) and signature below to verify the message. Be careful not to read more into the signature than what is in the signed message itself, to avoid being tricked by a man-in-the-middle attack. Note that this only proves the signing party receives with the address, it cannot prove sendership of any transaction!", nullptr));
325 : #if QT_CONFIG(tooltip)
326 0 : addressIn_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "The Bitcoin address the message was signed with", nullptr));
327 : #endif // QT_CONFIG(tooltip)
328 : #if QT_CONFIG(tooltip)
329 0 : addressBookButton_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Choose previously used address", nullptr));
330 : #endif // QT_CONFIG(tooltip)
331 0 : addressBookButton_VM->setText(QString());
332 : #if QT_CONFIG(shortcut)
333 0 : addressBookButton_VM->setShortcut(QCoreApplication::translate("SignVerifyMessageDialog", "Alt+A", nullptr));
334 : #endif // QT_CONFIG(shortcut)
335 : #if QT_CONFIG(tooltip)
336 0 : messageIn_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "The signed message to verify", nullptr));
337 : #endif // QT_CONFIG(tooltip)
338 0 : messageIn_VM->setPlaceholderText(QCoreApplication::translate("SignVerifyMessageDialog", "The signed message to verify", nullptr));
339 : #if QT_CONFIG(tooltip)
340 0 : signatureIn_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "The signature given when the message was signed", nullptr));
341 : #endif // QT_CONFIG(tooltip)
342 0 : signatureIn_VM->setPlaceholderText(QCoreApplication::translate("SignVerifyMessageDialog", "The signature given when the message was signed", nullptr));
343 : #if QT_CONFIG(tooltip)
344 0 : verifyMessageButton_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Verify the message to ensure it was signed with the specified Bitcoin address", nullptr));
345 : #endif // QT_CONFIG(tooltip)
346 0 : verifyMessageButton_VM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Verify &Message", nullptr));
347 : #if QT_CONFIG(tooltip)
348 0 : clearButton_VM->setToolTip(QCoreApplication::translate("SignVerifyMessageDialog", "Reset all verify message fields", nullptr));
349 : #endif // QT_CONFIG(tooltip)
350 0 : clearButton_VM->setText(QCoreApplication::translate("SignVerifyMessageDialog", "Clear &All", nullptr));
351 0 : statusLabel_VM->setText(QString());
352 0 : tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QCoreApplication::translate("SignVerifyMessageDialog", "&Verify Message", nullptr));
353 0 : } // retranslateUi
354 :
355 : };
356 :
357 : namespace Ui {
358 : class SignVerifyMessageDialog: public Ui_SignVerifyMessageDialog {};
359 : } // namespace Ui
360 :
361 : QT_END_NAMESPACE
362 :
363 : #endif // UI_SIGNVERIFYMESSAGEDIALOG_H
|