9 #ifndef UI_SENDCOINSDIALOG_H 10 #define UI_SENDCOINSDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QComboBox> 18 #include <QtWidgets/QDialog> 19 #include <QtWidgets/QFormLayout> 20 #include <QtWidgets/QFrame> 21 #include <QtWidgets/QGridLayout> 22 #include <QtWidgets/QHBoxLayout> 23 #include <QtWidgets/QHeaderView> 24 #include <QtWidgets/QLabel> 25 #include <QtWidgets/QPushButton> 26 #include <QtWidgets/QRadioButton> 27 #include <QtWidgets/QScrollArea> 28 #include <QtWidgets/QSpacerItem> 29 #include <QtWidgets/QVBoxLayout> 30 #include <QtWidgets/QWidget> 140 if (SendCoinsDialog->objectName().isEmpty())
141 SendCoinsDialog->setObjectName(QStringLiteral(
"SendCoinsDialog"));
142 SendCoinsDialog->resize(850, 526);
143 verticalLayout =
new QVBoxLayout(SendCoinsDialog);
144 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
145 verticalLayout->setContentsMargins(-1, -1, -1, 8);
146 frameCoinControl =
new QFrame(SendCoinsDialog);
147 frameCoinControl->setObjectName(QStringLiteral(
"frameCoinControl"));
148 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
149 sizePolicy.setHorizontalStretch(0);
150 sizePolicy.setVerticalStretch(0);
151 sizePolicy.setHeightForWidth(frameCoinControl->sizePolicy().hasHeightForWidth());
152 frameCoinControl->setSizePolicy(sizePolicy);
153 frameCoinControl->setMaximumSize(QSize(16777215, 16777215));
154 frameCoinControl->setFrameShape(QFrame::StyledPanel);
155 frameCoinControl->setFrameShadow(QFrame::Sunken);
156 verticalLayoutCoinControl2 =
new QVBoxLayout(frameCoinControl);
157 verticalLayoutCoinControl2->setSpacing(0);
158 verticalLayoutCoinControl2->setObjectName(QStringLiteral(
"verticalLayoutCoinControl2"));
159 verticalLayoutCoinControl2->setContentsMargins(0, 0, 0, 6);
160 verticalLayoutCoinControl =
new QVBoxLayout();
161 verticalLayoutCoinControl->setSpacing(0);
162 verticalLayoutCoinControl->setObjectName(QStringLiteral(
"verticalLayoutCoinControl"));
163 verticalLayoutCoinControl->setContentsMargins(10, 10, -1, -1);
164 horizontalLayoutCoinControl1 =
new QHBoxLayout();
165 horizontalLayoutCoinControl1->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl1"));
166 horizontalLayoutCoinControl1->setContentsMargins(-1, -1, -1, 15);
167 labelCoinControlFeatures =
new QLabel(frameCoinControl);
168 labelCoinControlFeatures->setObjectName(QStringLiteral(
"labelCoinControlFeatures"));
169 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Maximum);
170 sizePolicy1.setHorizontalStretch(0);
171 sizePolicy1.setVerticalStretch(0);
172 sizePolicy1.setHeightForWidth(labelCoinControlFeatures->sizePolicy().hasHeightForWidth());
173 labelCoinControlFeatures->setSizePolicy(sizePolicy1);
177 labelCoinControlFeatures->setFont(font);
178 labelCoinControlFeatures->setStyleSheet(QStringLiteral(
"font-weight:bold;"));
180 horizontalLayoutCoinControl1->addWidget(labelCoinControlFeatures);
183 verticalLayoutCoinControl->addLayout(horizontalLayoutCoinControl1);
185 horizontalLayoutCoinControl2 =
new QHBoxLayout();
186 horizontalLayoutCoinControl2->setSpacing(8);
187 horizontalLayoutCoinControl2->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl2"));
188 horizontalLayoutCoinControl2->setContentsMargins(-1, -1, -1, 10);
189 pushButtonCoinControl =
new QPushButton(frameCoinControl);
190 pushButtonCoinControl->setObjectName(QStringLiteral(
"pushButtonCoinControl"));
191 pushButtonCoinControl->setStyleSheet(QStringLiteral(
""));
192 pushButtonCoinControl->setAutoDefault(
false);
194 horizontalLayoutCoinControl2->addWidget(pushButtonCoinControl);
196 labelCoinControlAutomaticallySelected =
new QLabel(frameCoinControl);
197 labelCoinControlAutomaticallySelected->setObjectName(QStringLiteral(
"labelCoinControlAutomaticallySelected"));
198 labelCoinControlAutomaticallySelected->setMargin(5);
200 horizontalLayoutCoinControl2->addWidget(labelCoinControlAutomaticallySelected);
202 labelCoinControlInsuffFunds =
new QLabel(frameCoinControl);
203 labelCoinControlInsuffFunds->setObjectName(QStringLiteral(
"labelCoinControlInsuffFunds"));
204 labelCoinControlInsuffFunds->setFont(font);
205 labelCoinControlInsuffFunds->setStyleSheet(QStringLiteral(
"color:red;font-weight:bold;"));
206 labelCoinControlInsuffFunds->setMargin(5);
208 horizontalLayoutCoinControl2->addWidget(labelCoinControlInsuffFunds);
210 horizontalSpacerCoinControl =
new QSpacerItem(40, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
212 horizontalLayoutCoinControl2->addItem(horizontalSpacerCoinControl);
215 verticalLayoutCoinControl->addLayout(horizontalLayoutCoinControl2);
217 widgetCoinControl =
new QWidget(frameCoinControl);
218 widgetCoinControl->setObjectName(QStringLiteral(
"widgetCoinControl"));
219 QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
220 sizePolicy2.setHorizontalStretch(0);
221 sizePolicy2.setVerticalStretch(0);
222 sizePolicy2.setHeightForWidth(widgetCoinControl->sizePolicy().hasHeightForWidth());
223 widgetCoinControl->setSizePolicy(sizePolicy2);
224 widgetCoinControl->setMinimumSize(QSize(0, 0));
225 widgetCoinControl->setStyleSheet(QStringLiteral(
""));
226 horizontalLayoutCoinControl5 =
new QHBoxLayout(widgetCoinControl);
227 horizontalLayoutCoinControl5->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl5"));
228 horizontalLayoutCoinControl5->setContentsMargins(0, 0, 0, 0);
229 horizontalLayoutCoinControl3 =
new QHBoxLayout();
230 horizontalLayoutCoinControl3->setSpacing(20);
231 horizontalLayoutCoinControl3->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl3"));
232 horizontalLayoutCoinControl3->setContentsMargins(-1, 0, -1, 10);
233 formLayoutCoinControl1 =
new QFormLayout();
234 formLayoutCoinControl1->setObjectName(QStringLiteral(
"formLayoutCoinControl1"));
235 formLayoutCoinControl1->setHorizontalSpacing(10);
236 formLayoutCoinControl1->setVerticalSpacing(14);
237 formLayoutCoinControl1->setContentsMargins(10, 4, 6, -1);
238 labelCoinControlQuantityText =
new QLabel(widgetCoinControl);
239 labelCoinControlQuantityText->setObjectName(QStringLiteral(
"labelCoinControlQuantityText"));
240 labelCoinControlQuantityText->setFont(font);
241 labelCoinControlQuantityText->setMargin(0);
243 formLayoutCoinControl1->setWidget(0, QFormLayout::LabelRole, labelCoinControlQuantityText);
245 labelCoinControlQuantity =
new QLabel(widgetCoinControl);
246 labelCoinControlQuantity->setObjectName(QStringLiteral(
"labelCoinControlQuantity"));
247 labelCoinControlQuantity->setCursor(QCursor(Qt::IBeamCursor));
248 labelCoinControlQuantity->setContextMenuPolicy(Qt::ActionsContextMenu);
249 labelCoinControlQuantity->setText(QStringLiteral(
"0"));
250 labelCoinControlQuantity->setMargin(0);
251 labelCoinControlQuantity->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
253 formLayoutCoinControl1->setWidget(0, QFormLayout::FieldRole, labelCoinControlQuantity);
255 labelCoinControlBytesText =
new QLabel(widgetCoinControl);
256 labelCoinControlBytesText->setObjectName(QStringLiteral(
"labelCoinControlBytesText"));
257 labelCoinControlBytesText->setFont(font);
259 formLayoutCoinControl1->setWidget(1, QFormLayout::LabelRole, labelCoinControlBytesText);
261 labelCoinControlBytes =
new QLabel(widgetCoinControl);
262 labelCoinControlBytes->setObjectName(QStringLiteral(
"labelCoinControlBytes"));
263 labelCoinControlBytes->setCursor(QCursor(Qt::IBeamCursor));
264 labelCoinControlBytes->setContextMenuPolicy(Qt::ActionsContextMenu);
265 labelCoinControlBytes->setText(QStringLiteral(
"0"));
266 labelCoinControlBytes->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
268 formLayoutCoinControl1->setWidget(1, QFormLayout::FieldRole, labelCoinControlBytes);
271 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl1);
273 formLayoutCoinControl2 =
new QFormLayout();
274 formLayoutCoinControl2->setObjectName(QStringLiteral(
"formLayoutCoinControl2"));
275 formLayoutCoinControl2->setHorizontalSpacing(10);
276 formLayoutCoinControl2->setVerticalSpacing(14);
277 formLayoutCoinControl2->setContentsMargins(6, 4, 6, -1);
278 labelCoinControlAmountText =
new QLabel(widgetCoinControl);
279 labelCoinControlAmountText->setObjectName(QStringLiteral(
"labelCoinControlAmountText"));
280 labelCoinControlAmountText->setFont(font);
281 labelCoinControlAmountText->setMargin(0);
283 formLayoutCoinControl2->setWidget(0, QFormLayout::LabelRole, labelCoinControlAmountText);
285 labelCoinControlAmount =
new QLabel(widgetCoinControl);
286 labelCoinControlAmount->setObjectName(QStringLiteral(
"labelCoinControlAmount"));
287 labelCoinControlAmount->setCursor(QCursor(Qt::IBeamCursor));
288 labelCoinControlAmount->setContextMenuPolicy(Qt::ActionsContextMenu);
289 labelCoinControlAmount->setText(QStringLiteral(
"0.00 BTC"));
290 labelCoinControlAmount->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
292 formLayoutCoinControl2->setWidget(0, QFormLayout::FieldRole, labelCoinControlAmount);
294 labelCoinControlLowOutputText =
new QLabel(widgetCoinControl);
295 labelCoinControlLowOutputText->setObjectName(QStringLiteral(
"labelCoinControlLowOutputText"));
296 labelCoinControlLowOutputText->setFont(font);
298 formLayoutCoinControl2->setWidget(1, QFormLayout::LabelRole, labelCoinControlLowOutputText);
300 labelCoinControlLowOutput =
new QLabel(widgetCoinControl);
301 labelCoinControlLowOutput->setObjectName(QStringLiteral(
"labelCoinControlLowOutput"));
302 labelCoinControlLowOutput->setCursor(QCursor(Qt::IBeamCursor));
303 labelCoinControlLowOutput->setContextMenuPolicy(Qt::ActionsContextMenu);
304 labelCoinControlLowOutput->setText(QStringLiteral(
"no"));
305 labelCoinControlLowOutput->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
307 formLayoutCoinControl2->setWidget(1, QFormLayout::FieldRole, labelCoinControlLowOutput);
310 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl2);
312 formLayoutCoinControl3 =
new QFormLayout();
313 formLayoutCoinControl3->setObjectName(QStringLiteral(
"formLayoutCoinControl3"));
314 formLayoutCoinControl3->setHorizontalSpacing(10);
315 formLayoutCoinControl3->setVerticalSpacing(14);
316 formLayoutCoinControl3->setContentsMargins(6, 4, 6, -1);
317 labelCoinControlFeeText =
new QLabel(widgetCoinControl);
318 labelCoinControlFeeText->setObjectName(QStringLiteral(
"labelCoinControlFeeText"));
319 labelCoinControlFeeText->setFont(font);
320 labelCoinControlFeeText->setMargin(0);
322 formLayoutCoinControl3->setWidget(0, QFormLayout::LabelRole, labelCoinControlFeeText);
324 labelCoinControlFee =
new QLabel(widgetCoinControl);
325 labelCoinControlFee->setObjectName(QStringLiteral(
"labelCoinControlFee"));
326 labelCoinControlFee->setCursor(QCursor(Qt::IBeamCursor));
327 labelCoinControlFee->setContextMenuPolicy(Qt::ActionsContextMenu);
328 labelCoinControlFee->setText(QStringLiteral(
"0.00 BTC"));
329 labelCoinControlFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
331 formLayoutCoinControl3->setWidget(0, QFormLayout::FieldRole, labelCoinControlFee);
334 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl3);
336 formLayoutCoinControl4 =
new QFormLayout();
337 formLayoutCoinControl4->setObjectName(QStringLiteral(
"formLayoutCoinControl4"));
338 formLayoutCoinControl4->setHorizontalSpacing(10);
339 formLayoutCoinControl4->setVerticalSpacing(14);
340 formLayoutCoinControl4->setContentsMargins(6, 4, 6, -1);
341 labelCoinControlAfterFeeText =
new QLabel(widgetCoinControl);
342 labelCoinControlAfterFeeText->setObjectName(QStringLiteral(
"labelCoinControlAfterFeeText"));
343 labelCoinControlAfterFeeText->setFont(font);
344 labelCoinControlAfterFeeText->setMargin(0);
346 formLayoutCoinControl4->setWidget(0, QFormLayout::LabelRole, labelCoinControlAfterFeeText);
348 labelCoinControlAfterFee =
new QLabel(widgetCoinControl);
349 labelCoinControlAfterFee->setObjectName(QStringLiteral(
"labelCoinControlAfterFee"));
350 labelCoinControlAfterFee->setCursor(QCursor(Qt::IBeamCursor));
351 labelCoinControlAfterFee->setContextMenuPolicy(Qt::ActionsContextMenu);
352 labelCoinControlAfterFee->setText(QStringLiteral(
"0.00 BTC"));
353 labelCoinControlAfterFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
355 formLayoutCoinControl4->setWidget(0, QFormLayout::FieldRole, labelCoinControlAfterFee);
357 labelCoinControlChangeText =
new QLabel(widgetCoinControl);
358 labelCoinControlChangeText->setObjectName(QStringLiteral(
"labelCoinControlChangeText"));
359 labelCoinControlChangeText->setFont(font);
361 formLayoutCoinControl4->setWidget(1, QFormLayout::LabelRole, labelCoinControlChangeText);
363 labelCoinControlChange =
new QLabel(widgetCoinControl);
364 labelCoinControlChange->setObjectName(QStringLiteral(
"labelCoinControlChange"));
365 labelCoinControlChange->setCursor(QCursor(Qt::IBeamCursor));
366 labelCoinControlChange->setContextMenuPolicy(Qt::ActionsContextMenu);
367 labelCoinControlChange->setText(QStringLiteral(
"0.00 BTC"));
368 labelCoinControlChange->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
370 formLayoutCoinControl4->setWidget(1, QFormLayout::FieldRole, labelCoinControlChange);
373 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl4);
375 horizontalLayoutCoinControl3->setStretch(3, 1);
377 horizontalLayoutCoinControl5->addLayout(horizontalLayoutCoinControl3);
380 verticalLayoutCoinControl->addWidget(widgetCoinControl);
382 horizontalLayoutCoinControl4 =
new QHBoxLayout();
383 horizontalLayoutCoinControl4->setSpacing(12);
384 horizontalLayoutCoinControl4->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl4"));
385 horizontalLayoutCoinControl4->setSizeConstraint(QLayout::SetDefaultConstraint);
386 horizontalLayoutCoinControl4->setContentsMargins(-1, 5, 5, -1);
387 checkBoxCoinControlChange =
new QCheckBox(frameCoinControl);
388 checkBoxCoinControlChange->setObjectName(QStringLiteral(
"checkBoxCoinControlChange"));
390 horizontalLayoutCoinControl4->addWidget(checkBoxCoinControlChange);
393 lineEditCoinControlChange->setObjectName(QStringLiteral(
"lineEditCoinControlChange"));
395 QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
396 sizePolicy3.setHorizontalStretch(0);
397 sizePolicy3.setVerticalStretch(0);
398 sizePolicy3.setHeightForWidth(lineEditCoinControlChange->sizePolicy().hasHeightForWidth());
399 lineEditCoinControlChange->setSizePolicy(sizePolicy3);
401 horizontalLayoutCoinControl4->addWidget(lineEditCoinControlChange);
403 labelCoinControlChangeLabel =
new QLabel(frameCoinControl);
404 labelCoinControlChangeLabel->setObjectName(QStringLiteral(
"labelCoinControlChangeLabel"));
405 QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Expanding);
406 sizePolicy4.setHorizontalStretch(0);
407 sizePolicy4.setVerticalStretch(0);
408 sizePolicy4.setHeightForWidth(labelCoinControlChangeLabel->sizePolicy().hasHeightForWidth());
409 labelCoinControlChangeLabel->setSizePolicy(sizePolicy4);
410 labelCoinControlChangeLabel->setMinimumSize(QSize(0, 0));
411 labelCoinControlChangeLabel->setMargin(3);
413 horizontalLayoutCoinControl4->addWidget(labelCoinControlChangeLabel);
416 verticalLayoutCoinControl->addLayout(horizontalLayoutCoinControl4);
418 verticalSpacerCoinControl =
new QSpacerItem(800, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
420 verticalLayoutCoinControl->addItem(verticalSpacerCoinControl);
422 verticalLayoutCoinControl->setStretch(4, 1);
424 verticalLayoutCoinControl2->addLayout(verticalLayoutCoinControl);
427 verticalLayout->addWidget(frameCoinControl);
429 scrollArea =
new QScrollArea(SendCoinsDialog);
430 scrollArea->setObjectName(QStringLiteral(
"scrollArea"));
431 scrollArea->setWidgetResizable(
true);
432 scrollAreaWidgetContents =
new QWidget();
433 scrollAreaWidgetContents->setObjectName(QStringLiteral(
"scrollAreaWidgetContents"));
434 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 830, 104));
435 verticalLayout_2 =
new QVBoxLayout(scrollAreaWidgetContents);
436 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
437 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
438 entries =
new QVBoxLayout();
439 entries->setSpacing(6);
440 entries->setObjectName(QStringLiteral(
"entries"));
442 verticalLayout_2->addLayout(entries);
444 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
446 verticalLayout_2->addItem(verticalSpacer);
448 verticalLayout_2->setStretch(1, 1);
449 scrollArea->setWidget(scrollAreaWidgetContents);
451 verticalLayout->addWidget(scrollArea);
453 frameFee =
new QFrame(SendCoinsDialog);
454 frameFee->setObjectName(QStringLiteral(
"frameFee"));
455 sizePolicy.setHeightForWidth(frameFee->sizePolicy().hasHeightForWidth());
456 frameFee->setSizePolicy(sizePolicy);
457 frameFee->setMaximumSize(QSize(16777215, 16777215));
458 frameFee->setFrameShape(QFrame::StyledPanel);
459 frameFee->setFrameShadow(QFrame::Sunken);
460 verticalLayoutFee1 =
new QVBoxLayout(frameFee);
461 verticalLayoutFee1->setSpacing(0);
462 verticalLayoutFee1->setObjectName(QStringLiteral(
"verticalLayoutFee1"));
463 verticalLayoutFee1->setContentsMargins(0, 0, 0, 0);
464 verticalLayoutFee2 =
new QVBoxLayout();
465 verticalLayoutFee2->setSpacing(0);
466 verticalLayoutFee2->setObjectName(QStringLiteral(
"verticalLayoutFee2"));
467 verticalLayoutFee2->setContentsMargins(10, 0, -1, -1);
468 horizontalLayoutFee1 =
new QHBoxLayout();
469 horizontalLayoutFee1->setObjectName(QStringLiteral(
"horizontalLayoutFee1"));
470 horizontalLayoutFee1->setContentsMargins(-1, -1, -1, 0);
471 verticalLayoutFee7 =
new QVBoxLayout();
472 verticalLayoutFee7->setSpacing(0);
473 verticalLayoutFee7->setObjectName(QStringLiteral(
"verticalLayoutFee7"));
474 verticalSpacerSmartFee =
new QSpacerItem(1, 4, QSizePolicy::Minimum, QSizePolicy::Fixed);
476 verticalLayoutFee7->addItem(verticalSpacerSmartFee);
478 horizontalLayoutSmartFee =
new QHBoxLayout();
479 horizontalLayoutSmartFee->setSpacing(10);
480 horizontalLayoutSmartFee->setObjectName(QStringLiteral(
"horizontalLayoutSmartFee"));
481 labelFeeHeadline =
new QLabel(frameFee);
482 labelFeeHeadline->setObjectName(QStringLiteral(
"labelFeeHeadline"));
483 sizePolicy1.setHeightForWidth(labelFeeHeadline->sizePolicy().hasHeightForWidth());
484 labelFeeHeadline->setSizePolicy(sizePolicy1);
485 labelFeeHeadline->setFont(font);
486 labelFeeHeadline->setStyleSheet(QStringLiteral(
"font-weight:bold;"));
488 horizontalLayoutSmartFee->addWidget(labelFeeHeadline);
490 labelFeeMinimized =
new QLabel(frameFee);
491 labelFeeMinimized->setObjectName(QStringLiteral(
"labelFeeMinimized"));
493 horizontalLayoutSmartFee->addWidget(labelFeeMinimized);
495 buttonChooseFee =
new QPushButton(frameFee);
496 buttonChooseFee->setObjectName(QStringLiteral(
"buttonChooseFee"));
498 horizontalLayoutSmartFee->addWidget(buttonChooseFee);
501 verticalLayoutFee7->addLayout(horizontalLayoutSmartFee);
503 verticalSpacer_5 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
505 verticalLayoutFee7->addItem(verticalSpacer_5);
508 horizontalLayoutFee1->addLayout(verticalLayoutFee7);
510 fallbackFeeWarningLabel =
new QLabel(frameFee);
511 fallbackFeeWarningLabel->setObjectName(QStringLiteral(
"fallbackFeeWarningLabel"));
512 fallbackFeeWarningLabel->setFont(font);
513 fallbackFeeWarningLabel->setWordWrap(
false);
515 horizontalLayoutFee1->addWidget(fallbackFeeWarningLabel);
517 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
519 horizontalLayoutFee1->addItem(horizontalSpacer_4);
521 buttonMinimizeFee =
new QPushButton(frameFee);
522 buttonMinimizeFee->setObjectName(QStringLiteral(
"buttonMinimizeFee"));
524 horizontalLayoutFee1->addWidget(buttonMinimizeFee);
527 verticalLayoutFee2->addLayout(horizontalLayoutFee1);
529 frameFeeSelection =
new QFrame(frameFee);
530 frameFeeSelection->setObjectName(QStringLiteral(
"frameFeeSelection"));
531 verticalLayoutFee12 =
new QVBoxLayout(frameFeeSelection);
532 verticalLayoutFee12->setSpacing(0);
533 verticalLayoutFee12->setObjectName(QStringLiteral(
"verticalLayoutFee12"));
534 verticalLayoutFee12->setContentsMargins(0, 0, 0, 0);
535 gridLayoutFee =
new QGridLayout();
536 gridLayoutFee->setObjectName(QStringLiteral(
"gridLayoutFee"));
537 gridLayoutFee->setHorizontalSpacing(10);
538 gridLayoutFee->setVerticalSpacing(4);
539 gridLayoutFee->setContentsMargins(-1, 10, -1, 4);
540 verticalLayoutFee8 =
new QVBoxLayout();
541 verticalLayoutFee8->setSpacing(6);
542 verticalLayoutFee8->setObjectName(QStringLiteral(
"verticalLayoutFee8"));
543 horizontalLayoutFee13 =
new QHBoxLayout();
544 horizontalLayoutFee13->setObjectName(QStringLiteral(
"horizontalLayoutFee13"));
545 labelCustomPerKilobyte =
new QLabel(frameFeeSelection);
546 labelCustomPerKilobyte->setObjectName(QStringLiteral(
"labelCustomPerKilobyte"));
548 horizontalLayoutFee13->addWidget(labelCustomPerKilobyte);
551 customFee->setObjectName(QStringLiteral(
"customFee"));
553 horizontalLayoutFee13->addWidget(customFee);
555 horizontalSpacer_6 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
557 horizontalLayoutFee13->addItem(horizontalSpacer_6);
560 verticalLayoutFee8->addLayout(horizontalLayoutFee13);
562 horizontalLayoutFee8 =
new QHBoxLayout();
563 horizontalLayoutFee8->setObjectName(QStringLiteral(
"horizontalLayoutFee8"));
564 labelCustomFeeWarning =
new QLabel(frameFeeSelection);
565 labelCustomFeeWarning->setObjectName(QStringLiteral(
"labelCustomFeeWarning"));
566 labelCustomFeeWarning->setEnabled(
true);
568 horizontalLayoutFee8->addWidget(labelCustomFeeWarning);
570 horizontalSpacer_2 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
572 horizontalLayoutFee8->addItem(horizontalSpacer_2);
575 verticalLayoutFee8->addLayout(horizontalLayoutFee8);
578 gridLayoutFee->addLayout(verticalLayoutFee8, 1, 1, 1, 1);
580 verticalLayoutFee4 =
new QVBoxLayout();
581 verticalLayoutFee4->setObjectName(QStringLiteral(
"verticalLayoutFee4"));
582 radioSmartFee =
new QRadioButton(frameFeeSelection);
583 groupFee =
new QButtonGroup(SendCoinsDialog);
584 groupFee->setObjectName(QStringLiteral(
"groupFee"));
585 groupFee->addButton(radioSmartFee);
586 radioSmartFee->setObjectName(QStringLiteral(
"radioSmartFee"));
587 radioSmartFee->setChecked(
true);
589 verticalLayoutFee4->addWidget(radioSmartFee);
591 verticalSpacer_2 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
593 verticalLayoutFee4->addItem(verticalSpacer_2);
595 verticalLayoutFee4->setStretch(1, 1);
597 gridLayoutFee->addLayout(verticalLayoutFee4, 0, 0, 1, 1);
599 verticalLayoutFee9 =
new QVBoxLayout();
600 verticalLayoutFee9->setObjectName(QStringLiteral(
"verticalLayoutFee9"));
601 radioCustomFee =
new QRadioButton(frameFeeSelection);
602 groupFee->addButton(radioCustomFee);
603 radioCustomFee->setObjectName(QStringLiteral(
"radioCustomFee"));
605 verticalLayoutFee9->addWidget(radioCustomFee);
607 verticalSpacer_6 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
609 verticalLayoutFee9->addItem(verticalSpacer_6);
611 verticalLayoutFee9->setStretch(1, 1);
613 gridLayoutFee->addLayout(verticalLayoutFee9, 1, 0, 1, 1);
615 verticalLayoutFee3 =
new QVBoxLayout();
616 verticalLayoutFee3->setSpacing(6);
617 verticalLayoutFee3->setObjectName(QStringLiteral(
"verticalLayoutFee3"));
618 verticalLayoutFee3->setContentsMargins(-1, 2, -1, -1);
619 horizontalLayoutFee12 =
new QHBoxLayout();
620 horizontalLayoutFee12->setObjectName(QStringLiteral(
"horizontalLayoutFee12"));
621 labelSmartFee =
new QLabel(frameFeeSelection);
622 labelSmartFee->setObjectName(QStringLiteral(
"labelSmartFee"));
624 horizontalLayoutFee12->addWidget(labelSmartFee);
626 labelFeeEstimation =
new QLabel(frameFeeSelection);
627 labelFeeEstimation->setObjectName(QStringLiteral(
"labelFeeEstimation"));
629 horizontalLayoutFee12->addWidget(labelFeeEstimation);
631 labelSmartFee2 =
new QLabel(frameFeeSelection);
632 labelSmartFee2->setObjectName(QStringLiteral(
"labelSmartFee2"));
634 horizontalLayoutFee12->addWidget(labelSmartFee2);
636 horizontalSpacer_5 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
638 horizontalLayoutFee12->addItem(horizontalSpacer_5);
641 verticalLayoutFee3->addLayout(horizontalLayoutFee12);
643 horizontalLayoutFee9 =
new QHBoxLayout();
644 horizontalLayoutFee9->setObjectName(QStringLiteral(
"horizontalLayoutFee9"));
645 verticalLayoutFee6 =
new QVBoxLayout();
646 verticalLayoutFee6->setObjectName(QStringLiteral(
"verticalLayoutFee6"));
647 labelSmartFee3 =
new QLabel(frameFeeSelection);
648 labelSmartFee3->setObjectName(QStringLiteral(
"labelSmartFee3"));
650 verticalLayoutFee6->addWidget(labelSmartFee3);
653 horizontalLayoutFee9->addLayout(verticalLayoutFee6);
655 verticalLayoutFee5 =
new QVBoxLayout();
656 verticalLayoutFee5->setObjectName(QStringLiteral(
"verticalLayoutFee5"));
657 verticalLayoutFee5->setContentsMargins(-1, -1, 30, -1);
658 horizontalLayoutConfTarget =
new QHBoxLayout();
659 horizontalLayoutConfTarget->setObjectName(QStringLiteral(
"horizontalLayoutConfTarget"));
660 horizontalLayoutConfTarget->setContentsMargins(-1, -1, -1, 0);
661 confTargetSelector =
new QComboBox(frameFeeSelection);
662 confTargetSelector->setObjectName(QStringLiteral(
"confTargetSelector"));
664 horizontalLayoutConfTarget->addWidget(confTargetSelector);
666 horizontalSpacerConfTarget =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
668 horizontalLayoutConfTarget->addItem(horizontalSpacerConfTarget);
671 verticalLayoutFee5->addLayout(horizontalLayoutConfTarget);
674 horizontalLayoutFee9->addLayout(verticalLayoutFee5);
677 verticalLayoutFee3->addLayout(horizontalLayoutFee9);
679 verticalSpacer_4 =
new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
681 verticalLayoutFee3->addItem(verticalSpacer_4);
683 verticalLayoutFee3->setStretch(2, 1);
685 gridLayoutFee->addLayout(verticalLayoutFee3, 0, 1, 1, 1);
688 verticalLayoutFee12->addLayout(gridLayoutFee);
690 optInRBF =
new QCheckBox(frameFeeSelection);
691 optInRBF->setObjectName(QStringLiteral(
"optInRBF"));
693 verticalLayoutFee12->addWidget(optInRBF);
696 verticalLayoutFee2->addWidget(frameFeeSelection);
698 verticalSpacerFee =
new QSpacerItem(40, 5, QSizePolicy::Minimum, QSizePolicy::Expanding);
700 verticalLayoutFee2->addItem(verticalSpacerFee);
703 verticalLayoutFee1->addLayout(verticalLayoutFee2);
706 verticalLayout->addWidget(frameFee);
708 horizontalLayout =
new QHBoxLayout();
709 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
710 sendButton =
new QPushButton(SendCoinsDialog);
711 sendButton->setObjectName(QStringLiteral(
"sendButton"));
712 sendButton->setMinimumSize(QSize(150, 0));
714 icon.addFile(QStringLiteral(
":/icons/send"), QSize(), QIcon::Normal, QIcon::Off);
715 sendButton->setIcon(icon);
716 sendButton->setAutoDefault(
false);
718 horizontalLayout->addWidget(sendButton);
720 clearButton =
new QPushButton(SendCoinsDialog);
721 clearButton->setObjectName(QStringLiteral(
"clearButton"));
722 QSizePolicy sizePolicy5(QSizePolicy::Minimum, QSizePolicy::Fixed);
723 sizePolicy5.setHorizontalStretch(0);
724 sizePolicy5.setVerticalStretch(0);
725 sizePolicy5.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
726 clearButton->setSizePolicy(sizePolicy5);
728 icon1.addFile(QStringLiteral(
":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
729 clearButton->setIcon(icon1);
730 clearButton->setAutoDefault(
false);
732 horizontalLayout->addWidget(clearButton);
734 addButton =
new QPushButton(SendCoinsDialog);
735 addButton->setObjectName(QStringLiteral(
"addButton"));
737 icon2.addFile(QStringLiteral(
":/icons/add"), QSize(), QIcon::Normal, QIcon::Off);
738 addButton->setIcon(icon2);
739 addButton->setAutoDefault(
false);
741 horizontalLayout->addWidget(addButton);
743 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
745 horizontalLayout->addItem(horizontalSpacer);
747 horizontalLayout_2 =
new QHBoxLayout();
748 horizontalLayout_2->setSpacing(3);
749 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
750 labelBalanceName =
new QLabel(SendCoinsDialog);
751 labelBalanceName->setObjectName(QStringLiteral(
"labelBalanceName"));
752 QSizePolicy sizePolicy6(QSizePolicy::Preferred, QSizePolicy::Fixed);
753 sizePolicy6.setHorizontalStretch(0);
754 sizePolicy6.setVerticalStretch(0);
755 sizePolicy6.setHeightForWidth(labelBalanceName->sizePolicy().hasHeightForWidth());
756 labelBalanceName->setSizePolicy(sizePolicy6);
758 horizontalLayout_2->addWidget(labelBalanceName);
760 labelBalance =
new QLabel(SendCoinsDialog);
761 labelBalance->setObjectName(QStringLiteral(
"labelBalance"));
762 sizePolicy6.setHeightForWidth(labelBalance->sizePolicy().hasHeightForWidth());
763 labelBalance->setSizePolicy(sizePolicy6);
764 labelBalance->setCursor(QCursor(Qt::IBeamCursor));
765 labelBalance->setText(QStringLiteral(
"123.456 BTC"));
766 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
768 horizontalLayout_2->addWidget(labelBalance);
771 horizontalLayout->addLayout(horizontalLayout_2);
774 verticalLayout->addLayout(horizontalLayout);
776 verticalLayout->setStretch(1, 1);
780 sendButton->setDefault(
false);
783 QMetaObject::connectSlotsByName(SendCoinsDialog);
788 SendCoinsDialog->setWindowTitle(QApplication::translate(
"SendCoinsDialog",
"Send Coins", 0));
789 labelCoinControlFeatures->setText(QApplication::translate(
"SendCoinsDialog",
"Coin Control Features", 0));
790 pushButtonCoinControl->setText(QApplication::translate(
"SendCoinsDialog",
"Inputs...", 0));
791 labelCoinControlAutomaticallySelected->setText(QApplication::translate(
"SendCoinsDialog",
"automatically selected", 0));
792 labelCoinControlInsuffFunds->setText(QApplication::translate(
"SendCoinsDialog",
"Insufficient funds!", 0));
793 labelCoinControlQuantityText->setText(QApplication::translate(
"SendCoinsDialog",
"Quantity:", 0));
794 labelCoinControlBytesText->setText(QApplication::translate(
"SendCoinsDialog",
"Bytes:", 0));
795 labelCoinControlAmountText->setText(QApplication::translate(
"SendCoinsDialog",
"Amount:", 0));
796 labelCoinControlLowOutputText->setText(QApplication::translate(
"SendCoinsDialog",
"Dust:", 0));
797 labelCoinControlFeeText->setText(QApplication::translate(
"SendCoinsDialog",
"Fee:", 0));
798 labelCoinControlAfterFeeText->setText(QApplication::translate(
"SendCoinsDialog",
"After Fee:", 0));
799 labelCoinControlChangeText->setText(QApplication::translate(
"SendCoinsDialog",
"Change:", 0));
800 #ifndef QT_NO_TOOLTIP 801 checkBoxCoinControlChange->setToolTip(QApplication::translate(
"SendCoinsDialog",
"If this is activated, but the change address is empty or invalid, change will be sent to a newly generated address.", 0));
802 #endif // QT_NO_TOOLTIP 803 checkBoxCoinControlChange->setText(QApplication::translate(
"SendCoinsDialog",
"Custom change address", 0));
804 labelCoinControlChangeLabel->setText(QString());
805 labelFeeHeadline->setText(QApplication::translate(
"SendCoinsDialog",
"Transaction Fee:", 0));
806 labelFeeMinimized->setText(QString());
807 buttonChooseFee->setText(QApplication::translate(
"SendCoinsDialog",
"Choose...", 0));
808 #ifndef QT_NO_TOOLTIP 809 fallbackFeeWarningLabel->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Using the fallbackfee can result in sending a transaction that will take several hours or days (or never) to confirm. Consider choosing your fee manually or wait until you have validated the complete chain.", 0));
810 #endif // QT_NO_TOOLTIP 811 fallbackFeeWarningLabel->setText(QApplication::translate(
"SendCoinsDialog",
"Warning: Fee estimation is currently not possible.", 0));
812 #ifndef QT_NO_TOOLTIP 813 buttonMinimizeFee->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Hide transaction fee settings", 0));
814 #endif // QT_NO_TOOLTIP 815 buttonMinimizeFee->setText(QApplication::translate(
"SendCoinsDialog",
"Hide", 0));
816 #ifndef QT_NO_TOOLTIP 817 labelCustomPerKilobyte->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Specify a custom fee per kB (1,000 bytes) of the transaction's virtual size.\n" 819 "Note: Since the fee is calculated on a per-byte basis, a fee of \"100 satoshis per kB\" for a transaction size of 500 bytes (half of 1 kB) would ultimately yield a fee of only 50 satoshis.", 0));
820 #endif // QT_NO_TOOLTIP 821 labelCustomPerKilobyte->setText(QApplication::translate(
"SendCoinsDialog",
"per kilobyte", 0));
822 #ifndef QT_NO_TOOLTIP 823 labelCustomFeeWarning->setToolTip(QApplication::translate(
"SendCoinsDialog",
"When there is less transaction volume than space in the blocks, miners as well as relaying nodes may enforce a minimum fee. Paying only this minimum fee is just fine, but be aware that this can result in a never confirming transaction once there is more demand for bitcoin transactions than the network can process.", 0));
824 #endif // QT_NO_TOOLTIP 825 labelCustomFeeWarning->setText(QApplication::translate(
"SendCoinsDialog",
"A too low fee might result in a never confirming transaction (read the tooltip)", 0));
826 radioSmartFee->setText(QApplication::translate(
"SendCoinsDialog",
"Recommended:", 0));
827 radioCustomFee->setText(QApplication::translate(
"SendCoinsDialog",
"Custom:", 0));
828 labelSmartFee->setText(QString());
829 labelFeeEstimation->setText(QString());
830 labelSmartFee2->setText(QApplication::translate(
"SendCoinsDialog",
"(Smart fee not initialized yet. This usually takes a few blocks...)", 0));
831 labelSmartFee3->setText(QApplication::translate(
"SendCoinsDialog",
"Confirmation time target:", 0));
832 optInRBF->setText(QApplication::translate(
"SendCoinsDialog",
"Enable Replace-By-Fee", 0));
833 #ifndef QT_NO_TOOLTIP 834 optInRBF->setToolTip(QApplication::translate(
"SendCoinsDialog",
"With Replace-By-Fee (BIP-125) you can increase a transaction's fee after it is sent. Without this, a higher fee may be recommended to compensate for increased transaction delay risk.", 0));
835 #endif // QT_NO_TOOLTIP 836 #ifndef QT_NO_TOOLTIP 837 sendButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Confirm the send action", 0));
838 #endif // QT_NO_TOOLTIP 839 sendButton->setText(QApplication::translate(
"SendCoinsDialog",
"S&end", 0));
840 #ifndef QT_NO_TOOLTIP 841 clearButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Clear all fields of the form.", 0));
842 #endif // QT_NO_TOOLTIP 843 clearButton->setText(QApplication::translate(
"SendCoinsDialog",
"Clear &All", 0));
844 #ifndef QT_NO_TOOLTIP 845 addButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Send to multiple recipients at once", 0));
846 #endif // QT_NO_TOOLTIP 847 addButton->setText(QApplication::translate(
"SendCoinsDialog",
"Add &Recipient", 0));
848 labelBalanceName->setText(QApplication::translate(
"SendCoinsDialog",
"Balance:", 0));
859 #endif // UI_SENDCOINSDIALOG_H QSpacerItem * verticalSpacer
Widget for entering bitcoin amounts.
QSpacerItem * verticalSpacerSmartFee
QLabel * labelCoinControlChange
QLabel * labelCoinControlAmount
QSpacerItem * horizontalSpacerCoinControl
QVBoxLayout * verticalLayout
QLabel * labelFeeEstimation
QLabel * labelCustomFeeWarning
QSpacerItem * verticalSpacerFee
QHBoxLayout * horizontalLayout
QHBoxLayout * horizontalLayoutSmartFee
QHBoxLayout * horizontalLayoutFee12
QWidget * widgetCoinControl
QVBoxLayout * verticalLayoutFee2
QPushButton * clearButton
QVBoxLayout * verticalLayoutFee9
QLabel * labelCoinControlQuantityText
QFrame * frameFeeSelection
QLabel * labelFeeHeadline
QLabel * labelCoinControlFee
QLabel * labelCoinControlFeeText
QSpacerItem * horizontalSpacer_2
QLabel * labelCoinControlChangeText
QValidatedLineEdit * lineEditCoinControlChange
QFormLayout * formLayoutCoinControl3
QVBoxLayout * verticalLayoutFee1
QHBoxLayout * horizontalLayoutCoinControl1
QRadioButton * radioCustomFee
QSpacerItem * verticalSpacer_2
QHBoxLayout * horizontalLayoutFee13
Line edit that can be marked as "invalid" to show input validation feedback.
QLabel * labelCoinControlAfterFee
QSpacerItem * horizontalSpacer_4
QLabel * labelCoinControlQuantity
QLabel * labelCoinControlLowOutput
QSpacerItem * verticalSpacerCoinControl
QPushButton * pushButtonCoinControl
QLabel * labelCoinControlAutomaticallySelected
QHBoxLayout * horizontalLayoutConfTarget
QHBoxLayout * horizontalLayoutFee1
QSpacerItem * horizontalSpacer_5
QLabel * labelBalanceName
QLabel * labelCoinControlAfterFeeText
QVBoxLayout * verticalLayoutFee6
QHBoxLayout * horizontalLayoutCoinControl5
QHBoxLayout * horizontalLayoutCoinControl3
QSpacerItem * verticalSpacer_4
QVBoxLayout * verticalLayoutCoinControl
QVBoxLayout * verticalLayoutFee8
QVBoxLayout * verticalLayoutFee3
void retranslateUi(QDialog *SendCoinsDialog)
QHBoxLayout * horizontalLayout_2
QVBoxLayout * verticalLayoutFee12
QVBoxLayout * verticalLayoutFee5
QPushButton * buttonChooseFee
QLabel * labelCoinControlAmountText
Dialog for sending bitcoins.
QLabel * labelFeeMinimized
QCheckBox * checkBoxCoinControlChange
QVBoxLayout * verticalLayoutFee7
void setupUi(QDialog *SendCoinsDialog)
QRadioButton * radioSmartFee
QHBoxLayout * horizontalLayoutFee8
QFormLayout * formLayoutCoinControl1
QLabel * labelCoinControlChangeLabel
QWidget * scrollAreaWidgetContents
QHBoxLayout * horizontalLayoutCoinControl4
QVBoxLayout * verticalLayoutFee4
QFormLayout * formLayoutCoinControl4
QSpacerItem * horizontalSpacer_6
QHBoxLayout * horizontalLayoutFee9
QLabel * labelCoinControlLowOutputText
QSpacerItem * verticalSpacer_5
QVBoxLayout * verticalLayout_2
QLabel * labelCoinControlBytes
QComboBox * confTargetSelector
void setEnabled(bool enabled)
QSpacerItem * horizontalSpacerConfTarget
QFrame * frameCoinControl
QLabel * labelCoinControlFeatures
QLabel * fallbackFeeWarningLabel
QFormLayout * formLayoutCoinControl2
QSpacerItem * horizontalSpacer
BitcoinAmountField * customFee
QLabel * labelCustomPerKilobyte
QLabel * labelCoinControlBytesText
QGridLayout * gridLayoutFee
QSpacerItem * verticalSpacer_6
QPushButton * buttonMinimizeFee
QHBoxLayout * horizontalLayoutCoinControl2
QVBoxLayout * verticalLayoutCoinControl2
QLabel * labelCoinControlInsuffFunds