9 #ifndef UI_SENDCOINSENTRY_H 10 #define UI_SENDCOINSENTRY_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QStackedWidget> 25 #include <QtWidgets/QToolButton> 81 SendCoins->setObjectName(QStringLiteral(
"SendCoins"));
82 SendCoins->setFrameShape(QFrame::NoFrame);
84 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
89 payToLabel->setObjectName(QStringLiteral(
"payToLabel"));
90 payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
96 payToLayout->setObjectName(QStringLiteral(
"payToLayout"));
98 payTo->setObjectName(QStringLiteral(
"payTo"));
105 icon.addFile(QStringLiteral(
":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
112 pasteButton->setObjectName(QStringLiteral(
"pasteButton"));
114 icon1.addFile(QStringLiteral(
":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
121 deleteButton->setObjectName(QStringLiteral(
"deleteButton"));
123 icon2.addFile(QStringLiteral(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
133 labellLabel->setObjectName(QStringLiteral(
"labellLabel"));
134 labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
139 addAsLabel->setObjectName(QStringLiteral(
"addAsLabel"));
144 amountLabel->setObjectName(QStringLiteral(
"amountLabel"));
145 amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
152 payAmount->setObjectName(QStringLiteral(
"payAmount"));
171 messageLabel->setObjectName(QStringLiteral(
"messageLabel"));
172 messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
183 line->setObjectName(QStringLiteral(
"line"));
184 line->setFrameShape(QFrame::HLine);
185 line->setFrameShadow(QFrame::Sunken);
193 QBrush brush(QColor(0, 0, 0, 255));
194 brush.setStyle(Qt::SolidPattern);
195 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
196 QBrush brush1(QColor(255, 255, 127, 255));
197 brush1.setStyle(Qt::SolidPattern);
198 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
199 QBrush brush2(QColor(255, 255, 255, 255));
200 brush2.setStyle(Qt::SolidPattern);
201 palette.setBrush(QPalette::Active, QPalette::Light, brush2);
202 QBrush brush3(QColor(255, 255, 191, 255));
203 brush3.setStyle(Qt::SolidPattern);
204 palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
205 QBrush brush4(QColor(127, 127, 63, 255));
206 brush4.setStyle(Qt::SolidPattern);
207 palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
208 QBrush brush5(QColor(170, 170, 84, 255));
209 brush5.setStyle(Qt::SolidPattern);
210 palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
211 palette.setBrush(QPalette::Active, QPalette::Text, brush);
212 palette.setBrush(QPalette::Active, QPalette::BrightText, brush2);
213 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
214 palette.setBrush(QPalette::Active, QPalette::Base, brush2);
215 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
216 palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
217 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush3);
218 QBrush brush6(QColor(255, 255, 220, 255));
219 brush6.setStyle(Qt::SolidPattern);
220 palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
221 palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
222 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
223 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
224 palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
225 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
226 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
227 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
228 palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
229 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush2);
230 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
231 palette.setBrush(QPalette::Inactive, QPalette::Base, brush2);
232 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
233 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
234 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush3);
235 palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
236 palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
237 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
238 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
239 palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
240 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
241 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
242 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
243 palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
244 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush2);
245 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
246 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
247 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
248 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
249 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
250 palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
251 palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
257 gridLayout_is->setObjectName(QStringLiteral(
"gridLayout_is"));
259 payToLabel_is->setObjectName(QStringLiteral(
"payToLabel_is"));
260 payToLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
268 payTo_is->setObjectName(QStringLiteral(
"payTo_is"));
282 memoLabel_is->setObjectName(QStringLiteral(
"memoLabel_is"));
283 memoLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
295 amountLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
300 payAmount_is->setObjectName(QStringLiteral(
"payAmount_is"));
309 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
310 QBrush brush7(QColor(140, 232, 119, 255));
311 brush7.setStyle(Qt::SolidPattern);
312 palette1.setBrush(QPalette::Active, QPalette::Button, brush7);
313 QBrush brush8(QColor(230, 255, 224, 255));
314 brush8.setStyle(Qt::SolidPattern);
315 palette1.setBrush(QPalette::Active, QPalette::Light, brush8);
316 QBrush brush9(QColor(185, 243, 171, 255));
317 brush9.setStyle(Qt::SolidPattern);
318 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush9);
319 QBrush brush10(QColor(70, 116, 59, 255));
320 brush10.setStyle(Qt::SolidPattern);
321 palette1.setBrush(QPalette::Active, QPalette::Dark, brush10);
322 QBrush brush11(QColor(93, 155, 79, 255));
323 brush11.setStyle(Qt::SolidPattern);
324 palette1.setBrush(QPalette::Active, QPalette::Mid, brush11);
325 palette1.setBrush(QPalette::Active, QPalette::Text, brush);
326 QBrush brush12(QColor(155, 255, 147, 255));
327 brush12.setStyle(Qt::SolidPattern);
328 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush12);
329 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
330 QBrush brush13(QColor(119, 255, 233, 255));
331 brush13.setStyle(Qt::SolidPattern);
332 palette1.setBrush(QPalette::Active, QPalette::Base, brush13);
333 palette1.setBrush(QPalette::Active, QPalette::Window, brush7);
334 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush);
335 QBrush brush14(QColor(197, 243, 187, 255));
336 brush14.setStyle(Qt::SolidPattern);
337 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush14);
338 QBrush brush15(QColor(125, 194, 122, 255));
339 brush15.setStyle(Qt::SolidPattern);
340 palette1.setBrush(QPalette::Active, QPalette::NoRole, brush15);
341 palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
342 palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
343 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
344 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush7);
345 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush8);
346 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush9);
347 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush10);
348 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush11);
349 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush);
350 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush12);
351 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
352 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush13);
353 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush7);
354 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
355 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush14);
356 palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush15);
357 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
358 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
359 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush10);
360 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush7);
361 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush8);
362 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush9);
363 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush10);
364 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush11);
365 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush10);
366 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush12);
367 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush10);
368 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush7);
369 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush7);
370 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
371 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush7);
372 palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush15);
373 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
374 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
380 gridLayout_s->setObjectName(QStringLiteral(
"gridLayout_s"));
382 payToLabel_s->setObjectName(QStringLiteral(
"payToLabel_s"));
383 payToLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
389 payToLayout_s->setObjectName(QStringLiteral(
"payToLayout_s"));
391 payTo_s->setObjectName(QStringLiteral(
"payTo_s"));
392 payTo_s->setTextFormat(Qt::PlainText);
406 memoLabel_s->setObjectName(QStringLiteral(
"memoLabel_s"));
407 memoLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
418 amountLabel_s->setObjectName(QStringLiteral(
"amountLabel_s"));
419 amountLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
424 payAmount_s->setObjectName(QStringLiteral(
"payAmount_s"));
430 #ifndef QT_NO_SHORTCUT 436 #endif // QT_NO_SHORTCUT 454 payToLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Pay &To:", Q_NULLPTR));
455 #ifndef QT_NO_TOOLTIP 456 payTo->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The Bitcoin address to send the payment to", Q_NULLPTR));
457 #endif // QT_NO_TOOLTIP 458 #ifndef QT_NO_TOOLTIP 459 addressBookButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Choose previously used address", Q_NULLPTR));
460 #endif // QT_NO_TOOLTIP 462 #ifndef QT_NO_SHORTCUT 463 addressBookButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+A", Q_NULLPTR));
464 #endif // QT_NO_SHORTCUT 465 #ifndef QT_NO_TOOLTIP 466 pasteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard", Q_NULLPTR));
467 #endif // QT_NO_TOOLTIP 469 #ifndef QT_NO_SHORTCUT 470 pasteButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+P", Q_NULLPTR));
471 #endif // QT_NO_SHORTCUT 472 #ifndef QT_NO_TOOLTIP 473 deleteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", Q_NULLPTR));
474 #endif // QT_NO_TOOLTIP 476 labellLabel->setText(QApplication::translate(
"SendCoinsEntry",
"&Label:", Q_NULLPTR));
477 #ifndef QT_NO_TOOLTIP 478 addAsLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses", Q_NULLPTR));
479 #endif // QT_NO_TOOLTIP 480 addAsLabel->setPlaceholderText(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses", Q_NULLPTR));
481 amountLabel->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", Q_NULLPTR));
482 #ifndef QT_NO_TOOLTIP 483 payAmount->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The amount to send in the selected unit", Q_NULLPTR));
484 #endif // QT_NO_TOOLTIP 485 #ifndef QT_NO_TOOLTIP 486 checkboxSubtractFeeFromAmount->setToolTip(QApplication::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.", Q_NULLPTR));
487 #endif // QT_NO_TOOLTIP 490 messageLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Message:", Q_NULLPTR));
491 #ifndef QT_NO_TOOLTIP 492 messageTextLabel->setToolTip(QApplication::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.", Q_NULLPTR));
493 #endif // QT_NO_TOOLTIP 494 #ifndef QT_NO_TOOLTIP 496 #endif // QT_NO_TOOLTIP 497 payToLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", Q_NULLPTR));
498 #ifndef QT_NO_TOOLTIP 499 deleteButton_is->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", Q_NULLPTR));
500 #endif // QT_NO_TOOLTIP 502 memoLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", Q_NULLPTR));
503 amountLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", Q_NULLPTR));
504 #ifndef QT_NO_TOOLTIP 506 #endif // QT_NO_TOOLTIP 507 payToLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", Q_NULLPTR));
508 #ifndef QT_NO_TOOLTIP 509 deleteButton_s->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", Q_NULLPTR));
510 #endif // QT_NO_TOOLTIP 512 memoLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", Q_NULLPTR));
513 amountLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", Q_NULLPTR));
525 #endif // UI_SENDCOINSENTRY_H Widget for entering bitcoin amounts.
BitcoinAmountField * payAmount_s
QHBoxLayout * payToLayout
QToolButton * deleteButton
QLabel * memoTextLabel_is
QLabel * messageTextLabel
QValidatedLineEdit * payTo
BitcoinAmountField * payAmount_is
QToolButton * deleteButton_s
Line edit that can be marked as "invalid" to show input validation feedback.
A single entry in the dialog for sending bitcoins.
QFrame * SendCoins_UnauthenticatedPaymentRequest
QHBoxLayout * payToLayout_is
QHBoxLayout * horizontalLayoutAmount
QToolButton * deleteButton_is
void setupUi(QStackedWidget *SendCoinsEntry)
QHBoxLayout * payToLayout_s
QToolButton * pasteButton
QFrame * SendCoins_AuthenticatedPaymentRequest
QCheckBox * checkboxSubtractFeeFromAmount
QPushButton * useAvailableBalanceButton
QToolButton * addressBookButton
void retranslateUi(QStackedWidget *SendCoinsEntry)
QGridLayout * gridLayout_s
BitcoinAmountField * payAmount
QGridLayout * gridLayout_is