9 #ifndef UI_RECEIVECOINSDIALOG_H
10 #define UI_RECEIVECOINSDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QFrame>
19 #include <QtWidgets/QGridLayout>
20 #include <QtWidgets/QHBoxLayout>
21 #include <QtWidgets/QHeaderView>
22 #include <QtWidgets/QLabel>
23 #include <QtWidgets/QLineEdit>
24 #include <QtWidgets/QPushButton>
25 #include <QtWidgets/QSpacerItem>
26 #include <QtWidgets/QTableView>
27 #include <QtWidgets/QVBoxLayout>
66 if (ReceiveCoinsDialog->objectName().isEmpty())
67 ReceiveCoinsDialog->setObjectName(QStringLiteral(
"ReceiveCoinsDialog"));
68 ReceiveCoinsDialog->resize(776, 396);
71 frame2 =
new QFrame(ReceiveCoinsDialog);
72 frame2->setObjectName(QStringLiteral(
"frame2"));
73 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
74 sizePolicy.setHorizontalStretch(0);
75 sizePolicy.setVerticalStretch(0);
76 sizePolicy.setHeightForWidth(
frame2->sizePolicy().hasHeightForWidth());
77 frame2->setSizePolicy(sizePolicy);
78 frame2->setFrameShape(QFrame::StyledPanel);
79 frame2->setFrameShadow(QFrame::Sunken);
83 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
85 label->setObjectName(QStringLiteral(
"label"));
86 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
91 label_3->setObjectName(QStringLiteral(
"label_3"));
92 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
97 reqLabel->setObjectName(QStringLiteral(
"reqLabel"));
102 label_5->setObjectName(QStringLiteral(
"label_5"));
107 label_2->setObjectName(QStringLiteral(
"label_2"));
108 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
113 reqMessage->setObjectName(QStringLiteral(
"reqMessage"));
120 receiveButton->setObjectName(QStringLiteral(
"receiveButton"));
123 icon.addFile(QStringLiteral(
":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
130 clearButton->setObjectName(QStringLiteral(
"clearButton"));
131 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
132 sizePolicy1.setHorizontalStretch(0);
133 sizePolicy1.setVerticalStretch(0);
134 sizePolicy1.setHeightForWidth(
clearButton->sizePolicy().hasHeightForWidth());
137 icon1.addFile(QStringLiteral(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
143 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
151 label_7->setObjectName(QStringLiteral(
"label_7"));
158 reqAmount->setObjectName(QStringLiteral(
"reqAmount"));
159 QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
160 sizePolicy2.setHorizontalStretch(0);
161 sizePolicy2.setVerticalStretch(0);
162 sizePolicy2.setHeightForWidth(
reqAmount->sizePolicy().hasHeightForWidth());
165 reqAmount->setMaximumSize(QSize(1000, 100));
170 useBech32->setObjectName(QStringLiteral(
"useBech32"));
171 sizePolicy2.setHeightForWidth(
useBech32->sizePolicy().hasHeightForWidth());
173 useBech32->setMaximumSize(QSize(1000, 16777215));
174 useBech32->setFocusPolicy(Qt::StrongFocus);
178 horizontalSpacer_3 =
new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
191 verticalSpacer_2 =
new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
195 frame =
new QFrame(ReceiveCoinsDialog);
196 frame->setObjectName(QStringLiteral(
"frame"));
197 sizePolicy.setHeightForWidth(
frame->sizePolicy().hasHeightForWidth());
198 frame->setSizePolicy(sizePolicy);
199 frame->setFrameShape(QFrame::StyledPanel);
200 frame->setFrameShadow(QFrame::Raised);
204 label_6->setObjectName(QStringLiteral(
"label_6"));
226 icon2.addFile(QStringLiteral(
":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
240 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
251 #ifndef QT_NO_SHORTCUT
255 #endif // QT_NO_SHORTCUT
270 QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
275 #ifndef QT_NO_TOOLTIP
276 label->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
277 #endif // QT_NO_TOOLTIP
278 label->setText(QApplication::translate(
"ReceiveCoinsDialog",
"&Amount:", 0));
279 #ifndef QT_NO_TOOLTIP
280 label_3->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network.", 0));
281 #endif // QT_NO_TOOLTIP
282 label_3->setText(QApplication::translate(
"ReceiveCoinsDialog",
"&Message:", 0));
283 #ifndef QT_NO_TOOLTIP
284 reqLabel->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional label to associate with the new receiving address (used by you to identify an invoice). It is also attached to the payment request.", 0));
285 #endif // QT_NO_TOOLTIP
286 label_5->setText(QApplication::translate(
"ReceiveCoinsDialog",
"Use this form to request payments. All fields are <b>optional</b>.", 0));
287 #ifndef QT_NO_TOOLTIP
288 label_2->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional label to associate with the new receiving address.", 0));
289 #endif // QT_NO_TOOLTIP
290 label_2->setText(QApplication::translate(
"ReceiveCoinsDialog",
"&Label:", 0));
291 #ifndef QT_NO_TOOLTIP
292 reqMessage->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional message that is attached to the payment request and may be displayed to the sender.", 0));
293 #endif // QT_NO_TOOLTIP
294 receiveButton->setText(QApplication::translate(
"ReceiveCoinsDialog",
"&Create new receiving address", 0));
295 #ifndef QT_NO_TOOLTIP
296 clearButton->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"Clear all fields of the form.", 0));
297 #endif // QT_NO_TOOLTIP
298 clearButton->setText(QApplication::translate(
"ReceiveCoinsDialog",
"Clear", 0));
300 #ifndef QT_NO_TOOLTIP
301 reqAmount->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
302 #endif // QT_NO_TOOLTIP
303 #ifndef QT_NO_TOOLTIP
304 useBech32->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"Native segwit addresses (aka Bech32 or BIP-173) reduce your transaction fees later on and offer better protection against typos, but old wallets don't support them. When unchecked, an address compatible with older wallets will be created instead.", 0));
305 #endif // QT_NO_TOOLTIP
306 useBech32->setText(QApplication::translate(
"ReceiveCoinsDialog",
"Generate native segwit (Bech32) address", 0));
307 label_6->setText(QApplication::translate(
"ReceiveCoinsDialog",
"Requested payments history", 0));
308 #ifndef QT_NO_TOOLTIP
309 showRequestButton->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"Show the selected request (does the same as double clicking an entry)", 0));
310 #endif // QT_NO_TOOLTIP
311 showRequestButton->setText(QApplication::translate(
"ReceiveCoinsDialog",
"Show", 0));
312 #ifndef QT_NO_TOOLTIP
313 removeRequestButton->setToolTip(QApplication::translate(
"ReceiveCoinsDialog",
"Remove the selected entries from the list", 0));
314 #endif // QT_NO_TOOLTIP
316 Q_UNUSED(ReceiveCoinsDialog);
327 #endif // UI_RECEIVECOINSDIALOG_H
Widget for entering bitcoin amounts.
Dialog for requesting payment of bitcoins.
QVBoxLayout * verticalLayout
QSpacerItem * verticalSpacer_2
QHBoxLayout * horizontalLayout_6
QPushButton * receiveButton
BitcoinAmountField * reqAmount
void setupUi(QDialog *ReceiveCoinsDialog)
void retranslateUi(QDialog *ReceiveCoinsDialog)
QSpacerItem * horizontalSpacer
QPushButton * showRequestButton
QSpacerItem * horizontalSpacer_2
QPushButton * clearButton
QVBoxLayout * verticalLayout_3
QSpacerItem * horizontalSpacer_3
QHBoxLayout * horizontalLayout_2
QTableView * recentRequestsView
QVBoxLayout * verticalLayout_2
QPushButton * removeRequestButton
QHBoxLayout * horizontalLayout