Bitcoin
ui_receivecoinsdialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'receivecoinsdialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.13.0
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_RECEIVECOINSDIALOG_H
10 #define UI_RECEIVECOINSDIALOG_H
11 
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>
27 #include "qt/bitcoinamountfield.h"
28 
29 QT_BEGIN_NAMESPACE
30 
32 {
33 public:
34  QVBoxLayout *verticalLayout;
35  QFrame *frame2;
36  QVBoxLayout *verticalLayout_3;
37  QGridLayout *gridLayout;
38  QLabel *label;
39  QLabel *label_3;
40  QLineEdit *reqLabel;
41  QLabel *label_5;
42  QLabel *label_2;
43  QLineEdit *reqMessage;
44  QHBoxLayout *horizontalLayout;
45  QPushButton *receiveButton;
46  QPushButton *clearButton;
47  QSpacerItem *horizontalSpacer;
48  QLabel *label_7;
49  QHBoxLayout *horizontalLayout_6;
51  QCheckBox *useLegacyAddress;
52  QSpacerItem *horizontalSpacer_3;
53  QSpacerItem *verticalSpacer_2;
54  QFrame *frame;
55  QVBoxLayout *verticalLayout_2;
56  QLabel *label_6;
57  QTableView *recentRequestsView;
58  QHBoxLayout *horizontalLayout_2;
59  QPushButton *showRequestButton;
60  QPushButton *removeRequestButton;
61  QSpacerItem *horizontalSpacer_2;
62 
63  void setupUi(QWidget *ReceiveCoinsDialog)
64  {
65  if (ReceiveCoinsDialog->objectName().isEmpty())
66  ReceiveCoinsDialog->setObjectName(QString::fromUtf8("ReceiveCoinsDialog"));
67  ReceiveCoinsDialog->resize(776, 396);
68  verticalLayout = new QVBoxLayout(ReceiveCoinsDialog);
69  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
70  frame2 = new QFrame(ReceiveCoinsDialog);
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);
79  verticalLayout_3 = new QVBoxLayout(frame2);
80  verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
81  gridLayout = new QGridLayout();
82  gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
83  label = new QLabel(frame2);
84  label->setObjectName(QString::fromUtf8("label"));
85  label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
86 
87  gridLayout->addWidget(label, 5, 0, 1, 1);
88 
89  label_3 = new QLabel(frame2);
90  label_3->setObjectName(QString::fromUtf8("label_3"));
91  label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
92 
93  gridLayout->addWidget(label_3, 6, 0, 1, 1);
94 
95  reqLabel = new QLineEdit(frame2);
96  reqLabel->setObjectName(QString::fromUtf8("reqLabel"));
97 
98  gridLayout->addWidget(reqLabel, 4, 2, 1, 1);
99 
100  label_5 = new QLabel(frame2);
101  label_5->setObjectName(QString::fromUtf8("label_5"));
102 
103  gridLayout->addWidget(label_5, 2, 2, 1, 1);
104 
105  label_2 = new QLabel(frame2);
106  label_2->setObjectName(QString::fromUtf8("label_2"));
107  label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
108 
109  gridLayout->addWidget(label_2, 4, 0, 1, 1);
110 
111  reqMessage = new QLineEdit(frame2);
112  reqMessage->setObjectName(QString::fromUtf8("reqMessage"));
113 
114  gridLayout->addWidget(reqMessage, 6, 2, 1, 1);
115 
116  horizontalLayout = new QHBoxLayout();
117  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
118  receiveButton = new QPushButton(frame2);
119  receiveButton->setObjectName(QString::fromUtf8("receiveButton"));
120  receiveButton->setMinimumSize(QSize(150, 0));
121  QIcon icon;
122  icon.addFile(QString::fromUtf8(":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
123  receiveButton->setIcon(icon);
124 
125  horizontalLayout->addWidget(receiveButton);
126 
127  clearButton = new QPushButton(frame2);
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());
133  clearButton->setSizePolicy(sizePolicy1);
134  QIcon icon1;
135  icon1.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
136  clearButton->setIcon(icon1);
137  clearButton->setAutoDefault(false);
138 
139  horizontalLayout->addWidget(clearButton);
140 
141  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
142 
144 
145 
146  gridLayout->addLayout(horizontalLayout, 7, 2, 1, 1);
147 
148  label_7 = new QLabel(frame2);
149  label_7->setObjectName(QString::fromUtf8("label_7"));
150 
151  gridLayout->addWidget(label_7, 7, 0, 1, 1);
152 
153  horizontalLayout_6 = new QHBoxLayout();
154  horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
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());
161  reqAmount->setSizePolicy(sizePolicy2);
162  reqAmount->setMinimumSize(QSize(80, 0));
163  reqAmount->setMaximumSize(QSize(1000, 100));
164 
165  horizontalLayout_6->addWidget(reqAmount);
166 
167  useLegacyAddress = new QCheckBox(frame2);
168  useLegacyAddress->setObjectName(QString::fromUtf8("useLegacyAddress"));
169  sizePolicy2.setHeightForWidth(useLegacyAddress->sizePolicy().hasHeightForWidth());
170  useLegacyAddress->setSizePolicy(sizePolicy2);
171  useLegacyAddress->setMaximumSize(QSize(1000, 16777215));
172  useLegacyAddress->setFocusPolicy(Qt::StrongFocus);
173 
175 
176  horizontalSpacer_3 = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
177 
179 
180 
181  gridLayout->addLayout(horizontalLayout_6, 5, 2, 1, 1);
182 
183 
184  verticalLayout_3->addLayout(gridLayout);
185 
186 
187  verticalLayout->addWidget(frame2);
188 
189  verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
190 
192 
193  frame = new QFrame(ReceiveCoinsDialog);
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);
199  verticalLayout_2 = new QVBoxLayout(frame);
200  verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
201  label_6 = new QLabel(frame);
202  label_6->setObjectName(QString::fromUtf8("label_6"));
203  QFont font;
204  font.setBold(true);
205  font.setWeight(75);
206  label_6->setFont(font);
207 
208  verticalLayout_2->addWidget(label_6);
209 
210  recentRequestsView = new QTableView(frame);
211  recentRequestsView->setObjectName(QString::fromUtf8("recentRequestsView"));
212  recentRequestsView->setContextMenuPolicy(Qt::CustomContextMenu);
213  recentRequestsView->setTabKeyNavigation(false);
214  recentRequestsView->setSortingEnabled(true);
215 
217 
218  horizontalLayout_2 = new QHBoxLayout();
219  horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
220  showRequestButton = new QPushButton(frame);
221  showRequestButton->setObjectName(QString::fromUtf8("showRequestButton"));
222  showRequestButton->setEnabled(false);
223  QIcon icon2;
224  icon2.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
225  showRequestButton->setIcon(icon2);
226  showRequestButton->setAutoDefault(false);
227 
229 
230  removeRequestButton = new QPushButton(frame);
231  removeRequestButton->setObjectName(QString::fromUtf8("removeRequestButton"));
232  removeRequestButton->setEnabled(false);
233  removeRequestButton->setIcon(icon1);
234  removeRequestButton->setAutoDefault(false);
235 
237 
238  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
239 
241 
242 
244 
245 
246  verticalLayout->addWidget(frame);
247 
248  verticalLayout->setStretch(2, 1);
249 #if QT_CONFIG(shortcut)
250  label->setBuddy(reqAmount);
251  label_3->setBuddy(reqMessage);
252  label_2->setBuddy(reqLabel);
253 #endif // QT_CONFIG(shortcut)
254  QWidget::setTabOrder(reqLabel, reqAmount);
255  QWidget::setTabOrder(reqAmount, useLegacyAddress);
256  QWidget::setTabOrder(useLegacyAddress, reqMessage);
257  QWidget::setTabOrder(reqMessage, receiveButton);
258  QWidget::setTabOrder(receiveButton, clearButton);
259  QWidget::setTabOrder(clearButton, recentRequestsView);
260  QWidget::setTabOrder(recentRequestsView, showRequestButton);
261  QWidget::setTabOrder(showRequestButton, removeRequestButton);
262 
264 
265  QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
266  } // setupUi
267 
269  {
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));
294  label_7->setText(QString());
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));
311  Q_UNUSED(ReceiveCoinsDialog);
312  } // retranslateUi
313 
314 };
315 
316 namespace Ui {
318 } // namespace Ui
319 
320 QT_END_NAMESPACE
321 
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