9#ifndef UI_SENDCOINSENTRY_H
10#define UI_SENDCOINSENTRY_H
12#include <QtCore/QVariant>
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)
452 payToLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay &To:",
nullptr));
453#if QT_CONFIG(tooltip)
454 payTo->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"The Bitcoin address to send the payment to",
nullptr));
456#if QT_CONFIG(tooltip)
457 addressBookButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Choose previously used address",
nullptr));
460#if QT_CONFIG(shortcut)
461 addressBookButton->setShortcut(QCoreApplication::translate(
"SendCoinsEntry",
"Alt+A",
nullptr));
463#if QT_CONFIG(tooltip)
464 pasteButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard",
nullptr));
467#if QT_CONFIG(shortcut)
468 pasteButton->setShortcut(QCoreApplication::translate(
"SendCoinsEntry",
"Alt+P",
nullptr));
470#if QT_CONFIG(tooltip)
471 deleteButton->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
474 labellLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"&Label:",
nullptr));
475#if QT_CONFIG(tooltip)
476 addAsLabel->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses",
nullptr));
478 addAsLabel->setPlaceholderText(QCoreApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses",
nullptr));
479 amountLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
480#if QT_CONFIG(tooltip)
481 payAmount->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"The amount to send in the selected unit",
nullptr));
483#if QT_CONFIG(tooltip)
484 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));
488 messageLabel->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Message:",
nullptr));
489#if QT_CONFIG(tooltip)
490 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));
492#if QT_CONFIG(tooltip)
495 payToLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay To:",
nullptr));
496#if QT_CONFIG(tooltip)
497 deleteButton_is->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
500 memoLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Memo:",
nullptr));
501 amountLabel_is->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
502#if QT_CONFIG(tooltip)
505 payToLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Pay To:",
nullptr));
506#if QT_CONFIG(tooltip)
507 deleteButton_s->setToolTip(QCoreApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
510 memoLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"Memo:",
nullptr));
511 amountLabel_s->setText(QCoreApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
Widget for entering bitcoin amounts.
Line edit that can be marked as "invalid" to show input validation feedback.
A single entry in the dialog for sending bitcoins.
QGridLayout * gridLayout_s
QToolButton * deleteButton_is
QHBoxLayout * payToLayout_s
QValidatedLineEdit * payTo
BitcoinAmountField * payAmount_is
QPushButton * useAvailableBalanceButton
QLabel * memoTextLabel_is
QToolButton * pasteButton
BitcoinAmountField * payAmount_s
QLabel * messageTextLabel
QFrame * SendCoins_UnauthenticatedPaymentRequest
QCheckBox * checkboxSubtractFeeFromAmount
void setupUi(QStackedWidget *SendCoinsEntry)
QGridLayout * gridLayout_is
QHBoxLayout * payToLayout
QFrame * SendCoins_AuthenticatedPaymentRequest
QToolButton * deleteButton
QHBoxLayout * payToLayout_is
QToolButton * addressBookButton
QHBoxLayout * horizontalLayoutAmount
QToolButton * deleteButton_s
BitcoinAmountField * payAmount
void retranslateUi(QStackedWidget *SendCoinsEntry)