9#ifndef UI_SIGNVERIFYMESSAGEDIALOG_H
10#define UI_SIGNVERIFYMESSAGEDIALOG_H
12#include <QtCore/QVariant>
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>
74 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
76 tabWidget->setObjectName(QString::fromUtf8(
"tabWidget"));
78 tabSignMessage->setObjectName(QString::fromUtf8(
"tabSignMessage"));
82 infoLabel_SM->setObjectName(QString::fromUtf8(
"infoLabel_SM"));
92 addressIn_SM->setObjectName(QString::fromUtf8(
"addressIn_SM"));
99 icon.addFile(QString::fromUtf8(
":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
106 pasteButton_SM->setObjectName(QString::fromUtf8(
"pasteButton_SM"));
108 icon1.addFile(QString::fromUtf8(
":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
118 messageIn_SM->setObjectName(QString::fromUtf8(
"messageIn_SM"));
134 font.setItalic(
true);
143 icon2.addFile(QString::fromUtf8(
":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
157 icon3.addFile(QString::fromUtf8(
":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
164 clearButton_SM->setObjectName(QString::fromUtf8(
"clearButton_SM"));
166 icon4.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
177 statusLabel_SM->setObjectName(QString::fromUtf8(
"statusLabel_SM"));
199 infoLabel_VM->setObjectName(QString::fromUtf8(
"infoLabel_VM"));
201 infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
210 addressIn_VM->setObjectName(QString::fromUtf8(
"addressIn_VM"));
225 messageIn_VM->setObjectName(QString::fromUtf8(
"messageIn_VM"));
230 signatureIn_VM->setObjectName(QString::fromUtf8(
"signatureIn_VM"));
239 icon5.addFile(QString::fromUtf8(
":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off);
246 clearButton_VM->setObjectName(QString::fromUtf8(
"clearButton_VM"));
257 statusLabel_VM->setObjectName(QString::fromUtf8(
"statusLabel_VM"));
285 SignVerifyMessageDialog->setWindowTitle(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Signatures - Sign / Verify a Message",
nullptr));
286 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 addressIn_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The Bitcoin address to sign the message with",
nullptr));
290#if QT_CONFIG(tooltip)
291 addressBookButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Choose previously used address",
nullptr));
294#if QT_CONFIG(shortcut)
295 addressBookButton_SM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+A",
nullptr));
297#if QT_CONFIG(tooltip)
298 pasteButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Paste address from clipboard",
nullptr));
301#if QT_CONFIG(shortcut)
302 pasteButton_SM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+P",
nullptr));
304#if QT_CONFIG(tooltip)
305 messageIn_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Enter the message you want to sign here",
nullptr));
307 messageIn_SM->setPlaceholderText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Enter the message you want to sign here",
nullptr));
308 signatureLabel_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Signature",
nullptr));
309 signatureOut_SM->setPlaceholderText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Click \"Sign Message\" to generate signature",
nullptr));
310#if QT_CONFIG(tooltip)
311 copySignatureButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Copy the current signature to the system clipboard",
nullptr));
314#if QT_CONFIG(tooltip)
315 signMessageButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Sign the message to prove you own this Bitcoin address",
nullptr));
317 signMessageButton_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Sign &Message",
nullptr));
318#if QT_CONFIG(tooltip)
319 clearButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Reset all sign message fields",
nullptr));
321 clearButton_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Clear &All",
nullptr));
324 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 addressIn_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The Bitcoin address the message was signed with",
nullptr));
328#if QT_CONFIG(tooltip)
329 addressBookButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Choose previously used address",
nullptr));
332#if QT_CONFIG(shortcut)
333 addressBookButton_VM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+A",
nullptr));
335#if QT_CONFIG(tooltip)
336 messageIn_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The signed message to verify",
nullptr));
338 messageIn_VM->setPlaceholderText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The signed message to verify",
nullptr));
339#if QT_CONFIG(tooltip)
340 signatureIn_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The signature given when the message was signed",
nullptr));
342 signatureIn_VM->setPlaceholderText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The signature given when the message was signed",
nullptr));
343#if QT_CONFIG(tooltip)
344 verifyMessageButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Verify the message to ensure it was signed with the specified Bitcoin address",
nullptr));
346 verifyMessageButton_VM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Verify &Message",
nullptr));
347#if QT_CONFIG(tooltip)
348 clearButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Reset all verify message fields",
nullptr));
350 clearButton_VM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Clear &All",
nullptr));
Line edit that can be marked as "invalid" to show input validation feedback.
QHBoxLayout * horizontalLayout_1_SM
QPlainTextEdit * messageIn_VM
QSpacerItem * horizontalSpacer_2_SM
QHBoxLayout * horizontalLayout_3_SM
QVBoxLayout * verticalLayout_SM
QPushButton * pasteButton_SM
QPushButton * clearButton_SM
QPushButton * addressBookButton_SM
QPushButton * signMessageButton_SM
QValidatedLineEdit * addressIn_SM
QLineEdit * signatureOut_SM
QSpacerItem * horizontalSpacer_1_VM
QSpacerItem * horizontalSpacer_1_SM
QVBoxLayout * verticalLayout
QWidget * tabVerifyMessage
QHBoxLayout * horizontalLayout_1_VM
void setupUi(QDialog *SignVerifyMessageDialog)
QSpacerItem * horizontalSpacer_2_VM
QLabel * signatureLabel_SM
QPushButton * copySignatureButton_SM
QValidatedLineEdit * signatureIn_VM
void retranslateUi(QDialog *SignVerifyMessageDialog)
QPushButton * clearButton_VM
QValidatedLineEdit * addressIn_VM
QPlainTextEdit * messageIn_SM
QHBoxLayout * horizontalLayout_2_VM
QVBoxLayout * verticalLayout_VM
QPushButton * verifyMessageButton_VM
QHBoxLayout * horizontalLayout_2_SM
QPushButton * addressBookButton_VM