Bitcoin Core  28.1.0
P2P Digital Currency
ui_sendcoinsentry.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'sendcoinsentry.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_SENDCOINSENTRY_H
10 #define UI_SENDCOINSENTRY_H
11 
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>
24 #include "qt/bitcoinamountfield.h"
25 #include "qt/qvalidatedlineedit.h"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QGridLayout *gridLayout;
33  QLabel *payToLabel;
34  QHBoxLayout *payToLayout;
36  QToolButton *addressBookButton;
37  QToolButton *pasteButton;
38  QToolButton *deleteButton;
39  QLabel *labellLabel;
40  QLineEdit *addAsLabel;
41  QLabel *amountLabel;
42  QHBoxLayout *horizontalLayoutAmount;
46  QLabel *messageLabel;
48  QFrame *line;
49 
50  void setupUi(QWidget *SendCoinsEntry)
51  {
52  if (SendCoinsEntry->objectName().isEmpty())
53  SendCoinsEntry->setObjectName(QString::fromUtf8("SendCoinsEntry"));
54  SendCoinsEntry->resize(729, 150);
55  SendCoinsEntry->setFocusPolicy(Qt::TabFocus);
56  SendCoinsEntry->setAutoFillBackground(false);
57  gridLayout = new QGridLayout(SendCoinsEntry);
58  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
59  gridLayout->setHorizontalSpacing(12);
60  gridLayout->setVerticalSpacing(8);
61  gridLayout->setContentsMargins(-1, 8, -1, 4);
62  payToLabel = new QLabel(SendCoinsEntry);
63  payToLabel->setObjectName(QString::fromUtf8("payToLabel"));
64  payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
65 
66  gridLayout->addWidget(payToLabel, 0, 0, 1, 1);
67 
68  payToLayout = new QHBoxLayout();
69  payToLayout->setSpacing(0);
70  payToLayout->setObjectName(QString::fromUtf8("payToLayout"));
72  payTo->setObjectName(QString::fromUtf8("payTo"));
73 
74  payToLayout->addWidget(payTo);
75 
76  addressBookButton = new QToolButton(SendCoinsEntry);
77  addressBookButton->setObjectName(QString::fromUtf8("addressBookButton"));
78  QIcon icon;
79  icon.addFile(QString::fromUtf8(":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
80  addressBookButton->setIcon(icon);
81  addressBookButton->setIconSize(QSize(22, 22));
82 
83  payToLayout->addWidget(addressBookButton);
84 
85  pasteButton = new QToolButton(SendCoinsEntry);
86  pasteButton->setObjectName(QString::fromUtf8("pasteButton"));
87  QIcon icon1;
88  icon1.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
89  pasteButton->setIcon(icon1);
90  pasteButton->setIconSize(QSize(22, 22));
91 
92  payToLayout->addWidget(pasteButton);
93 
94  deleteButton = new QToolButton(SendCoinsEntry);
95  deleteButton->setObjectName(QString::fromUtf8("deleteButton"));
96  QIcon icon2;
97  icon2.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
98  deleteButton->setIcon(icon2);
99  deleteButton->setIconSize(QSize(22, 22));
100 
101  payToLayout->addWidget(deleteButton);
102 
103 
104  gridLayout->addLayout(payToLayout, 0, 1, 1, 1);
105 
106  labellLabel = new QLabel(SendCoinsEntry);
107  labellLabel->setObjectName(QString::fromUtf8("labellLabel"));
108  labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
109 
110  gridLayout->addWidget(labellLabel, 1, 0, 1, 1);
111 
112  addAsLabel = new QLineEdit(SendCoinsEntry);
113  addAsLabel->setObjectName(QString::fromUtf8("addAsLabel"));
114 
115  gridLayout->addWidget(addAsLabel, 1, 1, 1, 1);
116 
117  amountLabel = new QLabel(SendCoinsEntry);
118  amountLabel->setObjectName(QString::fromUtf8("amountLabel"));
119  amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
120 
121  gridLayout->addWidget(amountLabel, 2, 0, 1, 1);
122 
123  horizontalLayoutAmount = new QHBoxLayout();
124  horizontalLayoutAmount->setObjectName(QString::fromUtf8("horizontalLayoutAmount"));
126  payAmount->setObjectName(QString::fromUtf8("payAmount"));
127 
128  horizontalLayoutAmount->addWidget(payAmount);
129 
131  checkboxSubtractFeeFromAmount->setObjectName(QString::fromUtf8("checkboxSubtractFeeFromAmount"));
132 
134 
135  useAvailableBalanceButton = new QPushButton(SendCoinsEntry);
136  useAvailableBalanceButton->setObjectName(QString::fromUtf8("useAvailableBalanceButton"));
137 
139 
140  horizontalLayoutAmount->setStretch(1, 1);
141 
142  gridLayout->addLayout(horizontalLayoutAmount, 2, 1, 1, 1);
143 
144  messageLabel = new QLabel(SendCoinsEntry);
145  messageLabel->setObjectName(QString::fromUtf8("messageLabel"));
146  messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
147 
148  gridLayout->addWidget(messageLabel, 3, 0, 1, 1);
149 
150  messageTextLabel = new QLabel(SendCoinsEntry);
151  messageTextLabel->setObjectName(QString::fromUtf8("messageTextLabel"));
152  messageTextLabel->setTextFormat(Qt::PlainText);
153 
154  gridLayout->addWidget(messageTextLabel, 3, 1, 1, 1);
155 
156  line = new QFrame(SendCoinsEntry);
157  line->setObjectName(QString::fromUtf8("line"));
158  line->setFrameShape(QFrame::HLine);
159  line->setFrameShadow(QFrame::Sunken);
160 
161  gridLayout->addWidget(line, 4, 0, 1, 2);
162 
163 #if QT_CONFIG(shortcut)
164  payToLabel->setBuddy(payTo);
165  labellLabel->setBuddy(addAsLabel);
166  amountLabel->setBuddy(payAmount);
167 #endif // QT_CONFIG(shortcut)
168  QWidget::setTabOrder(payTo, addressBookButton);
169  QWidget::setTabOrder(addressBookButton, pasteButton);
170  QWidget::setTabOrder(pasteButton, deleteButton);
171  QWidget::setTabOrder(deleteButton, addAsLabel);
172  QWidget::setTabOrder(addAsLabel, payAmount);
173 
175 
176  QMetaObject::connectSlotsByName(SendCoinsEntry);
177  } // setupUi
178 
180  {
181  payToLabel->setText(QCoreApplication::translate("SendCoinsEntry", "Pay &To:", nullptr));
182 #if QT_CONFIG(tooltip)
183  payTo->setToolTip(QCoreApplication::translate("SendCoinsEntry", "The Bitcoin address to send the payment to", nullptr));
184 #endif // QT_CONFIG(tooltip)
185 #if QT_CONFIG(tooltip)
186  addressBookButton->setToolTip(QCoreApplication::translate("SendCoinsEntry", "Choose previously used address", nullptr));
187 #endif // QT_CONFIG(tooltip)
188  addressBookButton->setText(QString());
189 #if QT_CONFIG(shortcut)
190  addressBookButton->setShortcut(QCoreApplication::translate("SendCoinsEntry", "Alt+A", nullptr));
191 #endif // QT_CONFIG(shortcut)
192 #if QT_CONFIG(tooltip)
193  pasteButton->setToolTip(QCoreApplication::translate("SendCoinsEntry", "Paste address from clipboard", nullptr));
194 #endif // QT_CONFIG(tooltip)
195  pasteButton->setText(QString());
196 #if QT_CONFIG(shortcut)
197  pasteButton->setShortcut(QCoreApplication::translate("SendCoinsEntry", "Alt+P", nullptr));
198 #endif // QT_CONFIG(shortcut)
199 #if QT_CONFIG(tooltip)
200  deleteButton->setToolTip(QCoreApplication::translate("SendCoinsEntry", "Remove this entry", nullptr));
201 #endif // QT_CONFIG(tooltip)
202  deleteButton->setText(QString());
203  labellLabel->setText(QCoreApplication::translate("SendCoinsEntry", "&Label:", nullptr));
204 #if QT_CONFIG(tooltip)
205  addAsLabel->setToolTip(QCoreApplication::translate("SendCoinsEntry", "Enter a label for this address to add it to the list of used addresses", nullptr));
206 #endif // QT_CONFIG(tooltip)
207  addAsLabel->setPlaceholderText(QCoreApplication::translate("SendCoinsEntry", "Enter a label for this address to add it to the list of used addresses", nullptr));
208  amountLabel->setText(QCoreApplication::translate("SendCoinsEntry", "A&mount:", nullptr));
209 #if QT_CONFIG(tooltip)
210  payAmount->setToolTip(QCoreApplication::translate("SendCoinsEntry", "The amount to send in the selected unit", nullptr));
211 #endif // QT_CONFIG(tooltip)
212 #if QT_CONFIG(tooltip)
213  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));
214 #endif // QT_CONFIG(tooltip)
215  checkboxSubtractFeeFromAmount->setText(QCoreApplication::translate("SendCoinsEntry", "S&ubtract fee from amount", nullptr));
216  useAvailableBalanceButton->setText(QCoreApplication::translate("SendCoinsEntry", "Use available balance", nullptr));
217  messageLabel->setText(QCoreApplication::translate("SendCoinsEntry", "Message:", nullptr));
218 #if QT_CONFIG(tooltip)
219  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));
220 #endif // QT_CONFIG(tooltip)
221  (void)SendCoinsEntry;
222  } // retranslateUi
223 
224 };
225 
226 namespace Ui {
228 } // namespace Ui
229 
230 QT_END_NAMESPACE
231 
232 #endif // UI_SENDCOINSENTRY_H
Widget for entering bitcoin amounts.
QHBoxLayout * payToLayout
QLineEdit * addAsLabel
QLabel * messageLabel
QToolButton * deleteButton
QLabel * messageTextLabel
void setupUi(QWidget *SendCoinsEntry)
QValidatedLineEdit * payTo
QGridLayout * gridLayout
QFrame * line
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
QLabel * amountLabel
QLabel * payToLabel
QLabel * labellLabel
BitcoinAmountField * payAmount