Dash Core  0.12.2.1
P2P Digital Currency
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.5.1
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 <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
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>
27 #include <QtWidgets/QWidget>
28 #include "bitcoinamountfield.h"
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QVBoxLayout *verticalLayout;
36  QFrame *frame2;
37  QVBoxLayout *verticalLayout_3;
38  QGridLayout *gridLayout;
39  QCheckBox *reuseAddress;
40  QLabel *label_4;
41  QLabel *label_3;
42  QLineEdit *reqLabel;
43  QLineEdit *reqMessage;
44  QLabel *label_5;
45  QLabel *label_2;
46  QLabel *label;
48  QHBoxLayout *horizontalLayout;
49  QPushButton *receiveButton;
50  QPushButton *clearButton;
51  QSpacerItem *horizontalSpacer;
52  QLabel *label_7;
53  QCheckBox *checkUseInstantSend;
54  QSpacerItem *verticalSpacer_2;
55  QFrame *frame;
56  QVBoxLayout *verticalLayout_2;
57  QLabel *label_6;
58  QTableView *recentRequestsView;
59  QHBoxLayout *horizontalLayout_2;
60  QPushButton *showRequestButton;
61  QPushButton *removeRequestButton;
62  QSpacerItem *horizontalSpacer_2;
63 
64  void setupUi(QWidget *ReceiveCoinsDialog)
65  {
66  if (ReceiveCoinsDialog->objectName().isEmpty())
67  ReceiveCoinsDialog->setObjectName(QStringLiteral("ReceiveCoinsDialog"));
68  ReceiveCoinsDialog->resize(776, 387);
69  verticalLayout = new QVBoxLayout(ReceiveCoinsDialog);
70  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
71  frame2 = new QFrame(ReceiveCoinsDialog);
72  frame2->setObjectName(QStringLiteral("frame2"));
73  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
74  sizePolicy.setHorizontalStretch(0);
75  sizePolicy.setVerticalStretch(0);
76  sizePolicy.setHeightForWidth(frame2->sizePolicy().hasHeightForWidth());
77  frame2->setSizePolicy(sizePolicy);
78  frame2->setFrameShape(QFrame::StyledPanel);
79  frame2->setFrameShadow(QFrame::Sunken);
80  verticalLayout_3 = new QVBoxLayout(frame2);
81  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
82  gridLayout = new QGridLayout();
83  gridLayout->setObjectName(QStringLiteral("gridLayout"));
84  reuseAddress = new QCheckBox(frame2);
85  reuseAddress->setObjectName(QStringLiteral("reuseAddress"));
86 
87  gridLayout->addWidget(reuseAddress, 7, 2, 1, 1);
88 
89  label_4 = new QLabel(frame2);
90  label_4->setObjectName(QStringLiteral("label_4"));
91 
92  gridLayout->addWidget(label_4, 7, 0, 1, 1);
93 
94  label_3 = new QLabel(frame2);
95  label_3->setObjectName(QStringLiteral("label_3"));
96  label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
97 
98  gridLayout->addWidget(label_3, 6, 0, 1, 1);
99 
100  reqLabel = new QLineEdit(frame2);
101  reqLabel->setObjectName(QStringLiteral("reqLabel"));
102 
103  gridLayout->addWidget(reqLabel, 4, 2, 1, 1);
104 
105  reqMessage = new QLineEdit(frame2);
106  reqMessage->setObjectName(QStringLiteral("reqMessage"));
107 
108  gridLayout->addWidget(reqMessage, 6, 2, 1, 1);
109 
110  label_5 = new QLabel(frame2);
111  label_5->setObjectName(QStringLiteral("label_5"));
112 
113  gridLayout->addWidget(label_5, 2, 2, 1, 1);
114 
115  label_2 = new QLabel(frame2);
116  label_2->setObjectName(QStringLiteral("label_2"));
117  label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
118 
119  gridLayout->addWidget(label_2, 4, 0, 1, 1);
120 
121  label = new QLabel(frame2);
122  label->setObjectName(QStringLiteral("label"));
123  label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
124 
125  gridLayout->addWidget(label, 5, 0, 1, 1);
126 
128  reqAmount->setObjectName(QStringLiteral("reqAmount"));
129  reqAmount->setMinimumSize(QSize(80, 0));
130 
131  gridLayout->addWidget(reqAmount, 5, 2, 1, 1);
132 
133  horizontalLayout = new QHBoxLayout();
134  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
135  receiveButton = new QPushButton(frame2);
136  receiveButton->setObjectName(QStringLiteral("receiveButton"));
137  receiveButton->setMinimumSize(QSize(150, 0));
138 
139  horizontalLayout->addWidget(receiveButton);
140 
141  clearButton = new QPushButton(frame2);
142  clearButton->setObjectName(QStringLiteral("clearButton"));
143  QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
144  sizePolicy1.setHorizontalStretch(0);
145  sizePolicy1.setVerticalStretch(0);
146  sizePolicy1.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
147  clearButton->setSizePolicy(sizePolicy1);
148  clearButton->setAutoDefault(false);
149 
150  horizontalLayout->addWidget(clearButton);
151 
152  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
153 
155 
156 
157  gridLayout->addLayout(horizontalLayout, 9, 2, 1, 1);
158 
159  label_7 = new QLabel(frame2);
160  label_7->setObjectName(QStringLiteral("label_7"));
161 
162  gridLayout->addWidget(label_7, 9, 0, 1, 1);
163 
164  checkUseInstantSend = new QCheckBox(frame2);
165  checkUseInstantSend->setObjectName(QStringLiteral("checkUseInstantSend"));
166  checkUseInstantSend->setChecked(true);
167 
168  gridLayout->addWidget(checkUseInstantSend, 8, 2, 1, 1);
169 
170 
171  verticalLayout_3->addLayout(gridLayout);
172 
173 
174  verticalLayout->addWidget(frame2);
175 
176  verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
177 
179 
180  frame = new QFrame(ReceiveCoinsDialog);
181  frame->setObjectName(QStringLiteral("frame"));
182  sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
183  frame->setSizePolicy(sizePolicy);
184  frame->setFrameShape(QFrame::StyledPanel);
185  frame->setFrameShadow(QFrame::Raised);
186  verticalLayout_2 = new QVBoxLayout(frame);
187  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
188  label_6 = new QLabel(frame);
189  label_6->setObjectName(QStringLiteral("label_6"));
190  QFont font;
191  font.setBold(true);
192  font.setWeight(75);
193  label_6->setFont(font);
194 
195  verticalLayout_2->addWidget(label_6);
196 
197  recentRequestsView = new QTableView(frame);
198  recentRequestsView->setObjectName(QStringLiteral("recentRequestsView"));
199  recentRequestsView->setContextMenuPolicy(Qt::CustomContextMenu);
200  recentRequestsView->setTabKeyNavigation(false);
201  recentRequestsView->setSortingEnabled(true);
202 
204 
205  horizontalLayout_2 = new QHBoxLayout();
206  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
207  showRequestButton = new QPushButton(frame);
208  showRequestButton->setObjectName(QStringLiteral("showRequestButton"));
209  showRequestButton->setEnabled(false);
210  showRequestButton->setAutoDefault(false);
211 
213 
214  removeRequestButton = new QPushButton(frame);
215  removeRequestButton->setObjectName(QStringLiteral("removeRequestButton"));
216  removeRequestButton->setEnabled(false);
217  removeRequestButton->setAutoDefault(false);
218 
220 
221  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
222 
224 
225 
227 
228 
229  verticalLayout->addWidget(frame);
230 
231  verticalLayout->setStretch(2, 1);
232 #ifndef QT_NO_SHORTCUT
233  label_3->setBuddy(reqMessage);
234  label_2->setBuddy(reqLabel);
235  label->setBuddy(reqAmount);
236 #endif // QT_NO_SHORTCUT
237  QWidget::setTabOrder(reqLabel, reqAmount);
238  QWidget::setTabOrder(reqAmount, reqMessage);
239  QWidget::setTabOrder(reqMessage, reuseAddress);
240  QWidget::setTabOrder(reuseAddress, receiveButton);
241  QWidget::setTabOrder(receiveButton, clearButton);
242  QWidget::setTabOrder(clearButton, recentRequestsView);
243  QWidget::setTabOrder(recentRequestsView, showRequestButton);
244  QWidget::setTabOrder(showRequestButton, removeRequestButton);
245 
247 
248  QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
249  } // setupUi
250 
252  {
253 #ifndef QT_NO_TOOLTIP
254  reuseAddress->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Reuse one of the previously used receiving addresses.<br>Reusing addresses has security and privacy issues.<br>Do not use this unless re-generating a payment request made before.", 0));
255 #endif // QT_NO_TOOLTIP
256  reuseAddress->setText(QApplication::translate("ReceiveCoinsDialog", "R&euse an existing receiving address (not recommended)", 0));
257  label_4->setText(QString());
258 #ifndef QT_NO_TOOLTIP
259  label_3->setToolTip(QApplication::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 Dash network.", 0));
260 #endif // QT_NO_TOOLTIP
261  label_3->setText(QApplication::translate("ReceiveCoinsDialog", "&Message:", 0));
262 #ifndef QT_NO_TOOLTIP
263  reqLabel->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0));
264 #endif // QT_NO_TOOLTIP
265 #ifndef QT_NO_TOOLTIP
266  reqMessage->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional message to attach to the payment request, which will be displayed when the request is opened.<br>Note: The message will not be sent with the payment over the Dash network.", 0));
267 #endif // QT_NO_TOOLTIP
268  label_5->setText(QApplication::translate("ReceiveCoinsDialog", "Use this form to request payments. All fields are <b>optional</b>.", 0));
269 #ifndef QT_NO_TOOLTIP
270  label_2->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", 0));
271 #endif // QT_NO_TOOLTIP
272  label_2->setText(QApplication::translate("ReceiveCoinsDialog", "&Label:", 0));
273 #ifndef QT_NO_TOOLTIP
274  label->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
275 #endif // QT_NO_TOOLTIP
276  label->setText(QApplication::translate("ReceiveCoinsDialog", "&Amount:", 0));
277 #ifndef QT_NO_TOOLTIP
278  reqAmount->setToolTip(QApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", 0));
279 #endif // QT_NO_TOOLTIP
280  receiveButton->setText(QApplication::translate("ReceiveCoinsDialog", "&Request payment", 0));
281 #ifndef QT_NO_TOOLTIP
282  clearButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Clear all fields of the form.", 0));
283 #endif // QT_NO_TOOLTIP
284  clearButton->setText(QApplication::translate("ReceiveCoinsDialog", "Clear", 0));
285  label_7->setText(QString());
286  checkUseInstantSend->setText(QApplication::translate("ReceiveCoinsDialog", "Request InstantSend", 0));
287  label_6->setText(QApplication::translate("ReceiveCoinsDialog", "Requested payments history", 0));
288 #ifndef QT_NO_TOOLTIP
289  showRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Show the selected request (does the same as double clicking an entry)", 0));
290 #endif // QT_NO_TOOLTIP
291  showRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Show", 0));
292 #ifndef QT_NO_TOOLTIP
293  removeRequestButton->setToolTip(QApplication::translate("ReceiveCoinsDialog", "Remove the selected entries from the list", 0));
294 #endif // QT_NO_TOOLTIP
295  removeRequestButton->setText(QApplication::translate("ReceiveCoinsDialog", "Remove", 0));
296  Q_UNUSED(ReceiveCoinsDialog);
297  } // retranslateUi
298 
299 };
300 
301 namespace Ui {
303 } // namespace Ui
304 
305 QT_END_NAMESPACE
306 
307 #endif // UI_RECEIVECOINSDIALOG_H
void setupUi(QWidget *ReceiveCoinsDialog)
BitcoinAmountField * reqAmount
void retranslateUi(QWidget *ReceiveCoinsDialog)