Dash Core  0.12.2.1
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/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QLabel>
20 #include <QtWidgets/QLineEdit>
21 #include <QtWidgets/QPlainTextEdit>
22 #include <QtWidgets/QPushButton>
23 #include <QtWidgets/QSpacerItem>
24 #include <QtWidgets/QTabWidget>
25 #include <QtWidgets/QVBoxLayout>
26 #include <QtWidgets/QWidget>
27 #include "qvalidatedlineedit.h"
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QVBoxLayout *verticalLayout;
35  QTabWidget *tabWidget;
36  QWidget *tabSignMessage;
37  QVBoxLayout *verticalLayout_SM;
38  QLabel *infoLabel_SM;
39  QHBoxLayout *horizontalLayout_1_SM;
41  QPushButton *addressBookButton_SM;
42  QPushButton *pasteButton_SM;
43  QPlainTextEdit *messageIn_SM;
45  QHBoxLayout *horizontalLayout_2_SM;
46  QLineEdit *signatureOut_SM;
47  QPushButton *copySignatureButton_SM;
48  QHBoxLayout *horizontalLayout_3_SM;
49  QPushButton *signMessageButton_SM;
50  QPushButton *clearButton_SM;
51  QSpacerItem *horizontalSpacer_1_SM;
52  QLabel *statusLabel_SM;
53  QSpacerItem *horizontalSpacer_2_SM;
54  QWidget *tabVerifyMessage;
55  QVBoxLayout *verticalLayout_VM;
56  QLabel *infoLabel_VM;
57  QHBoxLayout *horizontalLayout_1_VM;
59  QPushButton *addressBookButton_VM;
60  QPlainTextEdit *messageIn_VM;
62  QHBoxLayout *horizontalLayout_2_VM;
63  QPushButton *verifyMessageButton_VM;
64  QPushButton *clearButton_VM;
65  QSpacerItem *horizontalSpacer_1_VM;
66  QLabel *statusLabel_VM;
67  QSpacerItem *horizontalSpacer_2_VM;
68 
70  {
71  if (SignVerifyMessageDialog->objectName().isEmpty())
72  SignVerifyMessageDialog->setObjectName(QStringLiteral("SignVerifyMessageDialog"));
73  SignVerifyMessageDialog->resize(700, 380);
74  SignVerifyMessageDialog->setModal(true);
75  verticalLayout = new QVBoxLayout(SignVerifyMessageDialog);
76  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
77  tabWidget = new QTabWidget(SignVerifyMessageDialog);
78  tabWidget->setObjectName(QStringLiteral("tabWidget"));
79  tabSignMessage = new QWidget();
80  tabSignMessage->setObjectName(QStringLiteral("tabSignMessage"));
81  verticalLayout_SM = new QVBoxLayout(tabSignMessage);
82  verticalLayout_SM->setObjectName(QStringLiteral("verticalLayout_SM"));
83  infoLabel_SM = new QLabel(tabSignMessage);
84  infoLabel_SM->setObjectName(QStringLiteral("infoLabel_SM"));
85  infoLabel_SM->setTextFormat(Qt::PlainText);
86  infoLabel_SM->setWordWrap(true);
87 
88  verticalLayout_SM->addWidget(infoLabel_SM);
89 
90  horizontalLayout_1_SM = new QHBoxLayout();
91  horizontalLayout_1_SM->setSpacing(0);
92  horizontalLayout_1_SM->setObjectName(QStringLiteral("horizontalLayout_1_SM"));
94  addressIn_SM->setObjectName(QStringLiteral("addressIn_SM"));
95 
97 
98  addressBookButton_SM = new QPushButton(tabSignMessage);
99  addressBookButton_SM->setObjectName(QStringLiteral("addressBookButton_SM"));
100  addressBookButton_SM->setAutoDefault(false);
101 
103 
104  pasteButton_SM = new QPushButton(tabSignMessage);
105  pasteButton_SM->setObjectName(QStringLiteral("pasteButton_SM"));
106  pasteButton_SM->setAutoDefault(false);
107 
109 
110 
112 
113  messageIn_SM = new QPlainTextEdit(tabSignMessage);
114  messageIn_SM->setObjectName(QStringLiteral("messageIn_SM"));
115 
116  verticalLayout_SM->addWidget(messageIn_SM);
117 
118  signatureLabel_SM = new QLabel(tabSignMessage);
119  signatureLabel_SM->setObjectName(QStringLiteral("signatureLabel_SM"));
120  signatureLabel_SM->setTextFormat(Qt::PlainText);
121 
123 
124  horizontalLayout_2_SM = new QHBoxLayout();
125  horizontalLayout_2_SM->setSpacing(0);
126  horizontalLayout_2_SM->setObjectName(QStringLiteral("horizontalLayout_2_SM"));
127  signatureOut_SM = new QLineEdit(tabSignMessage);
128  signatureOut_SM->setObjectName(QStringLiteral("signatureOut_SM"));
129  QFont font;
130  font.setItalic(true);
131  signatureOut_SM->setFont(font);
132  signatureOut_SM->setReadOnly(true);
133 
135 
136  copySignatureButton_SM = new QPushButton(tabSignMessage);
137  copySignatureButton_SM->setObjectName(QStringLiteral("copySignatureButton_SM"));
138  copySignatureButton_SM->setAutoDefault(false);
139 
141 
142 
144 
145  horizontalLayout_3_SM = new QHBoxLayout();
146  horizontalLayout_3_SM->setObjectName(QStringLiteral("horizontalLayout_3_SM"));
147  signMessageButton_SM = new QPushButton(tabSignMessage);
148  signMessageButton_SM->setObjectName(QStringLiteral("signMessageButton_SM"));
149  signMessageButton_SM->setAutoDefault(false);
150 
152 
153  clearButton_SM = new QPushButton(tabSignMessage);
154  clearButton_SM->setObjectName(QStringLiteral("clearButton_SM"));
155  clearButton_SM->setAutoDefault(false);
156 
158 
159  horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
160 
162 
163  statusLabel_SM = new QLabel(tabSignMessage);
164  statusLabel_SM->setObjectName(QStringLiteral("statusLabel_SM"));
165  QFont font1;
166  font1.setBold(true);
167  font1.setWeight(75);
168  statusLabel_SM->setFont(font1);
169  statusLabel_SM->setWordWrap(true);
170 
172 
173  horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
174 
176 
177 
179 
180  tabWidget->addTab(tabSignMessage, QString());
181  tabVerifyMessage = new QWidget();
182  tabVerifyMessage->setObjectName(QStringLiteral("tabVerifyMessage"));
183  verticalLayout_VM = new QVBoxLayout(tabVerifyMessage);
184  verticalLayout_VM->setObjectName(QStringLiteral("verticalLayout_VM"));
185  infoLabel_VM = new QLabel(tabVerifyMessage);
186  infoLabel_VM->setObjectName(QStringLiteral("infoLabel_VM"));
187  infoLabel_VM->setTextFormat(Qt::PlainText);
188  infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
189  infoLabel_VM->setWordWrap(true);
190 
191  verticalLayout_VM->addWidget(infoLabel_VM);
192 
193  horizontalLayout_1_VM = new QHBoxLayout();
194  horizontalLayout_1_VM->setSpacing(0);
195  horizontalLayout_1_VM->setObjectName(QStringLiteral("horizontalLayout_1_VM"));
197  addressIn_VM->setObjectName(QStringLiteral("addressIn_VM"));
198 
200 
201  addressBookButton_VM = new QPushButton(tabVerifyMessage);
202  addressBookButton_VM->setObjectName(QStringLiteral("addressBookButton_VM"));
203  addressBookButton_VM->setAutoDefault(false);
204 
206 
207 
209 
210  messageIn_VM = new QPlainTextEdit(tabVerifyMessage);
211  messageIn_VM->setObjectName(QStringLiteral("messageIn_VM"));
212 
213  verticalLayout_VM->addWidget(messageIn_VM);
214 
216  signatureIn_VM->setObjectName(QStringLiteral("signatureIn_VM"));
217 
218  verticalLayout_VM->addWidget(signatureIn_VM);
219 
220  horizontalLayout_2_VM = new QHBoxLayout();
221  horizontalLayout_2_VM->setObjectName(QStringLiteral("horizontalLayout_2_VM"));
222  verifyMessageButton_VM = new QPushButton(tabVerifyMessage);
223  verifyMessageButton_VM->setObjectName(QStringLiteral("verifyMessageButton_VM"));
224  verifyMessageButton_VM->setAutoDefault(false);
225 
227 
228  clearButton_VM = new QPushButton(tabVerifyMessage);
229  clearButton_VM->setObjectName(QStringLiteral("clearButton_VM"));
230  clearButton_VM->setAutoDefault(false);
231 
233 
234  horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
235 
237 
238  statusLabel_VM = new QLabel(tabVerifyMessage);
239  statusLabel_VM->setObjectName(QStringLiteral("statusLabel_VM"));
240  statusLabel_VM->setFont(font1);
241  statusLabel_VM->setWordWrap(true);
242 
244 
245  horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
246 
248 
249 
251 
252  tabWidget->addTab(tabVerifyMessage, QString());
253 
254  verticalLayout->addWidget(tabWidget);
255 
256 
258 
259  tabWidget->setCurrentIndex(0);
260 
261 
262  QMetaObject::connectSlotsByName(SignVerifyMessageDialog);
263  } // setupUi
264 
266  {
267  SignVerifyMessageDialog->setWindowTitle(QApplication::translate("SignVerifyMessageDialog", "Signatures - Sign / Verify a Message", 0));
268  infoLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "You can sign messages/agreements with your addresses to prove you can receive Dash 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));
269 #ifndef QT_NO_TOOLTIP
270  addressIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The Dash address to sign the message with", 0));
271 #endif // QT_NO_TOOLTIP
272 #ifndef QT_NO_TOOLTIP
273  addressBookButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0));
274 #endif // QT_NO_TOOLTIP
275  addressBookButton_SM->setText(QString());
276  addressBookButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0));
277 #ifndef QT_NO_TOOLTIP
278  pasteButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Paste address from clipboard", 0));
279 #endif // QT_NO_TOOLTIP
280  pasteButton_SM->setText(QString());
281  pasteButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+P", 0));
282 #ifndef QT_NO_TOOLTIP
283  messageIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", 0));
284 #endif // QT_NO_TOOLTIP
285  signatureLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Signature", 0));
286 #ifndef QT_NO_TOOLTIP
287  copySignatureButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Copy the current signature to the system clipboard", 0));
288 #endif // QT_NO_TOOLTIP
289  copySignatureButton_SM->setText(QString());
290 #ifndef QT_NO_TOOLTIP
291  signMessageButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Sign the message to prove you own this Dash address", 0));
292 #endif // QT_NO_TOOLTIP
293  signMessageButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Sign &Message", 0));
294 #ifndef QT_NO_TOOLTIP
295  clearButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all sign message fields", 0));
296 #endif // QT_NO_TOOLTIP
297  clearButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0));
298  statusLabel_SM->setText(QString());
299  tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QApplication::translate("SignVerifyMessageDialog", "&Sign Message", 0));
300  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));
301 #ifndef QT_NO_TOOLTIP
302  addressIn_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The Dash address the message was signed with", 0));
303 #endif // QT_NO_TOOLTIP
304 #ifndef QT_NO_TOOLTIP
305  addressBookButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0));
306 #endif // QT_NO_TOOLTIP
307  addressBookButton_VM->setText(QString());
308  addressBookButton_VM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0));
309 #ifndef QT_NO_TOOLTIP
310  verifyMessageButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Verify the message to ensure it was signed with the specified Dash address", 0));
311 #endif // QT_NO_TOOLTIP
312  verifyMessageButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Verify &Message", 0));
313 #ifndef QT_NO_TOOLTIP
314  clearButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all verify message fields", 0));
315 #endif // QT_NO_TOOLTIP
316  clearButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0));
317  statusLabel_VM->setText(QString());
318  tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QApplication::translate("SignVerifyMessageDialog", "&Verify Message", 0));
319  } // retranslateUi
320 
321 };
322 
323 namespace Ui {
325 } // namespace Ui
326 
327 QT_END_NAMESPACE
328 
329 #endif // UI_SIGNVERIFYMESSAGEDIALOG_H
void retranslateUi(QDialog *SignVerifyMessageDialog)
void setupUi(QDialog *SignVerifyMessageDialog)