Fabcoin Core  0.16.2
P2P Digital Currency
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.5.1
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 <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QFrame>
18 #include <QtWidgets/QHBoxLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QPlainTextEdit>
23 #include <QtWidgets/QPushButton>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QTabWidget>
26 #include <QtWidgets/QVBoxLayout>
27 #include <QtWidgets/QWidget>
28 #include "qvalidatedlineedit.h"
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QVBoxLayout *verticalLayout;
36  QTabWidget *tabWidget;
37  QWidget *tabSignMessage;
38  QVBoxLayout *verticalLayout_SM;
39  QVBoxLayout *verticalLayout_3;
40  QLabel *infoLabel_SM;
41  QHBoxLayout *horizontalLayout_1_SM;
43  QPushButton *addressBookButton_SM;
44  QFrame *vLine;
45  QPushButton *pasteButton_SM;
46  QPlainTextEdit *messageIn_SM;
48  QHBoxLayout *horizontalLayout_2_SM;
49  QLineEdit *signatureOut_SM;
50  QPushButton *copySignatureButton_SM;
52  QHBoxLayout *horizontalLayout;
53  QPushButton *clearButton_SM;
54  QPushButton *signMessageButton_SM;
55  QSpacerItem *horizontalSpacer_1_SM;
56  QLabel *statusLabel_SM;
57  QSpacerItem *horizontalSpacer_2_SM;
58  QWidget *tabVerifyMessage;
59  QVBoxLayout *verticalLayout_VM;
60  QVBoxLayout *verticalLayout_2;
61  QLabel *infoLabel_VM;
62  QHBoxLayout *horizontalLayout_1_VM;
64  QPushButton *addressBookButton_VM;
65  QPlainTextEdit *messageIn_VM;
68  QHBoxLayout *horizontalLayout_2;
69  QPushButton *clearButton_VM;
70  QPushButton *verifyMessageButton_VM;
71  QSpacerItem *horizontalSpacer_1_VM;
72  QLabel *statusLabel_VM;
73  QSpacerItem *horizontalSpacer_2_VM;
74 
76  {
77  if (SignVerifyMessageDialog->objectName().isEmpty())
78  SignVerifyMessageDialog->setObjectName(QStringLiteral("SignVerifyMessageDialog"));
79  SignVerifyMessageDialog->resize(800, 450);
80  SignVerifyMessageDialog->setModal(true);
81  verticalLayout = new QVBoxLayout(SignVerifyMessageDialog);
82  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
83  verticalLayout->setContentsMargins(0, 0, 0, 0);
84  tabWidget = new QTabWidget(SignVerifyMessageDialog);
85  tabWidget->setObjectName(QStringLiteral("tabWidget"));
86  tabSignMessage = new QWidget();
87  tabSignMessage->setObjectName(QStringLiteral("tabSignMessage"));
88  verticalLayout_SM = new QVBoxLayout(tabSignMessage);
89  verticalLayout_SM->setObjectName(QStringLiteral("verticalLayout_SM"));
90  verticalLayout_SM->setContentsMargins(0, 0, 0, 0);
91  verticalLayout_3 = new QVBoxLayout();
92  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
93  verticalLayout_3->setContentsMargins(30, 20, 30, 20);
94  infoLabel_SM = new QLabel(tabSignMessage);
95  infoLabel_SM->setObjectName(QStringLiteral("infoLabel_SM"));
96  infoLabel_SM->setTextFormat(Qt::PlainText);
97  infoLabel_SM->setWordWrap(true);
98 
99  verticalLayout_3->addWidget(infoLabel_SM);
100 
101  horizontalLayout_1_SM = new QHBoxLayout();
102  horizontalLayout_1_SM->setSpacing(6);
103  horizontalLayout_1_SM->setObjectName(QStringLiteral("horizontalLayout_1_SM"));
104  addressIn_SM = new QValidatedLineEdit(tabSignMessage);
105  addressIn_SM->setObjectName(QStringLiteral("addressIn_SM"));
106 
107  horizontalLayout_1_SM->addWidget(addressIn_SM);
108 
109  addressBookButton_SM = new QPushButton(tabSignMessage);
110  addressBookButton_SM->setObjectName(QStringLiteral("addressBookButton_SM"));
111  QIcon icon;
112  icon.addFile(QStringLiteral(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
113  addressBookButton_SM->setIcon(icon);
114  addressBookButton_SM->setAutoDefault(false);
115 
116  horizontalLayout_1_SM->addWidget(addressBookButton_SM);
117 
118  vLine = new QFrame(tabSignMessage);
119  vLine->setObjectName(QStringLiteral("vLine"));
120  vLine->setMaximumSize(QSize(1, 22));
121  vLine->setFrameShape(QFrame::VLine);
122  vLine->setFrameShadow(QFrame::Sunken);
123 
124  horizontalLayout_1_SM->addWidget(vLine);
125 
126  pasteButton_SM = new QPushButton(tabSignMessage);
127  pasteButton_SM->setObjectName(QStringLiteral("pasteButton_SM"));
128  QIcon icon1;
129  icon1.addFile(QStringLiteral(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
130  pasteButton_SM->setIcon(icon1);
131  pasteButton_SM->setAutoDefault(false);
132 
133  horizontalLayout_1_SM->addWidget(pasteButton_SM);
134 
135 
136  verticalLayout_3->addLayout(horizontalLayout_1_SM);
137 
138  messageIn_SM = new QPlainTextEdit(tabSignMessage);
139  messageIn_SM->setObjectName(QStringLiteral("messageIn_SM"));
140 
141  verticalLayout_3->addWidget(messageIn_SM);
142 
143  signatureLabel_SM = new QLabel(tabSignMessage);
144  signatureLabel_SM->setObjectName(QStringLiteral("signatureLabel_SM"));
145  signatureLabel_SM->setTextFormat(Qt::PlainText);
146 
147  verticalLayout_3->addWidget(signatureLabel_SM);
148 
149  horizontalLayout_2_SM = new QHBoxLayout();
150  horizontalLayout_2_SM->setSpacing(6);
151  horizontalLayout_2_SM->setObjectName(QStringLiteral("horizontalLayout_2_SM"));
152  signatureOut_SM = new QLineEdit(tabSignMessage);
153  signatureOut_SM->setObjectName(QStringLiteral("signatureOut_SM"));
154  QFont font;
155  font.setItalic(true);
156  signatureOut_SM->setFont(font);
157  signatureOut_SM->setReadOnly(true);
158 
159  horizontalLayout_2_SM->addWidget(signatureOut_SM);
160 
161  copySignatureButton_SM = new QPushButton(tabSignMessage);
162  copySignatureButton_SM->setObjectName(QStringLiteral("copySignatureButton_SM"));
163  QIcon icon2;
164  icon2.addFile(QStringLiteral(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
165  copySignatureButton_SM->setIcon(icon2);
166  copySignatureButton_SM->setAutoDefault(false);
167 
168  horizontalLayout_2_SM->addWidget(copySignatureButton_SM);
169 
170 
171  verticalLayout_3->addLayout(horizontalLayout_2_SM);
172 
173 
174  verticalLayout_SM->addLayout(verticalLayout_3);
175 
176  buttonsContainerWhite = new QWidget(tabSignMessage);
177  buttonsContainerWhite->setObjectName(QStringLiteral("buttonsContainerWhite"));
178  horizontalLayout = new QHBoxLayout(buttonsContainerWhite);
179  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
180  horizontalLayout->setContentsMargins(30, 15, 30, -1);
181  clearButton_SM = new QPushButton(buttonsContainerWhite);
182  clearButton_SM->setObjectName(QStringLiteral("clearButton_SM"));
183  QIcon icon3;
184  icon3.addFile(QStringLiteral(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
185  clearButton_SM->setIcon(icon3);
186  clearButton_SM->setAutoDefault(false);
187 
188  horizontalLayout->addWidget(clearButton_SM);
189 
190  signMessageButton_SM = new QPushButton(buttonsContainerWhite);
191  signMessageButton_SM->setObjectName(QStringLiteral("signMessageButton_SM"));
192  QIcon icon4;
193  icon4.addFile(QStringLiteral(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
194  signMessageButton_SM->setIcon(icon4);
195  signMessageButton_SM->setAutoDefault(false);
196 
197  horizontalLayout->addWidget(signMessageButton_SM);
198 
199  horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
200 
201  horizontalLayout->addItem(horizontalSpacer_1_SM);
202 
203  statusLabel_SM = new QLabel(buttonsContainerWhite);
204  statusLabel_SM->setObjectName(QStringLiteral("statusLabel_SM"));
205  QFont font1;
206  font1.setBold(true);
207  font1.setWeight(75);
208  statusLabel_SM->setFont(font1);
209  statusLabel_SM->setWordWrap(true);
210 
211  horizontalLayout->addWidget(statusLabel_SM);
212 
213  horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
214 
215  horizontalLayout->addItem(horizontalSpacer_2_SM);
216 
217 
218  verticalLayout_SM->addWidget(buttonsContainerWhite);
219 
220  tabWidget->addTab(tabSignMessage, QString());
221  tabVerifyMessage = new QWidget();
222  tabVerifyMessage->setObjectName(QStringLiteral("tabVerifyMessage"));
223  verticalLayout_VM = new QVBoxLayout(tabVerifyMessage);
224  verticalLayout_VM->setObjectName(QStringLiteral("verticalLayout_VM"));
225  verticalLayout_VM->setContentsMargins(0, 0, 0, 0);
226  verticalLayout_2 = new QVBoxLayout();
227  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
228  verticalLayout_2->setContentsMargins(30, 20, 30, 20);
229  infoLabel_VM = new QLabel(tabVerifyMessage);
230  infoLabel_VM->setObjectName(QStringLiteral("infoLabel_VM"));
231  infoLabel_VM->setTextFormat(Qt::PlainText);
232  infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
233  infoLabel_VM->setWordWrap(true);
234 
235  verticalLayout_2->addWidget(infoLabel_VM);
236 
237  horizontalLayout_1_VM = new QHBoxLayout();
238  horizontalLayout_1_VM->setSpacing(6);
239  horizontalLayout_1_VM->setObjectName(QStringLiteral("horizontalLayout_1_VM"));
240  addressIn_VM = new QValidatedLineEdit(tabVerifyMessage);
241  addressIn_VM->setObjectName(QStringLiteral("addressIn_VM"));
242 
243  horizontalLayout_1_VM->addWidget(addressIn_VM);
244 
245  addressBookButton_VM = new QPushButton(tabVerifyMessage);
246  addressBookButton_VM->setObjectName(QStringLiteral("addressBookButton_VM"));
247  addressBookButton_VM->setIcon(icon);
248  addressBookButton_VM->setAutoDefault(false);
249 
250  horizontalLayout_1_VM->addWidget(addressBookButton_VM);
251 
252 
253  verticalLayout_2->addLayout(horizontalLayout_1_VM);
254 
255  messageIn_VM = new QPlainTextEdit(tabVerifyMessage);
256  messageIn_VM->setObjectName(QStringLiteral("messageIn_VM"));
257 
258  verticalLayout_2->addWidget(messageIn_VM);
259 
260  signatureIn_VM = new QValidatedLineEdit(tabVerifyMessage);
261  signatureIn_VM->setObjectName(QStringLiteral("signatureIn_VM"));
262 
263  verticalLayout_2->addWidget(signatureIn_VM);
264 
265 
266  verticalLayout_VM->addLayout(verticalLayout_2);
267 
268  buttonsContainerWhite_ = new QWidget(tabVerifyMessage);
269  buttonsContainerWhite_->setObjectName(QStringLiteral("buttonsContainerWhite_"));
270  horizontalLayout_2 = new QHBoxLayout(buttonsContainerWhite_);
271  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
272  horizontalLayout_2->setContentsMargins(30, 15, 30, -1);
273  clearButton_VM = new QPushButton(buttonsContainerWhite_);
274  clearButton_VM->setObjectName(QStringLiteral("clearButton_VM"));
275  clearButton_VM->setIcon(icon3);
276  clearButton_VM->setAutoDefault(false);
277 
278  horizontalLayout_2->addWidget(clearButton_VM);
279 
280  verifyMessageButton_VM = new QPushButton(buttonsContainerWhite_);
281  verifyMessageButton_VM->setObjectName(QStringLiteral("verifyMessageButton_VM"));
282  QIcon icon5;
283  icon5.addFile(QStringLiteral(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off);
284  verifyMessageButton_VM->setIcon(icon5);
285  verifyMessageButton_VM->setAutoDefault(false);
286 
287  horizontalLayout_2->addWidget(verifyMessageButton_VM);
288 
289  horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
290 
291  horizontalLayout_2->addItem(horizontalSpacer_1_VM);
292 
293  statusLabel_VM = new QLabel(buttonsContainerWhite_);
294  statusLabel_VM->setObjectName(QStringLiteral("statusLabel_VM"));
295  statusLabel_VM->setFont(font1);
296  statusLabel_VM->setWordWrap(true);
297 
298  horizontalLayout_2->addWidget(statusLabel_VM);
299 
300  horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
301 
302  horizontalLayout_2->addItem(horizontalSpacer_2_VM);
303 
304 
305  verticalLayout_VM->addWidget(buttonsContainerWhite_);
306 
307  tabWidget->addTab(tabVerifyMessage, QString());
308 
309  verticalLayout->addWidget(tabWidget);
310 
311 
312  retranslateUi(SignVerifyMessageDialog);
313 
314  tabWidget->setCurrentIndex(0);
315 
316 
317  QMetaObject::connectSlotsByName(SignVerifyMessageDialog);
318  } // setupUi
319 
321  {
322  SignVerifyMessageDialog->setWindowTitle(QApplication::translate("SignVerifyMessageDialog", "Signatures - Sign / Verify a Message", 0));
323  infoLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "You can sign messages/agreements with your addresses to prove you can receive fabcoins 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.", 0));
324 #ifndef QT_NO_TOOLTIP
325  addressIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The Fabcoin address to sign the message with", 0));
326 #endif // QT_NO_TOOLTIP
327 #ifndef QT_NO_TOOLTIP
328  addressBookButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0));
329 #endif // QT_NO_TOOLTIP
330  addressBookButton_SM->setText(QString());
331  addressBookButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0));
332 #ifndef QT_NO_TOOLTIP
333  pasteButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Paste address from clipboard", 0));
334 #endif // QT_NO_TOOLTIP
335  pasteButton_SM->setText(QString());
336  pasteButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+P", 0));
337 #ifndef QT_NO_TOOLTIP
338  messageIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", 0));
339 #endif // QT_NO_TOOLTIP
340  signatureLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Signature", 0));
341 #ifndef QT_NO_TOOLTIP
342  copySignatureButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Copy the current signature to the system clipboard", 0));
343 #endif // QT_NO_TOOLTIP
344  copySignatureButton_SM->setText(QString());
345 #ifndef QT_NO_TOOLTIP
346  clearButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all sign message fields", 0));
347 #endif // QT_NO_TOOLTIP
348  clearButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0));
349 #ifndef QT_NO_TOOLTIP
350  signMessageButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Sign the message to prove you own this Fabcoin address", 0));
351 #endif // QT_NO_TOOLTIP
352  signMessageButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Sign &Message", 0));
353  statusLabel_SM->setText(QString());
354  tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QApplication::translate("SignVerifyMessageDialog", "&Sign Message", 0));
355  infoLabel_VM->setText(QApplication::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!", 0));
356 #ifndef QT_NO_TOOLTIP
357  addressIn_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The Fabcoin address the message was signed with", 0));
358 #endif // QT_NO_TOOLTIP
359 #ifndef QT_NO_TOOLTIP
360  addressBookButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0));
361 #endif // QT_NO_TOOLTIP
362  addressBookButton_VM->setText(QString());
363  addressBookButton_VM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0));
364 #ifndef QT_NO_TOOLTIP
365  clearButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all verify message fields", 0));
366 #endif // QT_NO_TOOLTIP
367  clearButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0));
368 #ifndef QT_NO_TOOLTIP
369  verifyMessageButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Verify the message to ensure it was signed with the specified Fabcoin address", 0));
370 #endif // QT_NO_TOOLTIP
371  verifyMessageButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Verify &Message", 0));
372  statusLabel_VM->setText(QString());
373  tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QApplication::translate("SignVerifyMessageDialog", "&Verify Message", 0));
374  } // retranslateUi
375 
376 };
377 
378 namespace Ui {
380 } // namespace Ui
381 
382 QT_END_NAMESPACE
383 
384 #endif // UI_SIGNVERIFYMESSAGEDIALOG_H
void setupUi(QDialog *SignVerifyMessageDialog)
Line edit that can be marked as "invalid" to show input validation feedback.
void retranslateUi(QDialog *SignVerifyMessageDialog)