Bitcoin Core  0.21.0rc5
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 *btnSaveAs;
47  QSpacerItem *horizontalSpacer_2;
48  QDialogButtonBox *buttonBox;
49 
51  {
52  if (ReceiveRequestDialog->objectName().isEmpty())
53  ReceiveRequestDialog->setObjectName(QString::fromUtf8("ReceiveRequestDialog"));
54  ReceiveRequestDialog->resize(413, 229);
55  gridLayout = new QGridLayout(ReceiveRequestDialog);
56  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
57  gridLayout->setSizeConstraint(QLayout::SetFixedSize);
59  qr_code->setObjectName(QString::fromUtf8("qr_code"));
60  qr_code->setText(QString::fromUtf8("QR image"));
61  qr_code->setTextInteractionFlags(Qt::NoTextInteraction);
62 
63  gridLayout->addWidget(qr_code, 0, 0, 1, 2, Qt::AlignHCenter);
64 
66  payment_header->setObjectName(QString::fromUtf8("payment_header"));
67  QFont font;
68  font.setBold(true);
69  font.setWeight(75);
70  payment_header->setFont(font);
71  payment_header->setTextInteractionFlags(Qt::NoTextInteraction);
72 
73  gridLayout->addWidget(payment_header, 1, 0, 1, 2);
74 
75  uri_tag = new QLabel(ReceiveRequestDialog);
76  uri_tag->setObjectName(QString::fromUtf8("uri_tag"));
77  uri_tag->setFont(font);
78  uri_tag->setText(QString::fromUtf8("URI:"));
79  uri_tag->setTextFormat(Qt::PlainText);
80  uri_tag->setTextInteractionFlags(Qt::NoTextInteraction);
81 
82  gridLayout->addWidget(uri_tag, 2, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
83 
84  uri_content = new QLabel(ReceiveRequestDialog);
85  uri_content->setObjectName(QString::fromUtf8("uri_content"));
86  uri_content->setText(QString::fromUtf8("bitcoin:BC1..."));
87  uri_content->setTextFormat(Qt::RichText);
88  uri_content->setWordWrap(true);
89  uri_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
90 
91  gridLayout->addWidget(uri_content, 2, 1, 1, 1, Qt::AlignTop);
92 
93  address_tag = new QLabel(ReceiveRequestDialog);
94  address_tag->setObjectName(QString::fromUtf8("address_tag"));
95  address_tag->setFont(font);
96  address_tag->setTextInteractionFlags(Qt::NoTextInteraction);
97 
98  gridLayout->addWidget(address_tag, 3, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
99 
101  address_content->setObjectName(QString::fromUtf8("address_content"));
102  address_content->setText(QString::fromUtf8("bc1..."));
103  address_content->setTextFormat(Qt::PlainText);
104  address_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
105 
106  gridLayout->addWidget(address_content, 3, 1, 1, 1, Qt::AlignTop);
107 
108  amount_tag = new QLabel(ReceiveRequestDialog);
109  amount_tag->setObjectName(QString::fromUtf8("amount_tag"));
110  amount_tag->setFont(font);
111  amount_tag->setTextInteractionFlags(Qt::NoTextInteraction);
112 
113  gridLayout->addWidget(amount_tag, 4, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
114 
115  amount_content = new QLabel(ReceiveRequestDialog);
116  amount_content->setObjectName(QString::fromUtf8("amount_content"));
117  amount_content->setText(QString::fromUtf8("0.00000000 BTC"));
118  amount_content->setTextFormat(Qt::PlainText);
119  amount_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
120 
121  gridLayout->addWidget(amount_content, 4, 1, 1, 1, Qt::AlignTop);
122 
123  label_tag = new QLabel(ReceiveRequestDialog);
124  label_tag->setObjectName(QString::fromUtf8("label_tag"));
125  label_tag->setFont(font);
126  label_tag->setTextInteractionFlags(Qt::NoTextInteraction);
127 
128  gridLayout->addWidget(label_tag, 5, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
129 
130  label_content = new QLabel(ReceiveRequestDialog);
131  label_content->setObjectName(QString::fromUtf8("label_content"));
132  label_content->setText(QString::fromUtf8("label content"));
133  label_content->setTextFormat(Qt::PlainText);
134  label_content->setWordWrap(true);
135  label_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
136 
137  gridLayout->addWidget(label_content, 5, 1, 1, 1, Qt::AlignTop);
138 
139  message_tag = new QLabel(ReceiveRequestDialog);
140  message_tag->setObjectName(QString::fromUtf8("message_tag"));
141  message_tag->setFont(font);
142  message_tag->setTextInteractionFlags(Qt::NoTextInteraction);
143 
144  gridLayout->addWidget(message_tag, 6, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
145 
147  message_content->setObjectName(QString::fromUtf8("message_content"));
148  message_content->setText(QString::fromUtf8("message content"));
149  message_content->setTextFormat(Qt::PlainText);
150  message_content->setWordWrap(true);
151  message_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
152 
153  gridLayout->addWidget(message_content, 6, 1, 1, 1, Qt::AlignTop);
154 
155  wallet_tag = new QLabel(ReceiveRequestDialog);
156  wallet_tag->setObjectName(QString::fromUtf8("wallet_tag"));
157  wallet_tag->setFont(font);
158  wallet_tag->setTextInteractionFlags(Qt::NoTextInteraction);
159 
160  gridLayout->addWidget(wallet_tag, 7, 0, 1, 1, Qt::AlignRight|Qt::AlignTop);
161 
162  wallet_content = new QLabel(ReceiveRequestDialog);
163  wallet_content->setObjectName(QString::fromUtf8("wallet_content"));
164  wallet_content->setText(QString::fromUtf8("wallet name"));
165  wallet_content->setTextFormat(Qt::PlainText);
166  wallet_content->setWordWrap(true);
167  wallet_content->setTextInteractionFlags(Qt::TextSelectableByMouse);
168 
169  gridLayout->addWidget(wallet_content, 7, 1, 1, 1, Qt::AlignTop);
170 
171  horizontalLayout = new QHBoxLayout();
172  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
173  btnCopyURI = new QPushButton(ReceiveRequestDialog);
174  btnCopyURI->setObjectName(QString::fromUtf8("btnCopyURI"));
175  btnCopyURI->setAutoDefault(false);
176 
177  horizontalLayout->addWidget(btnCopyURI);
178 
179  btnCopyAddress = new QPushButton(ReceiveRequestDialog);
180  btnCopyAddress->setObjectName(QString::fromUtf8("btnCopyAddress"));
181  btnCopyAddress->setAutoDefault(false);
182 
183  horizontalLayout->addWidget(btnCopyAddress);
184 
185  btnSaveAs = new QPushButton(ReceiveRequestDialog);
186  btnSaveAs->setObjectName(QString::fromUtf8("btnSaveAs"));
187  btnSaveAs->setAutoDefault(false);
188 
189  horizontalLayout->addWidget(btnSaveAs);
190 
191  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
192 
194 
195  buttonBox = new QDialogButtonBox(ReceiveRequestDialog);
196  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
197  buttonBox->setFocusPolicy(Qt::StrongFocus);
198  buttonBox->setStandardButtons(QDialogButtonBox::Ok);
199 
200  horizontalLayout->addWidget(buttonBox);
201 
202 
203  gridLayout->addLayout(horizontalLayout, 8, 0, 1, 2);
204 
205  gridLayout->setColumnStretch(1, 1);
206  QWidget::setTabOrder(buttonBox, btnCopyURI);
207  QWidget::setTabOrder(btnCopyURI, btnCopyAddress);
208  QWidget::setTabOrder(btnCopyAddress, btnSaveAs);
209 
211  QObject::connect(buttonBox, SIGNAL(accepted()), ReceiveRequestDialog, SLOT(accept()));
212 
213  QMetaObject::connectSlotsByName(ReceiveRequestDialog);
214  } // setupUi
215 
217  {
218  ReceiveRequestDialog->setWindowTitle(QCoreApplication::translate("ReceiveRequestDialog", "Request payment to ...", nullptr));
219  payment_header->setText(QCoreApplication::translate("ReceiveRequestDialog", "Payment information", nullptr));
220  address_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Address:", nullptr));
221  amount_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Amount:", nullptr));
222  label_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Label:", nullptr));
223  message_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Message:", nullptr));
224  wallet_tag->setText(QCoreApplication::translate("ReceiveRequestDialog", "Wallet:", nullptr));
225  btnCopyURI->setText(QCoreApplication::translate("ReceiveRequestDialog", "Copy &URI", nullptr));
226  btnCopyAddress->setText(QCoreApplication::translate("ReceiveRequestDialog", "Copy &Address", nullptr));
227  btnSaveAs->setText(QCoreApplication::translate("ReceiveRequestDialog", "&Save Image...", nullptr));
228  } // retranslateUi
229 
230 };
231 
232 namespace Ui {
234 } // namespace Ui
235 
236 QT_END_NAMESPACE
237 
238 #endif // UI_RECEIVEREQUESTDIALOG_H
void setupUi(QDialog *ReceiveRequestDialog)
void retranslateUi(QDialog *ReceiveRequestDialog)