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/QComboBox> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QFrame> 18 #include <QtWidgets/QGridLayout> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QPushButton> 24 #include <QtWidgets/QSpacerItem> 25 #include <QtWidgets/QTableView> 26 #include <QtWidgets/QVBoxLayout> 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);
129 clearButton->setObjectName(QString::fromUtf8(
"clearButton"));
130 QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
131 sizePolicy1.setHorizontalStretch(0);
132 sizePolicy1.setVerticalStretch(0);
133 sizePolicy1.setHeightForWidth(
clearButton->sizePolicy().hasHeightForWidth());
136 icon1.addFile(QString::fromUtf8(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
142 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
150 label_7->setObjectName(QString::fromUtf8(
"label_7"));
157 reqAmount->setObjectName(QString::fromUtf8(
"reqAmount"));
158 QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
159 sizePolicy2.setHorizontalStretch(0);
160 sizePolicy2.setVerticalStretch(0);
161 sizePolicy2.setHeightForWidth(
reqAmount->sizePolicy().hasHeightForWidth());
164 reqAmount->setMaximumSize(QSize(1000, 100));
169 addressType->setObjectName(QString::fromUtf8(
"addressType"));
170 sizePolicy2.setHeightForWidth(
addressType->sizePolicy().hasHeightForWidth());
172 addressType->setMaximumSize(QSize(1000, 16777215));
177 horizontalSpacer_3 =
new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
190 verticalSpacer_2 =
new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
195 frame->setObjectName(QString::fromUtf8(
"frame"));
196 sizePolicy.setHeightForWidth(
frame->sizePolicy().hasHeightForWidth());
197 frame->setSizePolicy(sizePolicy);
198 frame->setFrameShape(QFrame::StyledPanel);
199 frame->setFrameShadow(QFrame::Raised);
203 label_6->setObjectName(QString::fromUtf8(
"label_6"));
225 icon2.addFile(QString::fromUtf8(
":/icons/eye"), QSize(), QIcon::Normal, QIcon::Off);
239 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
250 #if QT_CONFIG(shortcut) 254 #endif // QT_CONFIG(shortcut) 274 #if QT_CONFIG(tooltip) 275 label->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.",
nullptr));
276 #endif // QT_CONFIG(tooltip) 277 label->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Amount:",
nullptr));
278 #if QT_CONFIG(tooltip) 279 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));
280 #endif // QT_CONFIG(tooltip) 281 label_3->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Message:",
nullptr));
282 #if QT_CONFIG(tooltip) 283 reqLabel->setToolTip(QCoreApplication::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.",
nullptr));
284 #endif // QT_CONFIG(tooltip) 285 label_5->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Use this form to request payments. All fields are <b>optional</b>.",
nullptr));
286 #if QT_CONFIG(tooltip) 287 label_2->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional label to associate with the new receiving address.",
nullptr));
288 #endif // QT_CONFIG(tooltip) 289 label_2->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Label:",
nullptr));
290 #if QT_CONFIG(tooltip) 291 reqMessage->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional message that is attached to the payment request and may be displayed to the sender.",
nullptr));
292 #endif // QT_CONFIG(tooltip) 293 receiveButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"&Create new receiving address",
nullptr));
294 #if QT_CONFIG(tooltip) 295 clearButton->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Clear all fields of the form.",
nullptr));
296 #endif // QT_CONFIG(tooltip) 297 clearButton->setText(QCoreApplication::translate(
"ReceiveCoinsDialog",
"Clear",
nullptr));
299 #if QT_CONFIG(tooltip) 300 reqAmount->setToolTip(QCoreApplication::translate(
"ReceiveCoinsDialog",
"An optional amount to request. Leave this empty or zero to not request a specific amount.",
nullptr));
301 #endif // QT_CONFIG(tooltip) 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 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