9 #ifndef UI_RECEIVECOINSDIALOG_H 10 #define UI_RECEIVECOINSDIALOG_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/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QLineEdit> 22 #include <QtWidgets/QPushButton> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QTableView> 25 #include <QtWidgets/QVBoxLayout> 26 #include <QtWidgets/QWidget> 69 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
71 frame2->setObjectName(QString::fromUtf8(
"frame2"));
72 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
73 sizePolicy.setHorizontalStretch(0);
74 sizePolicy.setVerticalStretch(0);
75 sizePolicy.setHeightForWidth(
frame2->sizePolicy().hasHeightForWidth());
76 frame2->setSizePolicy(sizePolicy);
77 frame2->setFrameShape(QFrame::StyledPanel);
78 frame2->setFrameShadow(QFrame::Sunken);
82 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
84 label->setObjectName(QString::fromUtf8(
"label"));
85 label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
90 label_3->setObjectName(QString::fromUtf8(
"label_3"));
91 label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
96 reqLabel->setObjectName(QString::fromUtf8(
"reqLabel"));
101 label_5->setObjectName(QString::fromUtf8(
"label_5"));
106 label_2->setObjectName(QString::fromUtf8(
"label_2"));
107 label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
112 reqMessage->setObjectName(QString::fromUtf8(
"reqMessage"));
119 receiveButton->setObjectName(QString::fromUtf8(
"receiveButton"));
122 icon.addFile(QString::fromUtf8(
":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
128 clearButton->setObjectName(QString::fromUtf8(
"clearButton"));
129 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
130 sizePolicy1.setHorizontalStretch(0);
131 sizePolicy1.setVerticalStretch(0);
132 sizePolicy1.setHeightForWidth(
clearButton->sizePolicy().hasHeightForWidth());
135 icon1.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
141 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
149 label_7->setObjectName(QString::fromUtf8(
"label_7"));
156 reqAmount->setObjectName(QString::fromUtf8(
"reqAmount"));
157 QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
158 sizePolicy2.setHorizontalStretch(0);
159 sizePolicy2.setVerticalStretch(0);
160 sizePolicy2.setHeightForWidth(
reqAmount->sizePolicy().hasHeightForWidth());
163 reqAmount->setMaximumSize(QSize(1000, 100));
169 sizePolicy2.setHeightForWidth(
useLegacyAddress->sizePolicy().hasHeightForWidth());
176 horizontalSpacer_3 =
new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
189 verticalSpacer_2 =
new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
194 frame->setObjectName(QString::fromUtf8(
"frame"));
195 sizePolicy.setHeightForWidth(
frame->sizePolicy().hasHeightForWidth());
196 frame->setSizePolicy(sizePolicy);
197 frame->setFrameShape(QFrame::StyledPanel);
198 frame->setFrameShadow(QFrame::Raised);
202 label_6->setObjectName(QString::fromUtf8(
"label_6"));
224 icon2.addFile(QString::fromUtf8(
":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
238 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
249 #if QT_CONFIG(shortcut) 253 #endif // QT_CONFIG(shortcut) 270 #if QT_CONFIG(tooltip) 271 label->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.",
nullptr));
272 #endif // QT_CONFIG(tooltip) 273 label->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Amount:",
nullptr));
274 #if QT_CONFIG(tooltip) 275 label_3->setToolTip(QCoreApplication::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.",
nullptr));
276 #endif // QT_CONFIG(tooltip) 277 label_3->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Message:",
nullptr));
278 #if QT_CONFIG(tooltip) 279 reqLabel->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional label to associate with the new receiving address.",
nullptr));
280 #endif // QT_CONFIG(tooltip) 281 label_5->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Use this form to request payments. All fields are <b>optional</b>.",
nullptr));
282 #if QT_CONFIG(tooltip) 283 label_2->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional label to associate with the new receiving address.",
nullptr));
284 #endif // QT_CONFIG(tooltip) 285 label_2->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Label:",
nullptr));
286 #if QT_CONFIG(tooltip) 287 reqMessage->setToolTip(QCoreApplication::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.",
nullptr));
288 #endif // QT_CONFIG(tooltip) 289 receiveButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Create new receiving address",
nullptr));
290 #if QT_CONFIG(tooltip) 291 clearButton->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Clear all fields of the form.",
nullptr));
292 #endif // QT_CONFIG(tooltip) 293 clearButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Clear",
nullptr));
295 #if QT_CONFIG(tooltip) 296 reqAmount->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.",
nullptr));
297 #endif // QT_CONFIG(tooltip) 298 #if QT_CONFIG(tooltip) 299 useLegacyAddress->setToolTip(QCoreApplication::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 checked, an address compatible with older wallets will be created instead.",
nullptr));
300 #endif // QT_CONFIG(tooltip) 301 useLegacyAddress->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Generate legacy address",
nullptr));
302 label_6->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Requested payments history",
nullptr));
303 #if QT_CONFIG(tooltip) 304 showRequestButton->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Show the selected request (does the same as double clicking an entry)",
nullptr));
305 #endif // QT_CONFIG(tooltip) 306 showRequestButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Show",
nullptr));
307 #if QT_CONFIG(tooltip) 308 removeRequestButton->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Remove the selected entries from the list",
nullptr));
309 #endif // QT_CONFIG(tooltip) 310 removeRequestButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Remove",
nullptr));
322 #endif // UI_RECEIVECOINSDIALOG_H QLineEdit * reqMessage
Definition: ui_receivecoinsdialog.h:43
QPushButton * removeRequestButton
Definition: ui_receivecoinsdialog.h:60
QLabel * label_2
Definition: ui_receivecoinsdialog.h:42
QLabel * label_3
Definition: ui_receivecoinsdialog.h:39
QSpacerItem * horizontalSpacer_2
Definition: ui_receivecoinsdialog.h:61
Definition: receivecoinsdialog.h:30
Definition: addressbookpage.h:14
Definition: bitcoinamountfield.h:20
QCheckBox * useLegacyAddress
Definition: ui_receivecoinsdialog.h:51
QLabel * label
Definition: ui_receivecoinsdialog.h:38
Definition: ui_receivecoinsdialog.h:31
Definition: ui_receivecoinsdialog.h:317
QHBoxLayout * horizontalLayout_6
Definition: ui_receivecoinsdialog.h:49
QFrame * frame2
Definition: ui_receivecoinsdialog.h:35
QSpacerItem * horizontalSpacer
Definition: ui_receivecoinsdialog.h:47
QLabel * label_5
Definition: ui_receivecoinsdialog.h:41
QPushButton * showRequestButton
Definition: ui_receivecoinsdialog.h:59
QFrame * frame
Definition: ui_receivecoinsdialog.h:54
QVBoxLayout * verticalLayout_2
Definition: ui_receivecoinsdialog.h:55
void setupUi(QWidget *ReceiveCoinsDialog)
Definition: ui_receivecoinsdialog.h:63
QSpacerItem * horizontalSpacer_3
Definition: ui_receivecoinsdialog.h:52
QVBoxLayout * verticalLayout_3
Definition: ui_receivecoinsdialog.h:36
QHBoxLayout * horizontalLayout
Definition: ui_receivecoinsdialog.h:44
QGridLayout * gridLayout
Definition: ui_receivecoinsdialog.h:37
QLabel * label_7
Definition: ui_receivecoinsdialog.h:48
BitcoinAmountField * reqAmount
Definition: ui_receivecoinsdialog.h:50
QPushButton * clearButton
Definition: ui_receivecoinsdialog.h:46
QLabel * label_6
Definition: ui_receivecoinsdialog.h:56
QHBoxLayout * horizontalLayout_2
Definition: ui_receivecoinsdialog.h:58
QSpacerItem * verticalSpacer_2
Definition: ui_receivecoinsdialog.h:53
QPushButton * receiveButton
Definition: ui_receivecoinsdialog.h:45
QVBoxLayout * verticalLayout
Definition: ui_receivecoinsdialog.h:34
QTableView * recentRequestsView
Definition: ui_receivecoinsdialog.h:57
void retranslateUi(QWidget *ReceiveCoinsDialog)
Definition: ui_receivecoinsdialog.h:268
QLineEdit * reqLabel
Definition: ui_receivecoinsdialog.h:40