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/QToolButton> 23 #include <QtWidgets/QWidget> 53 SendCoinsEntry->setObjectName(QString::fromUtf8(
"SendCoinsEntry"));
58 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
63 payToLabel->setObjectName(QString::fromUtf8(
"payToLabel"));
64 payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
70 payToLayout->setObjectName(QString::fromUtf8(
"payToLayout"));
72 payTo->setObjectName(QString::fromUtf8(
"payTo"));
79 icon.addFile(QString::fromUtf8(
":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
86 pasteButton->setObjectName(QString::fromUtf8(
"pasteButton"));
88 icon1.addFile(QString::fromUtf8(
":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
95 deleteButton->setObjectName(QString::fromUtf8(
"deleteButton"));
97 icon2.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
107 labellLabel->setObjectName(QString::fromUtf8(
"labellLabel"));
108 labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
113 addAsLabel->setObjectName(QString::fromUtf8(
"addAsLabel"));
118 amountLabel->setObjectName(QString::fromUtf8(
"amountLabel"));
119 amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
126 payAmount->setObjectName(QString::fromUtf8(
"payAmount"));
145 messageLabel->setObjectName(QString::fromUtf8(
"messageLabel"));
146 messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
157 line->setObjectName(QString::fromUtf8(
"line"));
158 line->setFrameShape(QFrame::HLine);
159 line->setFrameShadow(QFrame::Sunken);
163 #ifndef QT_NO_SHORTCUT 167 #endif // QT_NO_SHORTCUT 181 payToLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Pay &To:",
nullptr));
182 #ifndef QT_NO_TOOLTIP 183 payTo->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The Bitcoin address to send the payment to",
nullptr));
184 #endif // QT_NO_TOOLTIP 185 #ifndef QT_NO_TOOLTIP 186 addressBookButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Choose previously used address",
nullptr));
187 #endif // QT_NO_TOOLTIP 189 #ifndef QT_NO_SHORTCUT 190 addressBookButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+A",
nullptr));
191 #endif // QT_NO_SHORTCUT 192 #ifndef QT_NO_TOOLTIP 193 pasteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard",
nullptr));
194 #endif // QT_NO_TOOLTIP 196 #ifndef QT_NO_SHORTCUT 197 pasteButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+P",
nullptr));
198 #endif // QT_NO_SHORTCUT 199 #ifndef QT_NO_TOOLTIP 200 deleteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry",
nullptr));
201 #endif // QT_NO_TOOLTIP 203 labellLabel->setText(QApplication::translate(
"SendCoinsEntry",
"&Label:",
nullptr));
204 #ifndef QT_NO_TOOLTIP 205 addAsLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses",
nullptr));
206 #endif // QT_NO_TOOLTIP 207 addAsLabel->setPlaceholderText(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses",
nullptr));
208 amountLabel->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:",
nullptr));
209 #ifndef QT_NO_TOOLTIP 210 payAmount->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The amount to send in the selected unit",
nullptr));
211 #endif // QT_NO_TOOLTIP 212 #ifndef QT_NO_TOOLTIP 213 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.",
nullptr));
214 #endif // QT_NO_TOOLTIP 217 messageLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Message:",
nullptr));
218 #ifndef QT_NO_TOOLTIP 219 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.",
nullptr));
220 #endif // QT_NO_TOOLTIP 232 #endif // UI_SENDCOINSENTRY_H Widget for entering bitcoin amounts.
QHBoxLayout * payToLayout
QToolButton * deleteButton
QLabel * messageTextLabel
void setupUi(QWidget *SendCoinsEntry)
QValidatedLineEdit * payTo
Line edit that can be marked as "invalid" to show input validation feedback.
A single entry in the dialog for sending bitcoins.
QHBoxLayout * horizontalLayoutAmount
void retranslateUi(QWidget *SendCoinsEntry)
QToolButton * pasteButton
QCheckBox * checkboxSubtractFeeFromAmount
QPushButton * useAvailableBalanceButton
QToolButton * addressBookButton
BitcoinAmountField * payAmount