Bitcoin
ui_signverifymessagedialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'signverifymessagedialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.13.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 
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;
39  QPushButton *addressBookButton_SM;
40  QPushButton *pasteButton_SM;
41  QPlainTextEdit *messageIn_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;
57  QPushButton *addressBookButton_VM;
58  QPlainTextEdit *messageIn_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 
68  {
69  if (SignVerifyMessageDialog->objectName().isEmpty())
70  SignVerifyMessageDialog->setObjectName(QString::fromUtf8("SignVerifyMessageDialog"));
71  SignVerifyMessageDialog->resize(700, 380);
72  SignVerifyMessageDialog->setModal(true);
73  verticalLayout = new QVBoxLayout(SignVerifyMessageDialog);
74  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
75  tabWidget = new QTabWidget(SignVerifyMessageDialog);
76  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
77  tabSignMessage = new QWidget();
78  tabSignMessage->setObjectName(QString::fromUtf8("tabSignMessage"));
79  verticalLayout_SM = new QVBoxLayout(tabSignMessage);
80  verticalLayout_SM->setObjectName(QString::fromUtf8("verticalLayout_SM"));
81  infoLabel_SM = new QLabel(tabSignMessage);
82  infoLabel_SM->setObjectName(QString::fromUtf8("infoLabel_SM"));
83  infoLabel_SM->setTextFormat(Qt::PlainText);
84  infoLabel_SM->setWordWrap(true);
85 
86  verticalLayout_SM->addWidget(infoLabel_SM);
87 
88  horizontalLayout_1_SM = new QHBoxLayout();
89  horizontalLayout_1_SM->setSpacing(0);
90  horizontalLayout_1_SM->setObjectName(QString::fromUtf8("horizontalLayout_1_SM"));
92  addressIn_SM->setObjectName(QString::fromUtf8("addressIn_SM"));
93 
95 
96  addressBookButton_SM = new QPushButton(tabSignMessage);
97  addressBookButton_SM->setObjectName(QString::fromUtf8("addressBookButton_SM"));
98  QIcon icon;
99  icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
100  addressBookButton_SM->setIcon(icon);
101  addressBookButton_SM->setAutoDefault(false);
102 
104 
105  pasteButton_SM = new QPushButton(tabSignMessage);
106  pasteButton_SM->setObjectName(QString::fromUtf8("pasteButton_SM"));
107  QIcon icon1;
108  icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
109  pasteButton_SM->setIcon(icon1);
110  pasteButton_SM->setAutoDefault(false);
111 
113 
114 
116 
117  messageIn_SM = new QPlainTextEdit(tabSignMessage);
118  messageIn_SM->setObjectName(QString::fromUtf8("messageIn_SM"));
119 
120  verticalLayout_SM->addWidget(messageIn_SM);
121 
122  signatureLabel_SM = new QLabel(tabSignMessage);
123  signatureLabel_SM->setObjectName(QString::fromUtf8("signatureLabel_SM"));
124  signatureLabel_SM->setTextFormat(Qt::PlainText);
125 
127 
128  horizontalLayout_2_SM = new QHBoxLayout();
129  horizontalLayout_2_SM->setSpacing(0);
130  horizontalLayout_2_SM->setObjectName(QString::fromUtf8("horizontalLayout_2_SM"));
131  signatureOut_SM = new QLineEdit(tabSignMessage);
132  signatureOut_SM->setObjectName(QString::fromUtf8("signatureOut_SM"));
133  QFont font;
134  font.setItalic(true);
135  signatureOut_SM->setFont(font);
136  signatureOut_SM->setReadOnly(true);
137 
139 
140  copySignatureButton_SM = new QPushButton(tabSignMessage);
141  copySignatureButton_SM->setObjectName(QString::fromUtf8("copySignatureButton_SM"));
142  QIcon icon2;
143  icon2.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
144  copySignatureButton_SM->setIcon(icon2);
145  copySignatureButton_SM->setAutoDefault(false);
146 
148 
149 
151 
152  horizontalLayout_3_SM = new QHBoxLayout();
153  horizontalLayout_3_SM->setObjectName(QString::fromUtf8("horizontalLayout_3_SM"));
154  signMessageButton_SM = new QPushButton(tabSignMessage);
155  signMessageButton_SM->setObjectName(QString::fromUtf8("signMessageButton_SM"));
156  QIcon icon3;
157  icon3.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
158  signMessageButton_SM->setIcon(icon3);
159  signMessageButton_SM->setAutoDefault(false);
160 
162 
163  clearButton_SM = new QPushButton(tabSignMessage);
164  clearButton_SM->setObjectName(QString::fromUtf8("clearButton_SM"));
165  QIcon icon4;
166  icon4.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
167  clearButton_SM->setIcon(icon4);
168  clearButton_SM->setAutoDefault(false);
169 
171 
172  horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
173 
175 
176  statusLabel_SM = new QLabel(tabSignMessage);
177  statusLabel_SM->setObjectName(QString::fromUtf8("statusLabel_SM"));
178  QFont font1;
179  font1.setBold(true);
180  font1.setWeight(75);
181  statusLabel_SM->setFont(font1);
182  statusLabel_SM->setWordWrap(true);
183 
185 
186  horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
187 
189 
190 
192 
193  tabWidget->addTab(tabSignMessage, QString());
194  tabVerifyMessage = new QWidget();
195  tabVerifyMessage->setObjectName(QString::fromUtf8("tabVerifyMessage"));
196  verticalLayout_VM = new QVBoxLayout(tabVerifyMessage);
197  verticalLayout_VM->setObjectName(QString::fromUtf8("verticalLayout_VM"));
198  infoLabel_VM = new QLabel(tabVerifyMessage);
199  infoLabel_VM->setObjectName(QString::fromUtf8("infoLabel_VM"));
200  infoLabel_VM->setTextFormat(Qt::PlainText);
201  infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
202  infoLabel_VM->setWordWrap(true);
203 
204  verticalLayout_VM->addWidget(infoLabel_VM);
205 
206  horizontalLayout_1_VM = new QHBoxLayout();
207  horizontalLayout_1_VM->setSpacing(0);
208  horizontalLayout_1_VM->setObjectName(QString::fromUtf8("horizontalLayout_1_VM"));
210  addressIn_VM->setObjectName(QString::fromUtf8("addressIn_VM"));
211 
213 
214  addressBookButton_VM = new QPushButton(tabVerifyMessage);
215  addressBookButton_VM->setObjectName(QString::fromUtf8("addressBookButton_VM"));
216  addressBookButton_VM->setIcon(icon);
217  addressBookButton_VM->setAutoDefault(false);
218 
220 
221 
223 
224  messageIn_VM = new QPlainTextEdit(tabVerifyMessage);
225  messageIn_VM->setObjectName(QString::fromUtf8("messageIn_VM"));
226 
227  verticalLayout_VM->addWidget(messageIn_VM);
228 
230  signatureIn_VM->setObjectName(QString::fromUtf8("signatureIn_VM"));
231 
232  verticalLayout_VM->addWidget(signatureIn_VM);
233 
234  horizontalLayout_2_VM = new QHBoxLayout();
235  horizontalLayout_2_VM->setObjectName(QString::fromUtf8("horizontalLayout_2_VM"));
236  verifyMessageButton_VM = new QPushButton(tabVerifyMessage);
237  verifyMessageButton_VM->setObjectName(QString::fromUtf8("verifyMessageButton_VM"));
238  QIcon icon5;
239  icon5.addFile(QString::fromUtf8(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off);
240  verifyMessageButton_VM->setIcon(icon5);
241  verifyMessageButton_VM->setAutoDefault(false);
242 
244 
245  clearButton_VM = new QPushButton(tabVerifyMessage);
246  clearButton_VM->setObjectName(QString::fromUtf8("clearButton_VM"));
247  clearButton_VM->setIcon(icon4);
248  clearButton_VM->setAutoDefault(false);
249 
251 
252  horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
253 
255 
256  statusLabel_VM = new QLabel(tabVerifyMessage);
257  statusLabel_VM->setObjectName(QString::fromUtf8("statusLabel_VM"));
258  statusLabel_VM->setFont(font1);
259  statusLabel_VM->setWordWrap(true);
260 
262 
263  horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
264 
266 
267 
269 
270  tabWidget->addTab(tabVerifyMessage, QString());
271 
272  verticalLayout->addWidget(tabWidget);
273 
274 
276 
277  tabWidget->setCurrentIndex(0);
278 
279 
280  QMetaObject::connectSlotsByName(SignVerifyMessageDialog);
281  } // setupUi
282 
284  {
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)
293  addressBookButton_SM->setText(QString());
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)
300  pasteButton_SM->setText(QString());
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)
311  copySignatureButton_SM->setText(QString());
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));
320  statusLabel_SM->setText(QString());
321  tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QCoreApplication::translate("SignVerifyMessageDialog", "&Sign Message", 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)
329  addressBookButton_VM->setText(QString());
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));
341  statusLabel_VM->setText(QString());
342  tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QCoreApplication::translate("SignVerifyMessageDialog", "&Verify Message", nullptr));
343  } // retranslateUi
344 
345 };
346 
347 namespace Ui {
349 } // namespace Ui
350 
351 QT_END_NAMESPACE
352 
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