Bitcoin Core  26.1.0
P2P Digital Currency
ui_receiverequestdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'receiverequestdialog.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_RECEIVEREQUESTDIALOG_H
10 #define UI_RECEIVEREQUESTDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QDialogButtonBox>
16 #include <QtWidgets/QGridLayout>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QPushButton>
20 #include <QtWidgets/QSpacerItem>
21 #include "qt/qrimagewidget.h"
22 
23 QT_BEGIN_NAMESPACE
24 
26 {
27 public:
28  QGridLayout *gridLayout;
30  QLabel *payment_header;
31  QLabel *uri_tag;
32  QLabel *uri_content;
33  QLabel *address_tag;
34  QLabel *address_content;
35  QLabel *amount_tag;
36  QLabel *amount_content;
37  QLabel *label_tag;
38  QLabel *label_content;
39  QLabel *message_tag;
40  QLabel *message_content;
41  QLabel *wallet_tag;
42  QLabel *wallet_content;
43  QHBoxLayout *horizontalLayout;
44  QPushButton *btnCopyURI;
45  QPushButton *btnCopyAddress;
46  QPushButton *btnVerify;
47  QPushButton *btnSaveAs;
48  QSpacerItem *horizontalSpacer_2;
49  QDialogButtonBox *buttonBox;
50 
52  {
53  if (ReceiveRequestDialog->objectName().isEmpty())
54  ReceiveRequestDialog->setObjectName(QString::fromUtf8("ReceiveRequestDialog"));
55  ReceiveRequestDialog->resize(413, 229);
56  gridLayout = new QGridLayout(ReceiveRequestDialog);
57  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
58  gridLayout->setSizeConstraint(QLayout::SetFixedSize);
60  qr_code->setObjectName(QString::fromUtf8("qr_code"));
61  qr_code->setText(QString::fromUtf8("QR image"));
62  qr_code->setTextInteractionFlags(Qt::NoTextInteraction);
63 
64  gridLayout->addWidget(qr_code, 0, 0, 1, 2, Qt::AlignHCenter);
65 
67  payment_header->setObjectName(QString::fromUtf8("payment_header"));
68  QFont font;
69  font.setBold(true);
70  font.setWeight(75);
71  payment_header->setFont(font);
72  payment_header->setTextInteractionFlags(Qt::NoTextInteraction);
73 
74  gridLayout->addWidget(payment_header, 1, 0, 1, 2);
75 
76  uri_tag = new QLabel(ReceiveRequestDialog);
77  uri_tag->setObjectName(QString::fromUtf8("uri_tag"));
78  uri_tag->setFont(font);
79  uri_tag->setText(QString::fromUtf8("URI:"));
80  uri_tag->setTextFormat(Qt::PlainText);
81  uri_tag->setTextInteractionFlags(Qt::NoTextInteraction);
82 
83  gridLayout->addWidget(uri_tag, 2, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
84 
85  uri_content = new QLabel(ReceiveRequestDialog);
86  uri_content->setObjectName(QString::fromUtf8("uri_content"));
87  uri_content->setText(QString::fromUtf8("bitcoin:BC1\342\200\246"));
88  uri_content->setTextFormat(Qt::RichText);
89  uri_content->setWordWrap(true);
90  uri_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
91 
92  gridLayout->addWidget(uri_content, 2, 1, 1, 1, Qt::AlignTop);
93 
94  address_tag = new QLabel(ReceiveRequestDialog);
95  address_tag->setObjectName(QString::fromUtf8("address_tag"));
96  address_tag->setFont(font);
97  address_tag->setTextInteractionFlags(Qt::NoTextInteraction);
98 
99  gridLayout->addWidget(address_tag, 3, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
100 
102  address_content->setObjectName(QString::fromUtf8("address_content"));
103  address_content->setText(QString::fromUtf8("bc1\342\200\246"));
104  address_content->setTextFormat(Qt::PlainText);
105  address_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
106 
107  gridLayout->addWidget(address_content, 3, 1, 1, 1, Qt::AlignTop);
108 
109  amount_tag = new QLabel(ReceiveRequestDialog);
110  amount_tag->setObjectName(QString::fromUtf8("amount_tag"));
111  amount_tag->setFont(font);
112  amount_tag->setTextInteractionFlags(Qt::NoTextInteraction);
113 
114  gridLayout->addWidget(amount_tag, 4, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
115 
116  amount_content = new QLabel(ReceiveRequestDialog);
117  amount_content->setObjectName(QString::fromUtf8("amount_content"));
118  amount_content->setText(QString::fromUtf8("0.00000000 BTC"));
119  amount_content->setTextFormat(Qt::PlainText);
120  amount_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
121 
122  gridLayout->addWidget(amount_content, 4, 1, 1, 1, Qt::AlignTop);
123 
124  label_tag = new QLabel(ReceiveRequestDialog);
125  label_tag->setObjectName(QString::fromUtf8("label_tag"));
126  label_tag->setFont(font);
127  label_tag->setTextInteractionFlags(Qt::NoTextInteraction);
128 
129  gridLayout->addWidget(label_tag, 5, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
130 
131  label_content = new QLabel(ReceiveRequestDialog);
132  label_content->setObjectName(QString::fromUtf8("label_content"));
133  label_content->setText(QString::fromUtf8("label content"));
134  label_content->setTextFormat(Qt::PlainText);
135  label_content->setWordWrap(true);
136  label_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
137 
138  gridLayout->addWidget(label_content, 5, 1, 1, 1, Qt::AlignTop);
139 
140  message_tag = new QLabel(ReceiveRequestDialog);
141  message_tag->setObjectName(QString::fromUtf8("message_tag"));
142  message_tag->setFont(font);
143  message_tag->setTextInteractionFlags(Qt::NoTextInteraction);
144 
145  gridLayout->addWidget(message_tag, 6, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
146 
148  message_content->setObjectName(QString::fromUtf8("message_content"));
149  message_content->setText(QString::fromUtf8("message content"));
150  message_content->setTextFormat(Qt::PlainText);
151  message_content->setWordWrap(true);
152  message_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
153 
154  gridLayout->addWidget(message_content, 6, 1, 1, 1, Qt::AlignTop);
155 
156  wallet_tag = new QLabel(ReceiveRequestDialog);
157  wallet_tag->setObjectName(QString::fromUtf8("wallet_tag"));
158  wallet_tag->setFont(font);
159  wallet_tag->setTextInteractionFlags(Qt::NoTextInteraction);
160 
161  gridLayout->addWidget(wallet_tag, 7, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
162 
163  wallet_content = new QLabel(ReceiveRequestDialog);
164  wallet_content->setObjectName(QString::fromUtf8("wallet_content"));
165  wallet_content->setText(QString::fromUtf8("wallet name"));
166  wallet_content->setTextFormat(Qt::PlainText);
167  wallet_content->setWordWrap(true);
168  wallet_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
169 
170  gridLayout->addWidget(wallet_content, 7, 1, 1, 1, Qt::AlignTop);
171 
172  horizontalLayout = new QHBoxLayout();
173  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
174  btnCopyURI = new QPushButton(ReceiveRequestDialog);
175  btnCopyURI->setObjectName(QString::fromUtf8("btnCopyURI"));
176  btnCopyURI->setAutoDefault(false);
177 
178  horizontalLayout->addWidget(btnCopyURI);
179 
180  btnCopyAddress = new QPushButton(ReceiveRequestDialog);
181  btnCopyAddress->setObjectName(QString::fromUtf8("btnCopyAddress"));
182  btnCopyAddress->setAutoDefault(false);
183 
184  horizontalLayout->addWidget(btnCopyAddress);
185 
186  btnVerify = new QPushButton(ReceiveRequestDialog);
187  btnVerify->setObjectName(QString::fromUtf8("btnVerify"));
188  btnVerify->setAutoDefault(false);
189 
190  horizontalLayout->addWidget(btnVerify);
191 
192  btnSaveAs = new QPushButton(ReceiveRequestDialog);
193  btnSaveAs->setObjectName(QString::fromUtf8("btnSaveAs"));
194  btnSaveAs->setAutoDefault(false);
195 
196  horizontalLayout->addWidget(btnSaveAs);
197 
198  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
199 
201 
202  buttonBox = new QDialogButtonBox(ReceiveRequestDialog);
203  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
204  buttonBox->setFocusPolicy(Qt::StrongFocus);
205  buttonBox->setStandardButtons(QDialogButtonBox::Ok);
206 
207  horizontalLayout->addWidget(buttonBox);
208 
209 
210  gridLayout->addLayout(horizontalLayout, 8, 0, 1, 2);
211 
212  gridLayout->setColumnStretch(1, 1);
213  QWidget::setTabOrder(buttonBox, btnCopyURI);
214  QWidget::setTabOrder(btnCopyURI, btnCopyAddress);
215  QWidget::setTabOrder(btnCopyAddress, btnSaveAs);
216 
218  QObject::connect(buttonBox, SIGNAL(accepted()), ReceiveRequestDialog, SLOT(accept()));
219 
220  QMetaObject::connectSlotsByName(ReceiveRequestDialog);
221  } // setupUi
222 
224  {
225  ReceiveRequestDialog->setWindowTitle(QCoreApplication::translate("ReceiveRequestDialog", "Request payment to \342\200\246", nullptr));
226  payment_header->setText(QCoreApplication::translate("ReceiveRequestDialog", "Payment information", nullptr));
227  address_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Address:", nullptr));
228  amount_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Amount:", nullptr));
229  label_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Label:", nullptr));
230  message_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Message:", nullptr));
231  wallet_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Wallet:", nullptr));
232  btnCopyURI->setText(QCoreApplication::translate("ReceiveRequestDialog", "Copy &URI", nullptr));
233  btnCopyAddress->setText(QCoreApplication::translate("ReceiveRequestDialog", "Copy &Address", nullptr));
234  btnVerify->setText(QCoreApplication::translate("ReceiveRequestDialog", "&Verify", nullptr));
235 #if QT_CONFIG(tooltip)
236  btnVerify->setToolTip(QCoreApplication::translate("ReceiveRequestDialog", "Verify this address on e.g. a hardware wallet screen", nullptr));
237 #endif // QT_CONFIG(tooltip)
238  btnSaveAs->setText(QCoreApplication::translate("ReceiveRequestDialog", "&Save Image\342\200\246", nullptr));
239  } // retranslateUi
240 
241 };
242 
243 namespace Ui {
245 } // namespace Ui
246 
247 QT_END_NAMESPACE
248 
249 #endif // UI_RECEIVEREQUESTDIALOG_H
void retranslateUi(QDialog *ReceiveRequestDialog)
void setupUi(QDialog *ReceiveRequestDialog)