9 #ifndef UI_SENDCOINSENTRY_H 10 #define UI_SENDCOINSENTRY_H 12 #include <QtCore/QVariant> 13 #include <QtGui/QIcon> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QCheckBox> 16 #include <QtWidgets/QFrame> 17 #include <QtWidgets/QGridLayout> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QLineEdit> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QStackedWidget> 23 #include <QtWidgets/QToolButton> 74 SendCoinsEntry->setObjectName(QString::fromUtf8(
"SendCoinsEntry"));
79 SendCoins->setObjectName(QString::fromUtf8(
"SendCoins"));
80 SendCoins->setFrameShape(QFrame::NoFrame);
82 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
87 payToLabel->setObjectName(QString::fromUtf8(
"payToLabel"));
88 payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
94 payToLayout->setObjectName(QString::fromUtf8(
"payToLayout"));
96 payTo->setObjectName(QString::fromUtf8(
"payTo"));
103 icon.addFile(QString::fromUtf8(
":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
110 pasteButton->setObjectName(QString::fromUtf8(
"pasteButton"));
112 icon1.addFile(QString::fromUtf8(
":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
119 deleteButton->setObjectName(QString::fromUtf8(
"deleteButton"));
121 icon2.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
131 labellLabel->setObjectName(QString::fromUtf8(
"labellLabel"));
132 labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
137 addAsLabel->setObjectName(QString::fromUtf8(
"addAsLabel"));
142 amountLabel->setObjectName(QString::fromUtf8(
"amountLabel"));
143 amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
150 payAmount->setObjectName(QString::fromUtf8(
"payAmount"));
169 messageLabel->setObjectName(QString::fromUtf8(
"messageLabel"));
170 messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
181 line->setObjectName(QString::fromUtf8(
"line"));
182 line->setFrameShape(QFrame::HLine);
183 line->setFrameShadow(QFrame::Sunken);
191 QBrush brush(QColor(0, 0, 0, 255));
192 brush.setStyle(Qt::SolidPattern);
193 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
194 QBrush brush1(QColor(255, 255, 127, 255));
195 brush1.setStyle(Qt::SolidPattern);
196 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
197 QBrush brush2(QColor(255, 255, 255, 255));
198 brush2.setStyle(Qt::SolidPattern);
199 palette.setBrush(QPalette::Active, QPalette::Light, brush2);
200 QBrush brush3(QColor(255, 255, 191, 255));
201 brush3.setStyle(Qt::SolidPattern);
202 palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
203 QBrush brush4(QColor(127, 127, 63, 255));
204 brush4.setStyle(Qt::SolidPattern);
205 palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
206 QBrush brush5(QColor(170, 170, 84, 255));
207 brush5.setStyle(Qt::SolidPattern);
208 palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
209 palette.setBrush(QPalette::Active, QPalette::Text, brush);
210 palette.setBrush(QPalette::Active, QPalette::BrightText, brush2);
211 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
212 palette.setBrush(QPalette::Active, QPalette::Base, brush2);
213 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
214 palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
215 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush3);
216 QBrush brush6(QColor(255, 255, 220, 255));
217 brush6.setStyle(Qt::SolidPattern);
218 palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
219 palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
220 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
221 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
222 palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
223 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
224 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
225 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
226 palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
227 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush2);
228 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
229 palette.setBrush(QPalette::Inactive, QPalette::Base, brush2);
230 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
231 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
232 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush3);
233 palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
234 palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
235 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
236 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
237 palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
238 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
239 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
240 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
241 palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
242 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush2);
243 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
244 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
245 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
246 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
247 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
248 palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
249 palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
255 gridLayout_is->setObjectName(QString::fromUtf8(
"gridLayout_is"));
257 payToLabel_is->setObjectName(QString::fromUtf8(
"payToLabel_is"));
258 payToLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
264 payToLayout_is->setObjectName(QString::fromUtf8(
"payToLayout_is"));
266 payTo_is->setObjectName(QString::fromUtf8(
"payTo_is"));
280 memoLabel_is->setObjectName(QString::fromUtf8(
"memoLabel_is"));
281 memoLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
292 amountLabel_is->setObjectName(QString::fromUtf8(
"amountLabel_is"));
293 amountLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
298 payAmount_is->setObjectName(QString::fromUtf8(
"payAmount_is"));
307 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
308 QBrush brush7(QColor(140, 232, 119, 255));
309 brush7.setStyle(Qt::SolidPattern);
310 palette1.setBrush(QPalette::Active, QPalette::Button, brush7);
311 QBrush brush8(QColor(230, 255, 224, 255));
312 brush8.setStyle(Qt::SolidPattern);
313 palette1.setBrush(QPalette::Active, QPalette::Light, brush8);
314 QBrush brush9(QColor(185, 243, 171, 255));
315 brush9.setStyle(Qt::SolidPattern);
316 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush9);
317 QBrush brush10(QColor(70, 116, 59, 255));
318 brush10.setStyle(Qt::SolidPattern);
319 palette1.setBrush(QPalette::Active, QPalette::Dark, brush10);
320 QBrush brush11(QColor(93, 155, 79, 255));
321 brush11.setStyle(Qt::SolidPattern);
322 palette1.setBrush(QPalette::Active, QPalette::Mid, brush11);
323 palette1.setBrush(QPalette::Active, QPalette::Text, brush);
324 QBrush brush12(QColor(155, 255, 147, 255));
325 brush12.setStyle(Qt::SolidPattern);
326 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush12);
327 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
328 QBrush brush13(QColor(119, 255, 233, 255));
329 brush13.setStyle(Qt::SolidPattern);
330 palette1.setBrush(QPalette::Active, QPalette::Base, brush13);
331 palette1.setBrush(QPalette::Active, QPalette::Window, brush7);
332 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush);
333 QBrush brush14(QColor(197, 243, 187, 255));
334 brush14.setStyle(Qt::SolidPattern);
335 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush14);
336 QBrush brush15(QColor(125, 194, 122, 255));
337 brush15.setStyle(Qt::SolidPattern);
338 palette1.setBrush(QPalette::Active, QPalette::NoRole, brush15);
339 palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
340 palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
341 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
342 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush7);
343 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush8);
344 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush9);
345 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush10);
346 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush11);
347 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush);
348 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush12);
349 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
350 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush13);
351 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush7);
352 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
353 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush14);
354 palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush15);
355 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
356 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
357 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush10);
358 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush7);
359 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush8);
360 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush9);
361 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush10);
362 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush11);
363 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush10);
364 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush12);
365 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush10);
366 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush7);
367 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush7);
368 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
369 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush7);
370 palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush15);
371 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
372 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
378 gridLayout_s->setObjectName(QString::fromUtf8(
"gridLayout_s"));
380 payToLabel_s->setObjectName(QString::fromUtf8(
"payToLabel_s"));
381 payToLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
387 payToLayout_s->setObjectName(QString::fromUtf8(
"payToLayout_s"));
389 payTo_s->setObjectName(QString::fromUtf8(
"payTo_s"));
390 payTo_s->setTextFormat(Qt::PlainText);
395 deleteButton_s->setObjectName(QString::fromUtf8(
"deleteButton_s"));
404 memoLabel_s->setObjectName(QString::fromUtf8(
"memoLabel_s"));
405 memoLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
416 amountLabel_s->setObjectName(QString::fromUtf8(
"amountLabel_s"));
417 amountLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
422 payAmount_s->setObjectName(QString::fromUtf8(
"payAmount_s"));
428 #if QT_CONFIG(shortcut) 434 #endif // QT_CONFIG(shortcut) 452 #if QT_CONFIG(tooltip) 453 SendCoins->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"This is a normal payment.",
nullptr));
454 #endif // QT_CONFIG(tooltip) 455 payToLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay &To:",
nullptr));
456 #if QT_CONFIG(tooltip) 457 payTo->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"The Bitcoin address to send the payment to",
nullptr));
458 #endif // QT_CONFIG(tooltip) 459 #if QT_CONFIG(tooltip) 460 addressBookButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Choose previously used address",
nullptr));
461 #endif // QT_CONFIG(tooltip) 463 #if QT_CONFIG(shortcut) 464 addressBookButton->setShortcut(QCoreApplication::translate(
"SendCoinsEntry",
"Alt+A",
nullptr));
465 #endif // QT_CONFIG(shortcut) 466 #if QT_CONFIG(tooltip) 467 pasteButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard",
nullptr));
468 #endif // QT_CONFIG(tooltip) 470 #if QT_CONFIG(shortcut) 471 pasteButton->setShortcut(QCoreApplication::translate(
"SendCoinsEntry",
"Alt+P",
nullptr));
472 #endif // QT_CONFIG(shortcut) 473 #if QT_CONFIG(tooltip) 474 deleteButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
475 #endif // QT_CONFIG(tooltip) 477 labellLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"&Label:",
nullptr));
478 #if QT_CONFIG(tooltip) 479 addAsLabel->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses",
nullptr));
480 #endif // QT_CONFIG(tooltip) 481 amountLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
482 #if QT_CONFIG(tooltip) 483 checkboxSubtractFeeFromAmount->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field. If multiple recipients are selected, the fee is split equally.",
nullptr));
484 #endif // QT_CONFIG(tooltip) 487 messageLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Message:",
nullptr));
488 #if QT_CONFIG(tooltip) 489 messageTextLabel->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"A message that was attached to the bitcoin: URI which will be stored with the transaction for your reference. Note: This message will not be sent over the Bitcoin network.",
nullptr));
490 #endif // QT_CONFIG(tooltip) 491 #if QT_CONFIG(tooltip) 493 #endif // QT_CONFIG(tooltip) 494 payToLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay To:",
nullptr));
495 #if QT_CONFIG(tooltip) 496 deleteButton_is->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
497 #endif // QT_CONFIG(tooltip) 499 memoLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Memo:",
nullptr));
500 amountLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
501 #if QT_CONFIG(tooltip) 503 #endif // QT_CONFIG(tooltip) 504 payToLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay To:",
nullptr));
505 #if QT_CONFIG(tooltip) 506 deleteButton_s->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
507 #endif // QT_CONFIG(tooltip) 509 memoLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Memo:",
nullptr));
510 amountLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
522 #endif // UI_SENDCOINSENTRY_H QLabel * messageTextLabel
Definition: ui_sendcoinsentry.h:48
Definition: ui_sendcoinsentry.h:29
QValidatedLineEdit * payTo
Definition: ui_sendcoinsentry.h:36
QHBoxLayout * payToLayout_is
Definition: ui_sendcoinsentry.h:53
QToolButton * addressBookButton
Definition: ui_sendcoinsentry.h:37
Definition: ui_sendcoinsentry.h:517
QToolButton * deleteButton
Definition: ui_sendcoinsentry.h:39
void setupUi(QStackedWidget *SendCoinsEntry)
Definition: ui_sendcoinsentry.h:71
Definition: addressbookpage.h:14
QHBoxLayout * payToLayout
Definition: ui_sendcoinsentry.h:35
BitcoinAmountField * payAmount_is
Definition: ui_sendcoinsentry.h:59
Definition: bitcoinamountfield.h:20
QFrame * SendCoins
Definition: ui_sendcoinsentry.h:32
QLabel * payToLabel_s
Definition: ui_sendcoinsentry.h:62
BitcoinAmountField * payAmount_s
Definition: ui_sendcoinsentry.h:69
QHBoxLayout * horizontalLayoutAmount
Definition: ui_sendcoinsentry.h:43
QCheckBox * checkboxSubtractFeeFromAmount
Definition: ui_sendcoinsentry.h:45
QLabel * labellLabel
Definition: ui_sendcoinsentry.h:40
QToolButton * deleteButton_s
Definition: ui_sendcoinsentry.h:65
QFrame * SendCoins_AuthenticatedPaymentRequest
Definition: ui_sendcoinsentry.h:60
QFrame * SendCoins_UnauthenticatedPaymentRequest
Definition: ui_sendcoinsentry.h:50
Definition: qvalidatedlineedit.h:13
QPushButton * useAvailableBalanceButton
Definition: ui_sendcoinsentry.h:46
QLabel * amountLabel_is
Definition: ui_sendcoinsentry.h:58
QGridLayout * gridLayout_s
Definition: ui_sendcoinsentry.h:61
QToolButton * deleteButton_is
Definition: ui_sendcoinsentry.h:55
QLineEdit * addAsLabel
Definition: ui_sendcoinsentry.h:41
QLabel * messageLabel
Definition: ui_sendcoinsentry.h:47
QToolButton * pasteButton
Definition: ui_sendcoinsentry.h:38
QLabel * amountLabel
Definition: ui_sendcoinsentry.h:42
QGridLayout * gridLayout
Definition: ui_sendcoinsentry.h:33
QLabel * payToLabel_is
Definition: ui_sendcoinsentry.h:52
QLabel * payTo_is
Definition: ui_sendcoinsentry.h:54
QLabel * memoTextLabel_s
Definition: ui_sendcoinsentry.h:67
QLabel * memoLabel_s
Definition: ui_sendcoinsentry.h:66
QLabel * memoLabel_is
Definition: ui_sendcoinsentry.h:56
QHBoxLayout * payToLayout_s
Definition: ui_sendcoinsentry.h:63
QLabel * amountLabel_s
Definition: ui_sendcoinsentry.h:68
QGridLayout * gridLayout_is
Definition: ui_sendcoinsentry.h:51
BitcoinAmountField * payAmount
Definition: ui_sendcoinsentry.h:44
void retranslateUi(QStackedWidget *SendCoinsEntry)
Definition: ui_sendcoinsentry.h:450
QLabel * memoTextLabel_is
Definition: ui_sendcoinsentry.h:57
Definition: sendcoinsentry.h:24
QLabel * payToLabel
Definition: ui_sendcoinsentry.h:34
QFrame * line
Definition: ui_sendcoinsentry.h:49
QLabel * payTo_s
Definition: ui_sendcoinsentry.h:64