9#ifndef UI_SENDCOINSDIALOG_H
10#define UI_SENDCOINSDIALOG_H
12#include <QtCore/QVariant>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QButtonGroup>
16#include <QtWidgets/QCheckBox>
17#include <QtWidgets/QComboBox>
18#include <QtWidgets/QDialog>
19#include <QtWidgets/QFormLayout>
20#include <QtWidgets/QFrame>
21#include <QtWidgets/QGridLayout>
22#include <QtWidgets/QHBoxLayout>
23#include <QtWidgets/QLabel>
24#include <QtWidgets/QPushButton>
25#include <QtWidgets/QRadioButton>
26#include <QtWidgets/QScrollArea>
27#include <QtWidgets/QSpacerItem>
28#include <QtWidgets/QVBoxLayout>
29#include <QtWidgets/QWidget>
143 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
147 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
148 sizePolicy.setHorizontalStretch(0);
149 sizePolicy.setVerticalStretch(0);
150 sizePolicy.setHeightForWidth(
frameCoinControl->sizePolicy().hasHeightForWidth());
168 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
169 sizePolicy1.setHorizontalStretch(0);
170 sizePolicy1.setVerticalStretch(0);
218 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
219 sizePolicy2.setHorizontalStretch(0);
220 sizePolicy2.setVerticalStretch(0);
221 sizePolicy2.setHeightForWidth(
widgetCoinControl->sizePolicy().hasHeightForWidth());
250 labelCoinControlQuantity->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
265 labelCoinControlBytes->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
289 labelCoinControlAmount->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
304 labelCoinControlLowOutput->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
328 labelCoinControlFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
352 labelCoinControlAfterFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
367 labelCoinControlChange->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
394 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
395 sizePolicy3.setHorizontalStretch(0);
396 sizePolicy3.setVerticalStretch(0);
404 QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Expanding);
405 sizePolicy4.setHorizontalStretch(0);
406 sizePolicy4.setVerticalStretch(0);
429 scrollArea->setObjectName(QString::fromUtf8(
"scrollArea"));
439 entries->setObjectName(QString::fromUtf8(
"entries"));
443 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
453 frameFee->setObjectName(QString::fromUtf8(
"frameFee"));
454 sizePolicy.setHeightForWidth(
frameFee->sizePolicy().hasHeightForWidth());
455 frameFee->setSizePolicy(sizePolicy);
456 frameFee->setMaximumSize(QSize(16777215, 16777215));
457 frameFee->setFrameShape(QFrame::StyledPanel);
458 frameFee->setFrameShadow(QFrame::Sunken);
482 sizePolicy1.setHeightForWidth(
labelFeeHeadline->sizePolicy().hasHeightForWidth());
502 verticalSpacer_5 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
516 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
535 gridLayoutFee->setObjectName(QString::fromUtf8(
"gridLayoutFee"));
550 customFee->setObjectName(QString::fromUtf8(
"customFee"));
554 horizontalSpacer_6 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
569 horizontalSpacer_2 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
583 groupFee->setObjectName(QString::fromUtf8(
"groupFee"));
585 radioSmartFee->setObjectName(QString::fromUtf8(
"radioSmartFee"));
590 verticalSpacer_2 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
602 radioCustomFee->setObjectName(QString::fromUtf8(
"radioCustomFee"));
606 verticalSpacer_6 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
621 labelSmartFee->setObjectName(QString::fromUtf8(
"labelSmartFee"));
631 labelSmartFee2->setObjectName(QString::fromUtf8(
"labelSmartFee2"));
635 horizontalSpacer_5 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
647 labelSmartFee3->setObjectName(QString::fromUtf8(
"labelSmartFee3"));
678 verticalSpacer_4 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
690 optInRBF->setObjectName(QString::fromUtf8(
"optInRBF"));
697 verticalSpacerFee =
new QSpacerItem(40, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
710 sendButton->setObjectName(QString::fromUtf8(
"sendButton"));
713 icon.addFile(QString::fromUtf8(
":/icons/send"), QSize(), QIcon::Normal, QIcon::Off);
720 clearButton->setObjectName(QString::fromUtf8(
"clearButton"));
721 QSizePolicy sizePolicy5(QSizePolicy::Minimum, QSizePolicy::Fixed);
722 sizePolicy5.setHorizontalStretch(0);
723 sizePolicy5.setVerticalStretch(0);
724 sizePolicy5.setHeightForWidth(
clearButton->sizePolicy().hasHeightForWidth());
727 icon1.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
734 addButton->setObjectName(QString::fromUtf8(
"addButton"));
736 icon2.addFile(QString::fromUtf8(
":/icons/add"), QSize(), QIcon::Normal, QIcon::Off);
742 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
751 QSizePolicy sizePolicy6(QSizePolicy::Preferred, QSizePolicy::Fixed);
752 sizePolicy6.setHorizontalStretch(0);
753 sizePolicy6.setVerticalStretch(0);
754 sizePolicy6.setHeightForWidth(
labelBalanceName->sizePolicy().hasHeightForWidth());
760 labelBalance->setObjectName(QString::fromUtf8(
"labelBalance"));
761 sizePolicy6.setHeightForWidth(
labelBalance->sizePolicy().hasHeightForWidth());
764 labelBalance->setText(QString::fromUtf8(
"123.456 BTC"));
765 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
787 SendCoinsDialog->setWindowTitle(QCoreApplication::translate(
"SendCoinsDialog",
"Send Coins",
nullptr));
788 labelCoinControlFeatures->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Coin Control Features",
nullptr));
789 pushButtonCoinControl->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Inputs\342\200\246",
nullptr));
799#if QT_CONFIG(tooltip)
800 checkBoxCoinControlChange->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"If this is activated, but the change address is empty or invalid, change will be sent to a newly generated address.",
nullptr));
804 labelFeeHeadline->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Transaction Fee:",
nullptr));
806 buttonChooseFee->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Choose\342\200\246",
nullptr));
807#if QT_CONFIG(tooltip)
808 fallbackFeeWarningLabel->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Using the fallbackfee can result in sending a transaction that will take several hours or days (or never) to confirm. Consider choosing your fee manually or wait until you have validated the complete chain.",
nullptr));
810 fallbackFeeWarningLabel->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Warning: Fee estimation is currently not possible.",
nullptr));
811#if QT_CONFIG(tooltip)
812 buttonMinimizeFee->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Hide transaction fee settings",
nullptr));
814 buttonMinimizeFee->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Hide",
nullptr));
815#if QT_CONFIG(tooltip)
816 labelCustomPerKilobyte->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Specify a custom fee per kB (1,000 bytes) of the transaction's virtual size.\n"
818"Note: Since the fee is calculated on a per-byte basis, a fee rate of \"100 satoshis per kvB\" for a transaction size of 500 virtual bytes (half of 1 kvB) would ultimately yield a fee of only 50 satoshis.",
nullptr));
821#if QT_CONFIG(tooltip)
822 labelCustomFeeWarning->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"When there is less transaction volume than space in the blocks, miners as well as relaying nodes may enforce a minimum fee. Paying only this minimum fee is just fine, but be aware that this can result in a never confirming transaction once there is more demand for bitcoin transactions than the network can process.",
nullptr));
824 labelCustomFeeWarning->setText(QCoreApplication::translate(
"SendCoinsDialog",
"A too low fee might result in a never confirming transaction (read the tooltip)",
nullptr));
825 radioSmartFee->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Recommended:",
nullptr));
826 radioCustomFee->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Custom:",
nullptr));
829 labelSmartFee2->setText(QCoreApplication::translate(
"SendCoinsDialog",
"(Smart fee not initialized yet. This usually takes a few blocks\342\200\246)",
nullptr));
830 labelSmartFee3->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Confirmation time target:",
nullptr));
831 optInRBF->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Enable Replace-By-Fee",
nullptr));
832#if QT_CONFIG(tooltip)
833 optInRBF->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"With Replace-By-Fee (BIP-125) you can increase a transaction's fee after it is sent. Without this, a higher fee may be recommended to compensate for increased transaction delay risk.",
nullptr));
835#if QT_CONFIG(tooltip)
836 sendButton->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Confirm the send action",
nullptr));
838 sendButton->setText(QCoreApplication::translate(
"SendCoinsDialog",
"S&end",
nullptr));
839#if QT_CONFIG(tooltip)
840 clearButton->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Clear all fields of the form.",
nullptr));
842 clearButton->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Clear &All",
nullptr));
843#if QT_CONFIG(tooltip)
844 addButton->setToolTip(QCoreApplication::translate(
"SendCoinsDialog",
"Send to multiple recipients at once",
nullptr));
846 addButton->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Add &Recipient",
nullptr));
847 labelBalanceName->setText(QCoreApplication::translate(
"SendCoinsDialog",
"Balance:",
nullptr));
Widget for entering bitcoin amounts.
Line edit that can be marked as "invalid" to show input validation feedback.
void setEnabled(bool enabled)
Dialog for sending bitcoins.
QWidget * scrollAreaWidgetContents
QLabel * labelCoinControlAmountText
QHBoxLayout * horizontalLayout
QHBoxLayout * horizontalLayoutFee1
QLabel * labelCoinControlQuantity
QVBoxLayout * verticalLayoutFee2
QHBoxLayout * horizontalLayoutSmartFee
QVBoxLayout * verticalLayout_2
QLabel * labelCoinControlChangeText
QHBoxLayout * horizontalLayoutFee8
QVBoxLayout * verticalLayoutFee9
QFormLayout * formLayoutCoinControl2
QFormLayout * formLayoutCoinControl4
QSpacerItem * horizontalSpacer_5
QVBoxLayout * verticalLayoutFee7
QLabel * fallbackFeeWarningLabel
QLabel * labelCoinControlAutomaticallySelected
QLabel * labelCoinControlBytes
QLabel * labelFeeHeadline
QSpacerItem * horizontalSpacer_6
QValidatedLineEdit * lineEditCoinControlChange
QSpacerItem * verticalSpacerSmartFee
QLabel * labelCoinControlChange
QRadioButton * radioSmartFee
QLabel * labelCoinControlChangeLabel
QSpacerItem * horizontalSpacer_4
QLabel * labelCoinControlAfterFeeText
QHBoxLayout * horizontalLayoutFee9
QVBoxLayout * verticalLayoutFee6
QHBoxLayout * horizontalLayoutCoinControl4
QVBoxLayout * verticalLayoutCoinControl
QHBoxLayout * horizontalLayoutCoinControl3
QLabel * labelFeeMinimized
QPushButton * buttonMinimizeFee
QVBoxLayout * verticalLayout
QLabel * labelCustomFeeWarning
QSpacerItem * horizontalSpacer
QHBoxLayout * horizontalLayoutCoinControl5
QFormLayout * formLayoutCoinControl1
QVBoxLayout * verticalLayoutFee5
QFormLayout * formLayoutCoinControl3
QHBoxLayout * horizontalLayoutFee12
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout_2
QHBoxLayout * horizontalLayoutCoinControl2
QVBoxLayout * verticalLayoutFee12
QLabel * labelCoinControlInsuffFunds
QSpacerItem * verticalSpacerFee
QVBoxLayout * verticalLayoutFee8
void retranslateUi(QDialog *SendCoinsDialog)
QCheckBox * checkBoxCoinControlChange
QSpacerItem * verticalSpacerCoinControl
QLabel * labelBalanceName
QSpacerItem * horizontalSpacerCoinControl
QRadioButton * radioCustomFee
QSpacerItem * horizontalSpacerConfTarget
QHBoxLayout * horizontalLayoutFee13
QLabel * labelCoinControlQuantityText
QPushButton * pushButtonCoinControl
QSpacerItem * verticalSpacer_6
void setupUi(QDialog *SendCoinsDialog)
QSpacerItem * verticalSpacer_2
QLabel * labelCustomPerKilobyte
QFrame * frameCoinControl
QComboBox * confTargetSelector
QSpacerItem * verticalSpacer_5
QFrame * frameFeeSelection
QPushButton * clearButton
QHBoxLayout * horizontalLayoutCoinControl1
QLabel * labelCoinControlLowOutput
QHBoxLayout * horizontalLayoutConfTarget
QGridLayout * gridLayoutFee
QSpacerItem * verticalSpacer_4
QLabel * labelCoinControlFeeText
QVBoxLayout * verticalLayoutCoinControl2
QVBoxLayout * verticalLayoutFee4
QWidget * widgetCoinControl
QLabel * labelCoinControlBytesText
BitcoinAmountField * customFee
QLabel * labelFeeEstimation
QLabel * labelCoinControlAfterFee
QLabel * labelCoinControlFee
QPushButton * buttonChooseFee
QLabel * labelCoinControlLowOutputText
QSpacerItem * horizontalSpacer_2
QLabel * labelCoinControlFeatures
QLabel * labelCoinControlAmount
QVBoxLayout * verticalLayoutFee3
QVBoxLayout * verticalLayoutFee1