9 #ifndef UI_SENDCOINSENTRY_H 10 #define UI_SENDCOINSENTRY_H 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/QStackedWidget> 25 #include <QtWidgets/QToolButton> 75 if (SendCoinsEntry->objectName().isEmpty())
76 SendCoinsEntry->setObjectName(QStringLiteral(
"SendCoinsEntry"));
77 SendCoinsEntry->resize(729, 150);
78 SendCoinsEntry->setFocusPolicy(Qt::TabFocus);
79 SendCoinsEntry->setAutoFillBackground(
false);
80 SendCoins =
new QFrame();
81 SendCoins->setObjectName(QStringLiteral(
"SendCoins"));
82 SendCoins->setFrameShape(QFrame::NoFrame);
83 gridLayout =
new QGridLayout(SendCoins);
84 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
85 gridLayout->setHorizontalSpacing(12);
86 gridLayout->setVerticalSpacing(8);
87 gridLayout->setContentsMargins(-1, 8, -1, 4);
88 payToLabel =
new QLabel(SendCoins);
89 payToLabel->setObjectName(QStringLiteral(
"payToLabel"));
90 payToLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
92 gridLayout->addWidget(payToLabel, 0, 0, 1, 1);
94 payToLayout =
new QHBoxLayout();
95 payToLayout->setSpacing(0);
96 payToLayout->setObjectName(QStringLiteral(
"payToLayout"));
98 payTo->setObjectName(QStringLiteral(
"payTo"));
100 payToLayout->addWidget(payTo);
102 addressBookButton =
new QToolButton(SendCoins);
103 addressBookButton->setObjectName(QStringLiteral(
"addressBookButton"));
105 icon.addFile(QStringLiteral(
":/icons/address-book"), QSize(), QIcon::Normal, QIcon::Off);
106 addressBookButton->setIcon(icon);
107 addressBookButton->setIconSize(QSize(22, 22));
109 payToLayout->addWidget(addressBookButton);
111 pasteButton =
new QToolButton(SendCoins);
112 pasteButton->setObjectName(QStringLiteral(
"pasteButton"));
114 icon1.addFile(QStringLiteral(
":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
115 pasteButton->setIcon(icon1);
116 pasteButton->setIconSize(QSize(22, 22));
118 payToLayout->addWidget(pasteButton);
120 deleteButton =
new QToolButton(SendCoins);
121 deleteButton->setObjectName(QStringLiteral(
"deleteButton"));
123 icon2.addFile(QStringLiteral(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
124 deleteButton->setIcon(icon2);
125 deleteButton->setIconSize(QSize(22, 22));
127 payToLayout->addWidget(deleteButton);
130 gridLayout->addLayout(payToLayout, 0, 1, 1, 1);
132 labellLabel =
new QLabel(SendCoins);
133 labellLabel->setObjectName(QStringLiteral(
"labellLabel"));
134 labellLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
136 gridLayout->addWidget(labellLabel, 1, 0, 1, 1);
138 addAsLabel =
new QLineEdit(SendCoins);
139 addAsLabel->setObjectName(QStringLiteral(
"addAsLabel"));
141 gridLayout->addWidget(addAsLabel, 1, 1, 1, 1);
143 amountLabel =
new QLabel(SendCoins);
144 amountLabel->setObjectName(QStringLiteral(
"amountLabel"));
145 amountLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
147 gridLayout->addWidget(amountLabel, 2, 0, 1, 1);
149 horizontalLayoutAmount =
new QHBoxLayout();
150 horizontalLayoutAmount->setObjectName(QStringLiteral(
"horizontalLayoutAmount"));
152 payAmount->setObjectName(QStringLiteral(
"payAmount"));
154 horizontalLayoutAmount->addWidget(payAmount);
156 checkboxSubtractFeeFromAmount =
new QCheckBox(SendCoins);
157 checkboxSubtractFeeFromAmount->setObjectName(QStringLiteral(
"checkboxSubtractFeeFromAmount"));
159 horizontalLayoutAmount->addWidget(checkboxSubtractFeeFromAmount);
161 useAvailableBalanceButton =
new QPushButton(SendCoins);
162 useAvailableBalanceButton->setObjectName(QStringLiteral(
"useAvailableBalanceButton"));
164 horizontalLayoutAmount->addWidget(useAvailableBalanceButton);
166 horizontalLayoutAmount->setStretch(1, 1);
168 gridLayout->addLayout(horizontalLayoutAmount, 2, 1, 1, 1);
170 messageLabel =
new QLabel(SendCoins);
171 messageLabel->setObjectName(QStringLiteral(
"messageLabel"));
172 messageLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
174 gridLayout->addWidget(messageLabel, 3, 0, 1, 1);
176 messageTextLabel =
new QLabel(SendCoins);
177 messageTextLabel->setObjectName(QStringLiteral(
"messageTextLabel"));
178 messageTextLabel->setTextFormat(Qt::PlainText);
180 gridLayout->addWidget(messageTextLabel, 3, 1, 1, 1);
182 line =
new QFrame(SendCoins);
183 line->setObjectName(QStringLiteral(
"line"));
184 line->setFrameShape(QFrame::HLine);
185 line->setFrameShadow(QFrame::Sunken);
187 gridLayout->addWidget(line, 4, 0, 1, 2);
189 SendCoinsEntry->addWidget(SendCoins);
190 SendCoins_UnauthenticatedPaymentRequest =
new QFrame();
191 SendCoins_UnauthenticatedPaymentRequest->setObjectName(QStringLiteral(
"SendCoins_UnauthenticatedPaymentRequest"));
193 QBrush brush(QColor(0, 0, 0, 255));
194 brush.setStyle(Qt::SolidPattern);
195 palette.setBrush(QPalette::Active, QPalette::WindowText, brush);
196 QBrush brush1(QColor(255, 255, 127, 255));
197 brush1.setStyle(Qt::SolidPattern);
198 palette.setBrush(QPalette::Active, QPalette::Button, brush1);
199 QBrush brush2(QColor(255, 255, 255, 255));
200 brush2.setStyle(Qt::SolidPattern);
201 palette.setBrush(QPalette::Active, QPalette::Light, brush2);
202 QBrush brush3(QColor(255, 255, 191, 255));
203 brush3.setStyle(Qt::SolidPattern);
204 palette.setBrush(QPalette::Active, QPalette::Midlight, brush3);
205 QBrush brush4(QColor(127, 127, 63, 255));
206 brush4.setStyle(Qt::SolidPattern);
207 palette.setBrush(QPalette::Active, QPalette::Dark, brush4);
208 QBrush brush5(QColor(170, 170, 84, 255));
209 brush5.setStyle(Qt::SolidPattern);
210 palette.setBrush(QPalette::Active, QPalette::Mid, brush5);
211 palette.setBrush(QPalette::Active, QPalette::Text, brush);
212 palette.setBrush(QPalette::Active, QPalette::BrightText, brush2);
213 palette.setBrush(QPalette::Active, QPalette::ButtonText, brush);
214 palette.setBrush(QPalette::Active, QPalette::Base, brush2);
215 palette.setBrush(QPalette::Active, QPalette::Window, brush1);
216 palette.setBrush(QPalette::Active, QPalette::Shadow, brush);
217 palette.setBrush(QPalette::Active, QPalette::AlternateBase, brush3);
218 QBrush brush6(QColor(255, 255, 220, 255));
219 brush6.setStyle(Qt::SolidPattern);
220 palette.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
221 palette.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
222 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
223 palette.setBrush(QPalette::Inactive, QPalette::Button, brush1);
224 palette.setBrush(QPalette::Inactive, QPalette::Light, brush2);
225 palette.setBrush(QPalette::Inactive, QPalette::Midlight, brush3);
226 palette.setBrush(QPalette::Inactive, QPalette::Dark, brush4);
227 palette.setBrush(QPalette::Inactive, QPalette::Mid, brush5);
228 palette.setBrush(QPalette::Inactive, QPalette::Text, brush);
229 palette.setBrush(QPalette::Inactive, QPalette::BrightText, brush2);
230 palette.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
231 palette.setBrush(QPalette::Inactive, QPalette::Base, brush2);
232 palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
233 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
234 palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush3);
235 palette.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
236 palette.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
237 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4);
238 palette.setBrush(QPalette::Disabled, QPalette::Button, brush1);
239 palette.setBrush(QPalette::Disabled, QPalette::Light, brush2);
240 palette.setBrush(QPalette::Disabled, QPalette::Midlight, brush3);
241 palette.setBrush(QPalette::Disabled, QPalette::Dark, brush4);
242 palette.setBrush(QPalette::Disabled, QPalette::Mid, brush5);
243 palette.setBrush(QPalette::Disabled, QPalette::Text, brush4);
244 palette.setBrush(QPalette::Disabled, QPalette::BrightText, brush2);
245 palette.setBrush(QPalette::Disabled, QPalette::ButtonText, brush4);
246 palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
247 palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
248 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
249 palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush1);
250 palette.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
251 palette.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
252 SendCoins_UnauthenticatedPaymentRequest->setPalette(palette);
253 SendCoins_UnauthenticatedPaymentRequest->setAutoFillBackground(
true);
254 SendCoins_UnauthenticatedPaymentRequest->setFrameShape(QFrame::NoFrame);
255 gridLayout_is =
new QGridLayout(SendCoins_UnauthenticatedPaymentRequest);
256 gridLayout_is->setSpacing(12);
257 gridLayout_is->setObjectName(QStringLiteral(
"gridLayout_is"));
258 payToLabel_is =
new QLabel(SendCoins_UnauthenticatedPaymentRequest);
259 payToLabel_is->setObjectName(QStringLiteral(
"payToLabel_is"));
260 payToLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
262 gridLayout_is->addWidget(payToLabel_is, 0, 0, 1, 1);
264 payToLayout_is =
new QHBoxLayout();
265 payToLayout_is->setSpacing(0);
266 payToLayout_is->setObjectName(QStringLiteral(
"payToLayout_is"));
267 payTo_is =
new QLabel(SendCoins_UnauthenticatedPaymentRequest);
268 payTo_is->setObjectName(QStringLiteral(
"payTo_is"));
270 payToLayout_is->addWidget(payTo_is);
272 deleteButton_is =
new QToolButton(SendCoins_UnauthenticatedPaymentRequest);
273 deleteButton_is->setObjectName(QStringLiteral(
"deleteButton_is"));
274 deleteButton_is->setIcon(icon2);
276 payToLayout_is->addWidget(deleteButton_is);
279 gridLayout_is->addLayout(payToLayout_is, 0, 1, 1, 1);
281 memoLabel_is =
new QLabel(SendCoins_UnauthenticatedPaymentRequest);
282 memoLabel_is->setObjectName(QStringLiteral(
"memoLabel_is"));
283 memoLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
285 gridLayout_is->addWidget(memoLabel_is, 1, 0, 1, 1);
287 memoTextLabel_is =
new QLabel(SendCoins_UnauthenticatedPaymentRequest);
288 memoTextLabel_is->setObjectName(QStringLiteral(
"memoTextLabel_is"));
289 memoTextLabel_is->setTextFormat(Qt::PlainText);
291 gridLayout_is->addWidget(memoTextLabel_is, 1, 1, 1, 1);
293 amountLabel_is =
new QLabel(SendCoins_UnauthenticatedPaymentRequest);
294 amountLabel_is->setObjectName(QStringLiteral(
"amountLabel_is"));
295 amountLabel_is->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
297 gridLayout_is->addWidget(amountLabel_is, 2, 0, 1, 1);
300 payAmount_is->setObjectName(QStringLiteral(
"payAmount_is"));
301 payAmount_is->setAcceptDrops(
false);
303 gridLayout_is->addWidget(payAmount_is, 2, 1, 1, 1);
305 SendCoinsEntry->addWidget(SendCoins_UnauthenticatedPaymentRequest);
306 SendCoins_AuthenticatedPaymentRequest =
new QFrame();
307 SendCoins_AuthenticatedPaymentRequest->setObjectName(QStringLiteral(
"SendCoins_AuthenticatedPaymentRequest"));
309 palette1.setBrush(QPalette::Active, QPalette::WindowText, brush);
310 QBrush brush7(QColor(140, 232, 119, 255));
311 brush7.setStyle(Qt::SolidPattern);
312 palette1.setBrush(QPalette::Active, QPalette::Button, brush7);
313 QBrush brush8(QColor(230, 255, 224, 255));
314 brush8.setStyle(Qt::SolidPattern);
315 palette1.setBrush(QPalette::Active, QPalette::Light, brush8);
316 QBrush brush9(QColor(185, 243, 171, 255));
317 brush9.setStyle(Qt::SolidPattern);
318 palette1.setBrush(QPalette::Active, QPalette::Midlight, brush9);
319 QBrush brush10(QColor(70, 116, 59, 255));
320 brush10.setStyle(Qt::SolidPattern);
321 palette1.setBrush(QPalette::Active, QPalette::Dark, brush10);
322 QBrush brush11(QColor(93, 155, 79, 255));
323 brush11.setStyle(Qt::SolidPattern);
324 palette1.setBrush(QPalette::Active, QPalette::Mid, brush11);
325 palette1.setBrush(QPalette::Active, QPalette::Text, brush);
326 QBrush brush12(QColor(155, 255, 147, 255));
327 brush12.setStyle(Qt::SolidPattern);
328 palette1.setBrush(QPalette::Active, QPalette::BrightText, brush12);
329 palette1.setBrush(QPalette::Active, QPalette::ButtonText, brush);
330 QBrush brush13(QColor(119, 255, 233, 255));
331 brush13.setStyle(Qt::SolidPattern);
332 palette1.setBrush(QPalette::Active, QPalette::Base, brush13);
333 palette1.setBrush(QPalette::Active, QPalette::Window, brush7);
334 palette1.setBrush(QPalette::Active, QPalette::Shadow, brush);
335 QBrush brush14(QColor(197, 243, 187, 255));
336 brush14.setStyle(Qt::SolidPattern);
337 palette1.setBrush(QPalette::Active, QPalette::AlternateBase, brush14);
338 QBrush brush15(QColor(125, 194, 122, 255));
339 brush15.setStyle(Qt::SolidPattern);
340 palette1.setBrush(QPalette::Active, QPalette::NoRole, brush15);
341 palette1.setBrush(QPalette::Active, QPalette::ToolTipBase, brush6);
342 palette1.setBrush(QPalette::Active, QPalette::ToolTipText, brush);
343 palette1.setBrush(QPalette::Inactive, QPalette::WindowText, brush);
344 palette1.setBrush(QPalette::Inactive, QPalette::Button, brush7);
345 palette1.setBrush(QPalette::Inactive, QPalette::Light, brush8);
346 palette1.setBrush(QPalette::Inactive, QPalette::Midlight, brush9);
347 palette1.setBrush(QPalette::Inactive, QPalette::Dark, brush10);
348 palette1.setBrush(QPalette::Inactive, QPalette::Mid, brush11);
349 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush);
350 palette1.setBrush(QPalette::Inactive, QPalette::BrightText, brush12);
351 palette1.setBrush(QPalette::Inactive, QPalette::ButtonText, brush);
352 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush13);
353 palette1.setBrush(QPalette::Inactive, QPalette::Window, brush7);
354 palette1.setBrush(QPalette::Inactive, QPalette::Shadow, brush);
355 palette1.setBrush(QPalette::Inactive, QPalette::AlternateBase, brush14);
356 palette1.setBrush(QPalette::Inactive, QPalette::NoRole, brush15);
357 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipBase, brush6);
358 palette1.setBrush(QPalette::Inactive, QPalette::ToolTipText, brush);
359 palette1.setBrush(QPalette::Disabled, QPalette::WindowText, brush10);
360 palette1.setBrush(QPalette::Disabled, QPalette::Button, brush7);
361 palette1.setBrush(QPalette::Disabled, QPalette::Light, brush8);
362 palette1.setBrush(QPalette::Disabled, QPalette::Midlight, brush9);
363 palette1.setBrush(QPalette::Disabled, QPalette::Dark, brush10);
364 palette1.setBrush(QPalette::Disabled, QPalette::Mid, brush11);
365 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush10);
366 palette1.setBrush(QPalette::Disabled, QPalette::BrightText, brush12);
367 palette1.setBrush(QPalette::Disabled, QPalette::ButtonText, brush10);
368 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush7);
369 palette1.setBrush(QPalette::Disabled, QPalette::Window, brush7);
370 palette1.setBrush(QPalette::Disabled, QPalette::Shadow, brush);
371 palette1.setBrush(QPalette::Disabled, QPalette::AlternateBase, brush7);
372 palette1.setBrush(QPalette::Disabled, QPalette::NoRole, brush15);
373 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipBase, brush6);
374 palette1.setBrush(QPalette::Disabled, QPalette::ToolTipText, brush);
375 SendCoins_AuthenticatedPaymentRequest->setPalette(palette1);
376 SendCoins_AuthenticatedPaymentRequest->setAutoFillBackground(
true);
377 SendCoins_AuthenticatedPaymentRequest->setFrameShape(QFrame::NoFrame);
378 gridLayout_s =
new QGridLayout(SendCoins_AuthenticatedPaymentRequest);
379 gridLayout_s->setSpacing(12);
380 gridLayout_s->setObjectName(QStringLiteral(
"gridLayout_s"));
381 payToLabel_s =
new QLabel(SendCoins_AuthenticatedPaymentRequest);
382 payToLabel_s->setObjectName(QStringLiteral(
"payToLabel_s"));
383 payToLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
385 gridLayout_s->addWidget(payToLabel_s, 0, 0, 1, 1);
387 payToLayout_s =
new QHBoxLayout();
388 payToLayout_s->setSpacing(0);
389 payToLayout_s->setObjectName(QStringLiteral(
"payToLayout_s"));
390 payTo_s =
new QLabel(SendCoins_AuthenticatedPaymentRequest);
391 payTo_s->setObjectName(QStringLiteral(
"payTo_s"));
392 payTo_s->setTextFormat(Qt::PlainText);
394 payToLayout_s->addWidget(payTo_s);
396 deleteButton_s =
new QToolButton(SendCoins_AuthenticatedPaymentRequest);
397 deleteButton_s->setObjectName(QStringLiteral(
"deleteButton_s"));
398 deleteButton_s->setIcon(icon2);
400 payToLayout_s->addWidget(deleteButton_s);
403 gridLayout_s->addLayout(payToLayout_s, 0, 1, 1, 1);
405 memoLabel_s =
new QLabel(SendCoins_AuthenticatedPaymentRequest);
406 memoLabel_s->setObjectName(QStringLiteral(
"memoLabel_s"));
407 memoLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
409 gridLayout_s->addWidget(memoLabel_s, 1, 0, 1, 1);
411 memoTextLabel_s =
new QLabel(SendCoins_AuthenticatedPaymentRequest);
412 memoTextLabel_s->setObjectName(QStringLiteral(
"memoTextLabel_s"));
413 memoTextLabel_s->setTextFormat(Qt::PlainText);
415 gridLayout_s->addWidget(memoTextLabel_s, 1, 1, 1, 1);
417 amountLabel_s =
new QLabel(SendCoins_AuthenticatedPaymentRequest);
418 amountLabel_s->setObjectName(QStringLiteral(
"amountLabel_s"));
419 amountLabel_s->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
421 gridLayout_s->addWidget(amountLabel_s, 2, 0, 1, 1);
424 payAmount_s->setObjectName(QStringLiteral(
"payAmount_s"));
425 payAmount_s->setAcceptDrops(
false);
427 gridLayout_s->addWidget(payAmount_s, 2, 1, 1, 1);
429 SendCoinsEntry->addWidget(SendCoins_AuthenticatedPaymentRequest);
430 #ifndef QT_NO_SHORTCUT 431 payToLabel->setBuddy(payTo);
432 labellLabel->setBuddy(addAsLabel);
433 amountLabel->setBuddy(payAmount);
434 amountLabel_is->setBuddy(payAmount_is);
435 amountLabel_s->setBuddy(payAmount_s);
436 #endif // QT_NO_SHORTCUT 437 QWidget::setTabOrder(payTo, addressBookButton);
438 QWidget::setTabOrder(addressBookButton, pasteButton);
439 QWidget::setTabOrder(pasteButton, deleteButton);
440 QWidget::setTabOrder(deleteButton, addAsLabel);
441 QWidget::setTabOrder(addAsLabel, payAmount);
442 QWidget::setTabOrder(payAmount, payAmount_is);
443 QWidget::setTabOrder(payAmount_is, deleteButton_is);
444 QWidget::setTabOrder(deleteButton_is, payAmount_s);
445 QWidget::setTabOrder(payAmount_s, deleteButton_s);
449 QMetaObject::connectSlotsByName(SendCoinsEntry);
454 payToLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Pay &To:", 0));
455 #ifndef QT_NO_TOOLTIP 456 payTo->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The Bitcoin address to send the payment to", 0));
457 #endif // QT_NO_TOOLTIP 458 #ifndef QT_NO_TOOLTIP 459 addressBookButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Choose previously used address", 0));
460 #endif // QT_NO_TOOLTIP 461 addressBookButton->setText(QString());
462 addressBookButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+A", 0));
463 #ifndef QT_NO_TOOLTIP 464 pasteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Paste address from clipboard", 0));
465 #endif // QT_NO_TOOLTIP 466 pasteButton->setText(QString());
467 pasteButton->setShortcut(QApplication::translate(
"SendCoinsEntry",
"Alt+P", 0));
468 #ifndef QT_NO_TOOLTIP 469 deleteButton->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
470 #endif // QT_NO_TOOLTIP 471 deleteButton->setText(QString());
472 labellLabel->setText(QApplication::translate(
"SendCoinsEntry",
"&Label:", 0));
473 #ifndef QT_NO_TOOLTIP 474 addAsLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses", 0));
475 #endif // QT_NO_TOOLTIP 476 addAsLabel->setPlaceholderText(QApplication::translate(
"SendCoinsEntry",
"Enter a label for this address to add it to the list of used addresses", 0));
477 amountLabel->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
478 #ifndef QT_NO_TOOLTIP 479 payAmount->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The amount to send in the selected unit", 0));
480 #endif // QT_NO_TOOLTIP 481 #ifndef QT_NO_TOOLTIP 482 checkboxSubtractFeeFromAmount->setToolTip(QApplication::translate(
"SendCoinsEntry",
"The fee will be deducted from the amount being sent. The recipient will receive less bitcoins than you enter in the amount field. If multiple recipients are selected, the fee is split equally.", 0));
483 #endif // QT_NO_TOOLTIP 484 checkboxSubtractFeeFromAmount->setText(QApplication::translate(
"SendCoinsEntry",
"S&ubtract fee from amount", 0));
485 useAvailableBalanceButton->setText(QApplication::translate(
"SendCoinsEntry",
"Use available balance", 0));
486 messageLabel->setText(QApplication::translate(
"SendCoinsEntry",
"Message:", 0));
487 #ifndef QT_NO_TOOLTIP 488 messageTextLabel->setToolTip(QApplication::translate(
"SendCoinsEntry",
"A message that was attached to the bitcoin: URI which will be stored with the transaction for your reference. Note: This message will not be sent over the Bitcoin network.", 0));
489 #endif // QT_NO_TOOLTIP 490 #ifndef QT_NO_TOOLTIP 491 SendCoins_UnauthenticatedPaymentRequest->setToolTip(QApplication::translate(
"SendCoinsEntry",
"This is an unauthenticated payment request.", 0));
492 #endif // QT_NO_TOOLTIP 493 payToLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", 0));
494 #ifndef QT_NO_TOOLTIP 495 deleteButton_is->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
496 #endif // QT_NO_TOOLTIP 497 deleteButton_is->setText(QString());
498 memoLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", 0));
499 amountLabel_is->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
500 #ifndef QT_NO_TOOLTIP 501 SendCoins_AuthenticatedPaymentRequest->setToolTip(QApplication::translate(
"SendCoinsEntry",
"This is an authenticated payment request.", 0));
502 #endif // QT_NO_TOOLTIP 503 payToLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Pay To:", 0));
504 #ifndef QT_NO_TOOLTIP 505 deleteButton_s->setToolTip(QApplication::translate(
"SendCoinsEntry",
"Remove this entry", 0));
506 #endif // QT_NO_TOOLTIP 507 deleteButton_s->setText(QString());
508 memoLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"Memo:", 0));
509 amountLabel_s->setText(QApplication::translate(
"SendCoinsEntry",
"A&mount:", 0));
510 Q_UNUSED(SendCoinsEntry);
521 #endif // UI_SENDCOINSENTRY_H Widget for entering bitcoin amounts.
BitcoinAmountField * payAmount_s
QHBoxLayout * payToLayout
QToolButton * deleteButton
QLabel * memoTextLabel_is
QLabel * messageTextLabel
QValidatedLineEdit * payTo
BitcoinAmountField * payAmount_is
QToolButton * deleteButton_s
Line edit that can be marked as "invalid" to show input validation feedback.
A single entry in the dialog for sending bitcoins.
QFrame * SendCoins_UnauthenticatedPaymentRequest
QHBoxLayout * payToLayout_is
QHBoxLayout * horizontalLayoutAmount
QToolButton * deleteButton_is
void setupUi(QStackedWidget *SendCoinsEntry)
QHBoxLayout * payToLayout_s
QToolButton * pasteButton
QFrame * SendCoins_AuthenticatedPaymentRequest
QCheckBox * checkboxSubtractFeeFromAmount
QPushButton * useAvailableBalanceButton
QToolButton * addressBookButton
void retranslateUi(QStackedWidget *SendCoinsEntry)
QGridLayout * gridLayout_s
BitcoinAmountField * payAmount
QGridLayout * gridLayout_is