9 #ifndef UI_SIGNVERIFYMESSAGEDIALOG_H 10 #define UI_SIGNVERIFYMESSAGEDIALOG_H 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> 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));
289 #endif // QT_CONFIG(tooltip) 290 #if QT_CONFIG(tooltip) 291 addressBookButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Choose previously used address",
nullptr));
292 #endif // QT_CONFIG(tooltip) 294 #if QT_CONFIG(shortcut) 295 addressBookButton_SM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+A",
nullptr));
296 #endif // QT_CONFIG(shortcut) 297 #if QT_CONFIG(tooltip) 298 pasteButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Paste address from clipboard",
nullptr));
299 #endif // QT_CONFIG(tooltip) 301 #if QT_CONFIG(shortcut) 302 pasteButton_SM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+P",
nullptr));
303 #endif // QT_CONFIG(shortcut) 304 #if QT_CONFIG(tooltip) 305 messageIn_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Enter the message you want to sign here",
nullptr));
306 #endif // QT_CONFIG(tooltip) 307 signatureLabel_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Signature",
nullptr));
308 #if QT_CONFIG(tooltip) 309 copySignatureButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Copy the current signature to the system clipboard",
nullptr));
310 #endif // QT_CONFIG(tooltip) 312 #if QT_CONFIG(tooltip) 313 signMessageButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Sign the message to prove you own this Bitcoin address",
nullptr));
314 #endif // QT_CONFIG(tooltip) 315 signMessageButton_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Sign &Message",
nullptr));
316 #if QT_CONFIG(tooltip) 317 clearButton_SM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Reset all sign message fields",
nullptr));
318 #endif // QT_CONFIG(tooltip) 319 clearButton_SM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Clear &All",
nullptr));
322 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));
323 #if QT_CONFIG(tooltip) 324 addressIn_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"The Bitcoin address the message was signed with",
nullptr));
325 #endif // QT_CONFIG(tooltip) 326 #if QT_CONFIG(tooltip) 327 addressBookButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Choose previously used address",
nullptr));
328 #endif // QT_CONFIG(tooltip) 330 #if QT_CONFIG(shortcut) 331 addressBookButton_VM->setShortcut(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Alt+A",
nullptr));
332 #endif // QT_CONFIG(shortcut) 333 #if QT_CONFIG(tooltip) 334 verifyMessageButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Verify the message to ensure it was signed with the specified Bitcoin address",
nullptr));
335 #endif // QT_CONFIG(tooltip) 336 verifyMessageButton_VM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Verify &Message",
nullptr));
337 #if QT_CONFIG(tooltip) 338 clearButton_VM->setToolTip(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Reset all verify message fields",
nullptr));
339 #endif // QT_CONFIG(tooltip) 340 clearButton_VM->setText(QCoreApplication::translate(
"SignVerifyMessageDialog",
"Clear &All",
nullptr));
353 #endif // UI_SIGNVERIFYMESSAGEDIALOG_H Definition: ui_signverifymessagedialog.h:348
void retranslateUi(QDialog *SignVerifyMessageDialog)
Definition: ui_signverifymessagedialog.h:283
QWidget * tabVerifyMessage
Definition: ui_signverifymessagedialog.h:52
QLabel * signatureLabel_SM
Definition: ui_signverifymessagedialog.h:42
QLabel * infoLabel_SM
Definition: ui_signverifymessagedialog.h:36
QSpacerItem * horizontalSpacer_2_SM
Definition: ui_signverifymessagedialog.h:51
QLabel * statusLabel_VM
Definition: ui_signverifymessagedialog.h:64
QPushButton * addressBookButton_VM
Definition: ui_signverifymessagedialog.h:57
Definition: addressbookpage.h:14
QHBoxLayout * horizontalLayout_1_SM
Definition: ui_signverifymessagedialog.h:37
QSpacerItem * horizontalSpacer_2_VM
Definition: ui_signverifymessagedialog.h:65
Definition: signverifymessagedialog.h:17
QPushButton * addressBookButton_SM
Definition: ui_signverifymessagedialog.h:39
QLabel * infoLabel_VM
Definition: ui_signverifymessagedialog.h:54
QLineEdit * signatureOut_SM
Definition: ui_signverifymessagedialog.h:44
void setupUi(QDialog *SignVerifyMessageDialog)
Definition: ui_signverifymessagedialog.h:67
QSpacerItem * horizontalSpacer_1_SM
Definition: ui_signverifymessagedialog.h:49
QHBoxLayout * horizontalLayout_2_SM
Definition: ui_signverifymessagedialog.h:43
QValidatedLineEdit * addressIn_VM
Definition: ui_signverifymessagedialog.h:56
Definition: qvalidatedlineedit.h:13
QValidatedLineEdit * signatureIn_VM
Definition: ui_signverifymessagedialog.h:59
QValidatedLineEdit * addressIn_SM
Definition: ui_signverifymessagedialog.h:38
QVBoxLayout * verticalLayout
Definition: ui_signverifymessagedialog.h:32
QPlainTextEdit * messageIn_VM
Definition: ui_signverifymessagedialog.h:58
Definition: ui_signverifymessagedialog.h:29
QPushButton * clearButton_SM
Definition: ui_signverifymessagedialog.h:48
QPushButton * copySignatureButton_SM
Definition: ui_signverifymessagedialog.h:45
QPushButton * signMessageButton_SM
Definition: ui_signverifymessagedialog.h:47
QPushButton * verifyMessageButton_VM
Definition: ui_signverifymessagedialog.h:61
QSpacerItem * horizontalSpacer_1_VM
Definition: ui_signverifymessagedialog.h:63
QPlainTextEdit * messageIn_SM
Definition: ui_signverifymessagedialog.h:41
QHBoxLayout * horizontalLayout_1_VM
Definition: ui_signverifymessagedialog.h:55
QHBoxLayout * horizontalLayout_3_SM
Definition: ui_signverifymessagedialog.h:46
QHBoxLayout * horizontalLayout_2_VM
Definition: ui_signverifymessagedialog.h:60
QPushButton * clearButton_VM
Definition: ui_signverifymessagedialog.h:62
QVBoxLayout * verticalLayout_SM
Definition: ui_signverifymessagedialog.h:35
QLabel * statusLabel_SM
Definition: ui_signverifymessagedialog.h:50
QVBoxLayout * verticalLayout_VM
Definition: ui_signverifymessagedialog.h:53
QWidget * tabSignMessage
Definition: ui_signverifymessagedialog.h:34
QTabWidget * tabWidget
Definition: ui_signverifymessagedialog.h:33
QPushButton * pasteButton_SM
Definition: ui_signverifymessagedialog.h:40