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