Master Core  v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ui_signverifymessagedialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'signverifymessagedialog.ui'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost when recompiling UI file!
6 ********************************************************************************/
7 
8 #ifndef UI_SIGNVERIFYMESSAGEDIALOG_H
9 #define UI_SIGNVERIFYMESSAGEDIALOG_H
10 
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QDialog>
16 #include <QtGui/QHBoxLayout>
17 #include <QtGui/QHeaderView>
18 #include <QtGui/QLabel>
19 #include <QtGui/QLineEdit>
20 #include <QtGui/QPlainTextEdit>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QSpacerItem>
23 #include <QtGui/QTabWidget>
24 #include <QtGui/QVBoxLayout>
25 #include <QtGui/QWidget>
26 #include "qvalidatedlineedit.h"
27 
28 QT_BEGIN_NAMESPACE
29 
31 {
32 public:
33  QVBoxLayout *verticalLayout;
34  QTabWidget *tabWidget;
36  QVBoxLayout *verticalLayout_SM;
38  QHBoxLayout *horizontalLayout_1_SM;
40  QPushButton *addressBookButton_SM;
41  QPushButton *pasteButton_SM;
42  QPlainTextEdit *messageIn_SM;
44  QHBoxLayout *horizontalLayout_2_SM;
46  QPushButton *copySignatureButton_SM;
47  QHBoxLayout *horizontalLayout_3_SM;
48  QPushButton *signMessageButton_SM;
49  QPushButton *clearButton_SM;
50  QSpacerItem *horizontalSpacer_1_SM;
52  QSpacerItem *horizontalSpacer_2_SM;
54  QVBoxLayout *verticalLayout_VM;
56  QHBoxLayout *horizontalLayout_1_VM;
58  QPushButton *addressBookButton_VM;
59  QPlainTextEdit *messageIn_VM;
61  QHBoxLayout *horizontalLayout_2_VM;
62  QPushButton *verifyMessageButton_VM;
63  QPushButton *clearButton_VM;
64  QSpacerItem *horizontalSpacer_1_VM;
66  QSpacerItem *horizontalSpacer_2_VM;
67 
69  {
70  if (SignVerifyMessageDialog->objectName().isEmpty())
71  SignVerifyMessageDialog->setObjectName(QString::fromUtf8("SignVerifyMessageDialog"));
72  SignVerifyMessageDialog->resize(700, 380);
73  SignVerifyMessageDialog->setModal(true);
74  verticalLayout = new QVBoxLayout(SignVerifyMessageDialog);
75  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
76  tabWidget = new QTabWidget(SignVerifyMessageDialog);
77  tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
78  tabSignMessage = new QWidget();
79  tabSignMessage->setObjectName(QString::fromUtf8("tabSignMessage"));
80  verticalLayout_SM = new QVBoxLayout(tabSignMessage);
81  verticalLayout_SM->setObjectName(QString::fromUtf8("verticalLayout_SM"));
82  infoLabel_SM = new QLabel(tabSignMessage);
83  infoLabel_SM->setObjectName(QString::fromUtf8("infoLabel_SM"));
84  infoLabel_SM->setTextFormat(Qt::PlainText);
85  infoLabel_SM->setWordWrap(true);
86 
87  verticalLayout_SM->addWidget(infoLabel_SM);
88 
89  horizontalLayout_1_SM = new QHBoxLayout();
90  horizontalLayout_1_SM->setSpacing(0);
91  horizontalLayout_1_SM->setObjectName(QString::fromUtf8("horizontalLayout_1_SM"));
92  addressIn_SM = new QValidatedLineEdit(tabSignMessage);
93  addressIn_SM->setObjectName(QString::fromUtf8("addressIn_SM"));
94 
95  horizontalLayout_1_SM->addWidget(addressIn_SM);
96 
97  addressBookButton_SM = new QPushButton(tabSignMessage);
98  addressBookButton_SM->setObjectName(QString::fromUtf8("addressBookButton_SM"));
99  QIcon icon;
100  icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
101  addressBookButton_SM->setIcon(icon);
102  addressBookButton_SM->setAutoDefault(false);
103 
104  horizontalLayout_1_SM->addWidget(addressBookButton_SM);
105 
106  pasteButton_SM = new QPushButton(tabSignMessage);
107  pasteButton_SM->setObjectName(QString::fromUtf8("pasteButton_SM"));
108  QIcon icon1;
109  icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
110  pasteButton_SM->setIcon(icon1);
111  pasteButton_SM->setAutoDefault(false);
112 
113  horizontalLayout_1_SM->addWidget(pasteButton_SM);
114 
115 
116  verticalLayout_SM->addLayout(horizontalLayout_1_SM);
117 
118  messageIn_SM = new QPlainTextEdit(tabSignMessage);
119  messageIn_SM->setObjectName(QString::fromUtf8("messageIn_SM"));
120 
121  verticalLayout_SM->addWidget(messageIn_SM);
122 
123  signatureLabel_SM = new QLabel(tabSignMessage);
124  signatureLabel_SM->setObjectName(QString::fromUtf8("signatureLabel_SM"));
125  signatureLabel_SM->setTextFormat(Qt::PlainText);
126 
127  verticalLayout_SM->addWidget(signatureLabel_SM);
128 
129  horizontalLayout_2_SM = new QHBoxLayout();
130  horizontalLayout_2_SM->setSpacing(0);
131  horizontalLayout_2_SM->setObjectName(QString::fromUtf8("horizontalLayout_2_SM"));
132  signatureOut_SM = new QLineEdit(tabSignMessage);
133  signatureOut_SM->setObjectName(QString::fromUtf8("signatureOut_SM"));
134  QFont font;
135  font.setItalic(true);
136  signatureOut_SM->setFont(font);
137  signatureOut_SM->setReadOnly(true);
138 
139  horizontalLayout_2_SM->addWidget(signatureOut_SM);
140 
141  copySignatureButton_SM = new QPushButton(tabSignMessage);
142  copySignatureButton_SM->setObjectName(QString::fromUtf8("copySignatureButton_SM"));
143  QIcon icon2;
144  icon2.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off);
145  copySignatureButton_SM->setIcon(icon2);
146  copySignatureButton_SM->setAutoDefault(false);
147 
148  horizontalLayout_2_SM->addWidget(copySignatureButton_SM);
149 
150 
151  verticalLayout_SM->addLayout(horizontalLayout_2_SM);
152 
153  horizontalLayout_3_SM = new QHBoxLayout();
154  horizontalLayout_3_SM->setObjectName(QString::fromUtf8("horizontalLayout_3_SM"));
155  signMessageButton_SM = new QPushButton(tabSignMessage);
156  signMessageButton_SM->setObjectName(QString::fromUtf8("signMessageButton_SM"));
157  QIcon icon3;
158  icon3.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
159  signMessageButton_SM->setIcon(icon3);
160  signMessageButton_SM->setAutoDefault(false);
161 
162  horizontalLayout_3_SM->addWidget(signMessageButton_SM);
163 
164  clearButton_SM = new QPushButton(tabSignMessage);
165  clearButton_SM->setObjectName(QString::fromUtf8("clearButton_SM"));
166  QIcon icon4;
167  icon4.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
168  clearButton_SM->setIcon(icon4);
169  clearButton_SM->setAutoDefault(false);
170 
171  horizontalLayout_3_SM->addWidget(clearButton_SM);
172 
173  horizontalSpacer_1_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
174 
175  horizontalLayout_3_SM->addItem(horizontalSpacer_1_SM);
176 
177  statusLabel_SM = new QLabel(tabSignMessage);
178  statusLabel_SM->setObjectName(QString::fromUtf8("statusLabel_SM"));
179  QFont font1;
180  font1.setBold(true);
181  font1.setWeight(75);
182  statusLabel_SM->setFont(font1);
183  statusLabel_SM->setWordWrap(true);
184 
185  horizontalLayout_3_SM->addWidget(statusLabel_SM);
186 
187  horizontalSpacer_2_SM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
188 
189  horizontalLayout_3_SM->addItem(horizontalSpacer_2_SM);
190 
191 
192  verticalLayout_SM->addLayout(horizontalLayout_3_SM);
193 
194  tabWidget->addTab(tabSignMessage, QString());
195  tabVerifyMessage = new QWidget();
196  tabVerifyMessage->setObjectName(QString::fromUtf8("tabVerifyMessage"));
197  verticalLayout_VM = new QVBoxLayout(tabVerifyMessage);
198  verticalLayout_VM->setObjectName(QString::fromUtf8("verticalLayout_VM"));
199  infoLabel_VM = new QLabel(tabVerifyMessage);
200  infoLabel_VM->setObjectName(QString::fromUtf8("infoLabel_VM"));
201  infoLabel_VM->setTextFormat(Qt::PlainText);
202  infoLabel_VM->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
203  infoLabel_VM->setWordWrap(true);
204 
205  verticalLayout_VM->addWidget(infoLabel_VM);
206 
207  horizontalLayout_1_VM = new QHBoxLayout();
208  horizontalLayout_1_VM->setSpacing(0);
209  horizontalLayout_1_VM->setObjectName(QString::fromUtf8("horizontalLayout_1_VM"));
210  addressIn_VM = new QValidatedLineEdit(tabVerifyMessage);
211  addressIn_VM->setObjectName(QString::fromUtf8("addressIn_VM"));
212 
213  horizontalLayout_1_VM->addWidget(addressIn_VM);
214 
215  addressBookButton_VM = new QPushButton(tabVerifyMessage);
216  addressBookButton_VM->setObjectName(QString::fromUtf8("addressBookButton_VM"));
217  addressBookButton_VM->setIcon(icon);
218  addressBookButton_VM->setAutoDefault(false);
219 
220  horizontalLayout_1_VM->addWidget(addressBookButton_VM);
221 
222 
223  verticalLayout_VM->addLayout(horizontalLayout_1_VM);
224 
225  messageIn_VM = new QPlainTextEdit(tabVerifyMessage);
226  messageIn_VM->setObjectName(QString::fromUtf8("messageIn_VM"));
227 
228  verticalLayout_VM->addWidget(messageIn_VM);
229 
230  signatureIn_VM = new QValidatedLineEdit(tabVerifyMessage);
231  signatureIn_VM->setObjectName(QString::fromUtf8("signatureIn_VM"));
232 
233  verticalLayout_VM->addWidget(signatureIn_VM);
234 
235  horizontalLayout_2_VM = new QHBoxLayout();
236  horizontalLayout_2_VM->setObjectName(QString::fromUtf8("horizontalLayout_2_VM"));
237  verifyMessageButton_VM = new QPushButton(tabVerifyMessage);
238  verifyMessageButton_VM->setObjectName(QString::fromUtf8("verifyMessageButton_VM"));
239  QIcon icon5;
240  icon5.addFile(QString::fromUtf8(":/icons/transaction_0"), QSize(), QIcon::Normal, QIcon::Off);
241  verifyMessageButton_VM->setIcon(icon5);
242  verifyMessageButton_VM->setAutoDefault(false);
243 
244  horizontalLayout_2_VM->addWidget(verifyMessageButton_VM);
245 
246  clearButton_VM = new QPushButton(tabVerifyMessage);
247  clearButton_VM->setObjectName(QString::fromUtf8("clearButton_VM"));
248  clearButton_VM->setIcon(icon4);
249  clearButton_VM->setAutoDefault(false);
250 
251  horizontalLayout_2_VM->addWidget(clearButton_VM);
252 
253  horizontalSpacer_1_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
254 
255  horizontalLayout_2_VM->addItem(horizontalSpacer_1_VM);
256 
257  statusLabel_VM = new QLabel(tabVerifyMessage);
258  statusLabel_VM->setObjectName(QString::fromUtf8("statusLabel_VM"));
259  statusLabel_VM->setFont(font1);
260  statusLabel_VM->setWordWrap(true);
261 
262  horizontalLayout_2_VM->addWidget(statusLabel_VM);
263 
264  horizontalSpacer_2_VM = new QSpacerItem(40, 48, QSizePolicy::Expanding, QSizePolicy::Minimum);
265 
266  horizontalLayout_2_VM->addItem(horizontalSpacer_2_VM);
267 
268 
269  verticalLayout_VM->addLayout(horizontalLayout_2_VM);
270 
271  tabWidget->addTab(tabVerifyMessage, QString());
272 
273  verticalLayout->addWidget(tabWidget);
274 
275 
276  retranslateUi(SignVerifyMessageDialog);
277 
278  QMetaObject::connectSlotsByName(SignVerifyMessageDialog);
279  } // setupUi
280 
282  {
283  SignVerifyMessageDialog->setWindowTitle(QApplication::translate("SignVerifyMessageDialog", "Signatures - Sign / Verify a Message", 0, QApplication::UnicodeUTF8));
284  infoLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "You can sign messages with your addresses to prove you own them. Be careful not to sign anything vague, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.", 0, QApplication::UnicodeUTF8));
285 #ifndef QT_NO_TOOLTIP
286  addressIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The address to sign the message with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)", 0, QApplication::UnicodeUTF8));
287 #endif // QT_NO_TOOLTIP
288 #ifndef QT_NO_TOOLTIP
289  addressBookButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0, QApplication::UnicodeUTF8));
290 #endif // QT_NO_TOOLTIP
291  addressBookButton_SM->setText(QString());
292  addressBookButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0, QApplication::UnicodeUTF8));
293 #ifndef QT_NO_TOOLTIP
294  pasteButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Paste address from clipboard", 0, QApplication::UnicodeUTF8));
295 #endif // QT_NO_TOOLTIP
296  pasteButton_SM->setText(QString());
297  pasteButton_SM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+P", 0, QApplication::UnicodeUTF8));
298 #ifndef QT_NO_TOOLTIP
299  messageIn_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Enter the message you want to sign here", 0, QApplication::UnicodeUTF8));
300 #endif // QT_NO_TOOLTIP
301  signatureLabel_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Signature", 0, QApplication::UnicodeUTF8));
302 #ifndef QT_NO_TOOLTIP
303  copySignatureButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Copy the current signature to the system clipboard", 0, QApplication::UnicodeUTF8));
304 #endif // QT_NO_TOOLTIP
305  copySignatureButton_SM->setText(QString());
306 #ifndef QT_NO_TOOLTIP
307  signMessageButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Sign the message to prove you own this Bitcoin address", 0, QApplication::UnicodeUTF8));
308 #endif // QT_NO_TOOLTIP
309  signMessageButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Sign &Message", 0, QApplication::UnicodeUTF8));
310 #ifndef QT_NO_TOOLTIP
311  clearButton_SM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all sign message fields", 0, QApplication::UnicodeUTF8));
312 #endif // QT_NO_TOOLTIP
313  clearButton_SM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0, QApplication::UnicodeUTF8));
314  statusLabel_SM->setText(QString());
315  tabWidget->setTabText(tabWidget->indexOf(tabSignMessage), QApplication::translate("SignVerifyMessageDialog", "&Sign Message", 0, QApplication::UnicodeUTF8));
316  infoLabel_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Enter the signing 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.", 0, QApplication::UnicodeUTF8));
317 #ifndef QT_NO_TOOLTIP
318  addressIn_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "The address the message was signed with (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)", 0, QApplication::UnicodeUTF8));
319 #endif // QT_NO_TOOLTIP
320 #ifndef QT_NO_TOOLTIP
321  addressBookButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Choose previously used address", 0, QApplication::UnicodeUTF8));
322 #endif // QT_NO_TOOLTIP
323  addressBookButton_VM->setText(QString());
324  addressBookButton_VM->setShortcut(QApplication::translate("SignVerifyMessageDialog", "Alt+A", 0, QApplication::UnicodeUTF8));
325 #ifndef QT_NO_TOOLTIP
326  verifyMessageButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Verify the message to ensure it was signed with the specified Bitcoin address", 0, QApplication::UnicodeUTF8));
327 #endif // QT_NO_TOOLTIP
328  verifyMessageButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Verify &Message", 0, QApplication::UnicodeUTF8));
329 #ifndef QT_NO_TOOLTIP
330  clearButton_VM->setToolTip(QApplication::translate("SignVerifyMessageDialog", "Reset all verify message fields", 0, QApplication::UnicodeUTF8));
331 #endif // QT_NO_TOOLTIP
332  clearButton_VM->setText(QApplication::translate("SignVerifyMessageDialog", "Clear &All", 0, QApplication::UnicodeUTF8));
333  statusLabel_VM->setText(QString());
334  tabWidget->setTabText(tabWidget->indexOf(tabVerifyMessage), QApplication::translate("SignVerifyMessageDialog", "&Verify Message", 0, QApplication::UnicodeUTF8));
335  } // retranslateUi
336 
337 };
338 
339 namespace Ui {
341 } // namespace Ui
342 
343 QT_END_NAMESPACE
344 
345 #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)