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/QGroupBox> 22 #include <QtWidgets/QHBoxLayout> 23 #include <QtWidgets/QHeaderView> 24 #include <QtWidgets/QLabel> 25 #include <QtWidgets/QPushButton> 26 #include <QtWidgets/QScrollArea> 27 #include <QtWidgets/QSpacerItem> 28 #include <QtWidgets/QStackedWidget> 29 #include <QtWidgets/QVBoxLayout> 30 #include <QtWidgets/QWidget> 138 if (SendCoinsDialog->objectName().isEmpty())
139 SendCoinsDialog->setObjectName(QStringLiteral(
"SendCoinsDialog"));
140 SendCoinsDialog->resize(850, 570);
141 verticalLayout_6 =
new QVBoxLayout(SendCoinsDialog);
142 verticalLayout_6->setObjectName(QStringLiteral(
"verticalLayout_6"));
143 groupBoxCoinControl =
new QGroupBox(SendCoinsDialog);
144 groupBoxCoinControl->setObjectName(QStringLiteral(
"groupBoxCoinControl"));
145 QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
146 sizePolicy.setHorizontalStretch(0);
147 sizePolicy.setVerticalStretch(0);
148 sizePolicy.setHeightForWidth(groupBoxCoinControl->sizePolicy().hasHeightForWidth());
149 groupBoxCoinControl->setSizePolicy(sizePolicy);
150 groupBoxCoinControl->setMaximumSize(QSize(16777215, 16777215));
151 verticalLayoutCoinControl2 =
new QVBoxLayout(groupBoxCoinControl);
152 verticalLayoutCoinControl2->setSpacing(6);
153 verticalLayoutCoinControl2->setObjectName(QStringLiteral(
"verticalLayoutCoinControl2"));
154 verticalLayoutCoinControl2->setContentsMargins(9, 9, 9, 6);
155 verticalLayoutCoinControl =
new QVBoxLayout();
156 verticalLayoutCoinControl->setSpacing(0);
157 verticalLayoutCoinControl->setObjectName(QStringLiteral(
"verticalLayoutCoinControl"));
158 horizontalLayoutCoinControl2 =
new QHBoxLayout();
159 horizontalLayoutCoinControl2->setSpacing(8);
160 horizontalLayoutCoinControl2->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl2"));
161 horizontalLayoutCoinControl2->setContentsMargins(-1, -1, -1, 10);
162 pushButtonCoinControl =
new QPushButton(groupBoxCoinControl);
163 pushButtonCoinControl->setObjectName(QStringLiteral(
"pushButtonCoinControl"));
164 pushButtonCoinControl->setStyleSheet(QStringLiteral(
""));
165 pushButtonCoinControl->setAutoDefault(
false);
167 horizontalLayoutCoinControl2->addWidget(pushButtonCoinControl);
169 labelCoinControlAutomaticallySelected =
new QLabel(groupBoxCoinControl);
170 labelCoinControlAutomaticallySelected->setObjectName(QStringLiteral(
"labelCoinControlAutomaticallySelected"));
171 labelCoinControlAutomaticallySelected->setMargin(5);
173 horizontalLayoutCoinControl2->addWidget(labelCoinControlAutomaticallySelected);
175 labelCoinControlInsuffFunds =
new QLabel(groupBoxCoinControl);
176 labelCoinControlInsuffFunds->setObjectName(QStringLiteral(
"labelCoinControlInsuffFunds"));
180 labelCoinControlInsuffFunds->setFont(font);
181 labelCoinControlInsuffFunds->setStyleSheet(QStringLiteral(
"color:red;font-weight:bold;"));
182 labelCoinControlInsuffFunds->setMargin(5);
184 horizontalLayoutCoinControl2->addWidget(labelCoinControlInsuffFunds);
186 horizontalSpacerCoinControl =
new QSpacerItem(40, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
188 horizontalLayoutCoinControl2->addItem(horizontalSpacerCoinControl);
191 verticalLayoutCoinControl->addLayout(horizontalLayoutCoinControl2);
193 widgetCoinControl =
new QWidget(groupBoxCoinControl);
194 widgetCoinControl->setObjectName(QStringLiteral(
"widgetCoinControl"));
195 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
196 sizePolicy1.setHorizontalStretch(0);
197 sizePolicy1.setVerticalStretch(0);
198 sizePolicy1.setHeightForWidth(widgetCoinControl->sizePolicy().hasHeightForWidth());
199 widgetCoinControl->setSizePolicy(sizePolicy1);
200 widgetCoinControl->setMinimumSize(QSize(0, 0));
201 widgetCoinControl->setStyleSheet(QStringLiteral(
""));
202 horizontalLayoutCoinControl5 =
new QHBoxLayout(widgetCoinControl);
203 horizontalLayoutCoinControl5->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl5"));
204 horizontalLayoutCoinControl5->setContentsMargins(0, 0, 0, 0);
205 horizontalLayoutCoinControl3 =
new QHBoxLayout();
206 horizontalLayoutCoinControl3->setSpacing(20);
207 horizontalLayoutCoinControl3->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl3"));
208 horizontalLayoutCoinControl3->setContentsMargins(-1, 0, -1, 10);
209 formLayoutCoinControl1 =
new QFormLayout();
210 formLayoutCoinControl1->setObjectName(QStringLiteral(
"formLayoutCoinControl1"));
211 formLayoutCoinControl1->setHorizontalSpacing(10);
212 formLayoutCoinControl1->setVerticalSpacing(14);
213 formLayoutCoinControl1->setContentsMargins(10, 4, 6, -1);
214 labelCoinControlQuantityText =
new QLabel(widgetCoinControl);
215 labelCoinControlQuantityText->setObjectName(QStringLiteral(
"labelCoinControlQuantityText"));
216 labelCoinControlQuantityText->setFont(font);
217 labelCoinControlQuantityText->setMargin(0);
219 formLayoutCoinControl1->setWidget(0, QFormLayout::LabelRole, labelCoinControlQuantityText);
221 labelCoinControlQuantity =
new QLabel(widgetCoinControl);
222 labelCoinControlQuantity->setObjectName(QStringLiteral(
"labelCoinControlQuantity"));
223 labelCoinControlQuantity->setCursor(QCursor(Qt::IBeamCursor));
224 labelCoinControlQuantity->setContextMenuPolicy(Qt::ActionsContextMenu);
225 labelCoinControlQuantity->setText(QStringLiteral(
"0"));
226 labelCoinControlQuantity->setMargin(0);
227 labelCoinControlQuantity->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
229 formLayoutCoinControl1->setWidget(0, QFormLayout::FieldRole, labelCoinControlQuantity);
231 labelCoinControlBytesText =
new QLabel(widgetCoinControl);
232 labelCoinControlBytesText->setObjectName(QStringLiteral(
"labelCoinControlBytesText"));
233 labelCoinControlBytesText->setFont(font);
235 formLayoutCoinControl1->setWidget(1, QFormLayout::LabelRole, labelCoinControlBytesText);
237 labelCoinControlBytes =
new QLabel(widgetCoinControl);
238 labelCoinControlBytes->setObjectName(QStringLiteral(
"labelCoinControlBytes"));
239 labelCoinControlBytes->setCursor(QCursor(Qt::IBeamCursor));
240 labelCoinControlBytes->setContextMenuPolicy(Qt::ActionsContextMenu);
241 labelCoinControlBytes->setText(QStringLiteral(
"0"));
242 labelCoinControlBytes->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
244 formLayoutCoinControl1->setWidget(1, QFormLayout::FieldRole, labelCoinControlBytes);
247 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl1);
249 formLayoutCoinControl2 =
new QFormLayout();
250 formLayoutCoinControl2->setObjectName(QStringLiteral(
"formLayoutCoinControl2"));
251 formLayoutCoinControl2->setHorizontalSpacing(10);
252 formLayoutCoinControl2->setVerticalSpacing(14);
253 formLayoutCoinControl2->setContentsMargins(6, 4, 6, -1);
254 labelCoinControlAmountText =
new QLabel(widgetCoinControl);
255 labelCoinControlAmountText->setObjectName(QStringLiteral(
"labelCoinControlAmountText"));
256 labelCoinControlAmountText->setFont(font);
257 labelCoinControlAmountText->setMargin(0);
259 formLayoutCoinControl2->setWidget(0, QFormLayout::LabelRole, labelCoinControlAmountText);
261 labelCoinControlAmount =
new QLabel(widgetCoinControl);
262 labelCoinControlAmount->setObjectName(QStringLiteral(
"labelCoinControlAmount"));
263 labelCoinControlAmount->setCursor(QCursor(Qt::IBeamCursor));
264 labelCoinControlAmount->setContextMenuPolicy(Qt::ActionsContextMenu);
265 labelCoinControlAmount->setText(QStringLiteral(
"0.00 FAB"));
266 labelCoinControlAmount->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
268 formLayoutCoinControl2->setWidget(0, QFormLayout::FieldRole, labelCoinControlAmount);
270 labelCoinControlLowOutputText =
new QLabel(widgetCoinControl);
271 labelCoinControlLowOutputText->setObjectName(QStringLiteral(
"labelCoinControlLowOutputText"));
272 labelCoinControlLowOutputText->setFont(font);
274 formLayoutCoinControl2->setWidget(1, QFormLayout::LabelRole, labelCoinControlLowOutputText);
276 labelCoinControlLowOutput =
new QLabel(widgetCoinControl);
277 labelCoinControlLowOutput->setObjectName(QStringLiteral(
"labelCoinControlLowOutput"));
278 labelCoinControlLowOutput->setCursor(QCursor(Qt::IBeamCursor));
279 labelCoinControlLowOutput->setContextMenuPolicy(Qt::ActionsContextMenu);
280 labelCoinControlLowOutput->setText(QStringLiteral(
"no"));
281 labelCoinControlLowOutput->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
283 formLayoutCoinControl2->setWidget(1, QFormLayout::FieldRole, labelCoinControlLowOutput);
286 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl2);
288 formLayoutCoinControl3 =
new QFormLayout();
289 formLayoutCoinControl3->setObjectName(QStringLiteral(
"formLayoutCoinControl3"));
290 formLayoutCoinControl3->setHorizontalSpacing(10);
291 formLayoutCoinControl3->setVerticalSpacing(14);
292 formLayoutCoinControl3->setContentsMargins(6, 4, 6, -1);
293 labelCoinControlFeeText =
new QLabel(widgetCoinControl);
294 labelCoinControlFeeText->setObjectName(QStringLiteral(
"labelCoinControlFeeText"));
295 labelCoinControlFeeText->setFont(font);
296 labelCoinControlFeeText->setMargin(0);
298 formLayoutCoinControl3->setWidget(0, QFormLayout::LabelRole, labelCoinControlFeeText);
300 labelCoinControlFee =
new QLabel(widgetCoinControl);
301 labelCoinControlFee->setObjectName(QStringLiteral(
"labelCoinControlFee"));
302 labelCoinControlFee->setCursor(QCursor(Qt::IBeamCursor));
303 labelCoinControlFee->setContextMenuPolicy(Qt::ActionsContextMenu);
304 labelCoinControlFee->setText(QStringLiteral(
"0.00 FAB"));
305 labelCoinControlFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
307 formLayoutCoinControl3->setWidget(0, QFormLayout::FieldRole, labelCoinControlFee);
310 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl3);
312 formLayoutCoinControl4 =
new QFormLayout();
313 formLayoutCoinControl4->setObjectName(QStringLiteral(
"formLayoutCoinControl4"));
314 formLayoutCoinControl4->setHorizontalSpacing(10);
315 formLayoutCoinControl4->setVerticalSpacing(14);
316 formLayoutCoinControl4->setContentsMargins(6, 4, 6, -1);
317 labelCoinControlAfterFeeText =
new QLabel(widgetCoinControl);
318 labelCoinControlAfterFeeText->setObjectName(QStringLiteral(
"labelCoinControlAfterFeeText"));
319 labelCoinControlAfterFeeText->setFont(font);
320 labelCoinControlAfterFeeText->setMargin(0);
322 formLayoutCoinControl4->setWidget(0, QFormLayout::LabelRole, labelCoinControlAfterFeeText);
324 labelCoinControlAfterFee =
new QLabel(widgetCoinControl);
325 labelCoinControlAfterFee->setObjectName(QStringLiteral(
"labelCoinControlAfterFee"));
326 labelCoinControlAfterFee->setCursor(QCursor(Qt::IBeamCursor));
327 labelCoinControlAfterFee->setContextMenuPolicy(Qt::ActionsContextMenu);
328 labelCoinControlAfterFee->setText(QStringLiteral(
"0.00 FAB"));
329 labelCoinControlAfterFee->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
331 formLayoutCoinControl4->setWidget(0, QFormLayout::FieldRole, labelCoinControlAfterFee);
333 labelCoinControlChangeText =
new QLabel(widgetCoinControl);
334 labelCoinControlChangeText->setObjectName(QStringLiteral(
"labelCoinControlChangeText"));
335 labelCoinControlChangeText->setFont(font);
337 formLayoutCoinControl4->setWidget(1, QFormLayout::LabelRole, labelCoinControlChangeText);
339 labelCoinControlChange =
new QLabel(widgetCoinControl);
340 labelCoinControlChange->setObjectName(QStringLiteral(
"labelCoinControlChange"));
341 labelCoinControlChange->setCursor(QCursor(Qt::IBeamCursor));
342 labelCoinControlChange->setContextMenuPolicy(Qt::ActionsContextMenu);
343 labelCoinControlChange->setText(QStringLiteral(
"0.00 FAB"));
344 labelCoinControlChange->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
346 formLayoutCoinControl4->setWidget(1, QFormLayout::FieldRole, labelCoinControlChange);
349 horizontalLayoutCoinControl3->addLayout(formLayoutCoinControl4);
351 horizontalLayoutCoinControl3->setStretch(3, 1);
353 horizontalLayoutCoinControl5->addLayout(horizontalLayoutCoinControl3);
356 verticalLayoutCoinControl->addWidget(widgetCoinControl);
358 horizontalLayoutCoinControl4 =
new QHBoxLayout();
359 horizontalLayoutCoinControl4->setSpacing(12);
360 horizontalLayoutCoinControl4->setObjectName(QStringLiteral(
"horizontalLayoutCoinControl4"));
361 horizontalLayoutCoinControl4->setSizeConstraint(QLayout::SetDefaultConstraint);
362 horizontalLayoutCoinControl4->setContentsMargins(-1, 5, 5, -1);
363 checkBoxCoinControlChange =
new QCheckBox(groupBoxCoinControl);
364 checkBoxCoinControlChange->setObjectName(QStringLiteral(
"checkBoxCoinControlChange"));
366 horizontalLayoutCoinControl4->addWidget(checkBoxCoinControlChange);
369 lineEditCoinControlChange->setObjectName(QStringLiteral(
"lineEditCoinControlChange"));
371 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
372 sizePolicy2.setHorizontalStretch(0);
373 sizePolicy2.setVerticalStretch(0);
374 sizePolicy2.setHeightForWidth(lineEditCoinControlChange->sizePolicy().hasHeightForWidth());
375 lineEditCoinControlChange->setSizePolicy(sizePolicy2);
377 horizontalLayoutCoinControl4->addWidget(lineEditCoinControlChange);
379 labelCoinControlChangeLabel =
new QLabel(groupBoxCoinControl);
380 labelCoinControlChangeLabel->setObjectName(QStringLiteral(
"labelCoinControlChangeLabel"));
381 QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Expanding);
382 sizePolicy3.setHorizontalStretch(0);
383 sizePolicy3.setVerticalStretch(0);
384 sizePolicy3.setHeightForWidth(labelCoinControlChangeLabel->sizePolicy().hasHeightForWidth());
385 labelCoinControlChangeLabel->setSizePolicy(sizePolicy3);
386 labelCoinControlChangeLabel->setMinimumSize(QSize(0, 0));
387 labelCoinControlChangeLabel->setMargin(3);
389 horizontalLayoutCoinControl4->addWidget(labelCoinControlChangeLabel);
392 verticalLayoutCoinControl->addLayout(horizontalLayoutCoinControl4);
394 verticalSpacerCoinControl =
new QSpacerItem(800, 1, QSizePolicy::Minimum, QSizePolicy::Expanding);
396 verticalLayoutCoinControl->addItem(verticalSpacerCoinControl);
398 verticalLayoutCoinControl->setStretch(3, 1);
400 verticalLayoutCoinControl2->addLayout(verticalLayoutCoinControl);
403 verticalLayout_6->addWidget(groupBoxCoinControl);
405 widgetRecipients =
new QWidget(SendCoinsDialog);
406 widgetRecipients->setObjectName(QStringLiteral(
"widgetRecipients"));
407 QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Preferred);
408 sizePolicy4.setHorizontalStretch(0);
409 sizePolicy4.setVerticalStretch(1);
410 sizePolicy4.setHeightForWidth(widgetRecipients->sizePolicy().hasHeightForWidth());
411 widgetRecipients->setSizePolicy(sizePolicy4);
412 verticalLayout_7 =
new QVBoxLayout(widgetRecipients);
413 verticalLayout_7->setSpacing(0);
414 verticalLayout_7->setObjectName(QStringLiteral(
"verticalLayout_7"));
415 verticalLayout_7->setContentsMargins(0, 0, 0, 0);
416 horizontalLayout_4 =
new QHBoxLayout();
417 horizontalLayout_4->setObjectName(QStringLiteral(
"horizontalLayout_4"));
418 horizontalLayout_4->setContentsMargins(-1, 3, 6, 9);
419 label_2 =
new QLabel(widgetRecipients);
420 label_2->setObjectName(QStringLiteral(
"label_2"));
422 horizontalLayout_4->addWidget(label_2, 0, Qt::AlignBottom);
424 horizontalSpacer_7 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
426 horizontalLayout_4->addItem(horizontalSpacer_7);
428 addButton =
new QPushButton(widgetRecipients);
429 addButton->setObjectName(QStringLiteral(
"addButton"));
431 icon.addFile(QStringLiteral(
":/icons/add_recipient"), QSize(), QIcon::Normal, QIcon::Off);
432 addButton->setIcon(icon);
433 addButton->setAutoDefault(
false);
435 horizontalLayout_4->addWidget(addButton);
438 verticalLayout_7->addLayout(horizontalLayout_4);
440 scrollArea =
new QScrollArea(widgetRecipients);
441 scrollArea->setObjectName(QStringLiteral(
"scrollArea"));
442 scrollArea->setWidgetResizable(
true);
443 scrollAreaWidgetContents =
new QWidget();
444 scrollAreaWidgetContents->setObjectName(QStringLiteral(
"scrollAreaWidgetContents"));
445 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 830, 106));
446 verticalLayout_2 =
new QVBoxLayout(scrollAreaWidgetContents);
447 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
448 verticalLayout_2->setContentsMargins(0, 0, 0, 0);
449 entries =
new QVBoxLayout();
450 entries->setSpacing(6);
451 entries->setObjectName(QStringLiteral(
"entries"));
453 verticalLayout_2->addLayout(entries);
455 verticalSpacer =
new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
457 verticalLayout_2->addItem(verticalSpacer);
459 verticalLayout_2->setStretch(1, 1);
460 scrollArea->setWidget(scrollAreaWidgetContents);
462 verticalLayout_7->addWidget(scrollArea);
465 verticalLayout_6->addWidget(widgetRecipients);
467 verticalSpacer_2 =
new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
469 verticalLayout_6->addItem(verticalSpacer_2);
471 horizontalLayoutFee1 =
new QHBoxLayout();
472 horizontalLayoutFee1->setObjectName(QStringLiteral(
"horizontalLayoutFee1"));
473 horizontalLayoutFee1->setContentsMargins(-1, -1, -1, 0);
474 verticalLayoutFee7 =
new QVBoxLayout();
475 verticalLayoutFee7->setSpacing(0);
476 verticalLayoutFee7->setObjectName(QStringLiteral(
"verticalLayoutFee7"));
477 horizontalLayoutSmartFee =
new QHBoxLayout();
478 horizontalLayoutSmartFee->setSpacing(10);
479 horizontalLayoutSmartFee->setObjectName(QStringLiteral(
"horizontalLayoutSmartFee"));
480 labelFeeHeadline =
new QLabel(SendCoinsDialog);
481 labelFeeHeadline->setObjectName(QStringLiteral(
"labelFeeHeadline"));
482 QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Maximum);
483 sizePolicy5.setHorizontalStretch(0);
484 sizePolicy5.setVerticalStretch(0);
485 sizePolicy5.setHeightForWidth(labelFeeHeadline->sizePolicy().hasHeightForWidth());
486 labelFeeHeadline->setSizePolicy(sizePolicy5);
487 labelFeeHeadline->setFont(font);
488 labelFeeHeadline->setStyleSheet(QStringLiteral(
"font-weight:bold;"));
490 horizontalLayoutSmartFee->addWidget(labelFeeHeadline);
492 labelFeeMinimized =
new QLabel(SendCoinsDialog);
493 labelFeeMinimized->setObjectName(QStringLiteral(
"labelFeeMinimized"));
495 horizontalLayoutSmartFee->addWidget(labelFeeMinimized);
498 verticalLayoutFee7->addLayout(horizontalLayoutSmartFee);
501 horizontalLayoutFee1->addLayout(verticalLayoutFee7);
503 fallbackFeeWarningLabel =
new QLabel(SendCoinsDialog);
504 fallbackFeeWarningLabel->setObjectName(QStringLiteral(
"fallbackFeeWarningLabel"));
505 fallbackFeeWarningLabel->setFont(font);
506 fallbackFeeWarningLabel->setWordWrap(
false);
508 horizontalLayoutFee1->addWidget(fallbackFeeWarningLabel);
510 horizontalSpacer_4 =
new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
512 horizontalLayoutFee1->addItem(horizontalSpacer_4);
515 verticalLayout_6->addLayout(horizontalLayoutFee1);
517 frameFee =
new QFrame(SendCoinsDialog);
518 frameFee->setObjectName(QStringLiteral(
"frameFee"));
519 sizePolicy.setHeightForWidth(frameFee->sizePolicy().hasHeightForWidth());
520 frameFee->setSizePolicy(sizePolicy);
521 frameFee->setMaximumSize(QSize(16777215, 16777215));
522 frameFee->setFrameShape(QFrame::StyledPanel);
523 frameFee->setFrameShadow(QFrame::Sunken);
524 verticalLayout_5 =
new QVBoxLayout(frameFee);
525 verticalLayout_5->setObjectName(QStringLiteral(
"verticalLayout_5"));
526 horizontalLayout_3 =
new QHBoxLayout();
527 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
528 radioSmartFee =
new QCheckBox(frameFee);
529 groupFee =
new QButtonGroup(SendCoinsDialog);
530 groupFee->setObjectName(QStringLiteral(
"groupFee"));
531 groupFee->addButton(radioSmartFee);
532 radioSmartFee->setObjectName(QStringLiteral(
"radioSmartFee"));
533 radioSmartFee->setChecked(
true);
535 horizontalLayout_3->addWidget(radioSmartFee);
537 radioCustomFee =
new QCheckBox(frameFee);
538 groupFee->addButton(radioCustomFee);
539 radioCustomFee->setObjectName(QStringLiteral(
"radioCustomFee"));
541 horizontalLayout_3->addWidget(radioCustomFee);
543 horizontalSpacer_3 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
545 horizontalLayout_3->addItem(horizontalSpacer_3);
548 verticalLayout_5->addLayout(horizontalLayout_3);
550 frameFeeSelection =
new QFrame(frameFee);
551 frameFeeSelection->setObjectName(QStringLiteral(
"frameFeeSelection"));
552 verticalLayout_4 =
new QVBoxLayout(frameFeeSelection);
553 verticalLayout_4->setObjectName(QStringLiteral(
"verticalLayout_4"));
554 verticalLayout_4->setContentsMargins(9, 0, 0, 0);
555 stackedFeeTypes =
new QStackedWidget(frameFeeSelection);
556 stackedFeeTypes->setObjectName(QStringLiteral(
"stackedFeeTypes"));
557 page =
new QWidget();
558 page->setObjectName(QStringLiteral(
"page"));
559 verticalLayout_3 =
new QVBoxLayout(page);
560 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
561 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
562 horizontalLayoutFee12 =
new QHBoxLayout();
563 horizontalLayoutFee12->setObjectName(QStringLiteral(
"horizontalLayoutFee12"));
564 labelSmartFee =
new QLabel(page);
565 labelSmartFee->setObjectName(QStringLiteral(
"labelSmartFee"));
566 labelSmartFee->setMargin(2);
568 horizontalLayoutFee12->addWidget(labelSmartFee);
570 labelFeeEstimation =
new QLabel(page);
571 labelFeeEstimation->setObjectName(QStringLiteral(
"labelFeeEstimation"));
573 horizontalLayoutFee12->addWidget(labelFeeEstimation);
575 labelSmartFee2 =
new QLabel(page);
576 labelSmartFee2->setObjectName(QStringLiteral(
"labelSmartFee2"));
577 labelSmartFee2->setMargin(2);
579 horizontalLayoutFee12->addWidget(labelSmartFee2);
581 horizontalSpacer_5 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
583 horizontalLayoutFee12->addItem(horizontalSpacer_5);
586 verticalLayout_3->addLayout(horizontalLayoutFee12);
588 horizontalLayoutFee9 =
new QHBoxLayout();
589 horizontalLayoutFee9->setObjectName(QStringLiteral(
"horizontalLayoutFee9"));
590 verticalLayoutFee6 =
new QVBoxLayout();
591 verticalLayoutFee6->setObjectName(QStringLiteral(
"verticalLayoutFee6"));
592 labelSmartFee3 =
new QLabel(page);
593 labelSmartFee3->setObjectName(QStringLiteral(
"labelSmartFee3"));
594 labelSmartFee3->setMargin(2);
596 verticalLayoutFee6->addWidget(labelSmartFee3);
599 horizontalLayoutFee9->addLayout(verticalLayoutFee6);
601 verticalLayoutFee5 =
new QVBoxLayout();
602 verticalLayoutFee5->setObjectName(QStringLiteral(
"verticalLayoutFee5"));
603 verticalLayoutFee5->setContentsMargins(-1, -1, 30, -1);
604 horizontalLayoutConfTarget =
new QHBoxLayout();
605 horizontalLayoutConfTarget->setObjectName(QStringLiteral(
"horizontalLayoutConfTarget"));
606 horizontalLayoutConfTarget->setContentsMargins(-1, -1, -1, 0);
607 confTargetSelector =
new QComboBox(page);
608 confTargetSelector->setObjectName(QStringLiteral(
"confTargetSelector"));
610 horizontalLayoutConfTarget->addWidget(confTargetSelector);
612 horizontalSpacerConfTarget =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
614 horizontalLayoutConfTarget->addItem(horizontalSpacerConfTarget);
617 verticalLayoutFee5->addLayout(horizontalLayoutConfTarget);
620 horizontalLayoutFee9->addLayout(verticalLayoutFee5);
623 verticalLayout_3->addLayout(horizontalLayoutFee9);
625 stackedFeeTypes->addWidget(page);
626 page_2 =
new QWidget();
627 page_2->setObjectName(QStringLiteral(
"page_2"));
628 verticalLayout =
new QVBoxLayout(page_2);
629 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
630 verticalLayout->setContentsMargins(0, 0, 0, 0);
631 horizontalLayoutFee13 =
new QHBoxLayout();
632 horizontalLayoutFee13->setObjectName(QStringLiteral(
"horizontalLayoutFee13"));
633 labelCustomPerKilobyte =
new QLabel(page_2);
634 labelCustomPerKilobyte->setObjectName(QStringLiteral(
"labelCustomPerKilobyte"));
636 horizontalLayoutFee13->addWidget(labelCustomPerKilobyte);
639 customFee->setObjectName(QStringLiteral(
"customFee"));
641 horizontalLayoutFee13->addWidget(customFee);
643 horizontalSpacer_6 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
645 horizontalLayoutFee13->addItem(horizontalSpacer_6);
648 verticalLayout->addLayout(horizontalLayoutFee13);
650 horizontalLayoutFee8 =
new QHBoxLayout();
651 horizontalLayoutFee8->setObjectName(QStringLiteral(
"horizontalLayoutFee8"));
652 checkBoxMinimumFee =
new QCheckBox(page_2);
653 checkBoxMinimumFee->setObjectName(QStringLiteral(
"checkBoxMinimumFee"));
655 horizontalLayoutFee8->addWidget(checkBoxMinimumFee);
657 labelMinFeeWarning =
new QLabel(page_2);
658 labelMinFeeWarning->setObjectName(QStringLiteral(
"labelMinFeeWarning"));
659 labelMinFeeWarning->setEnabled(
true);
660 labelMinFeeWarning->setMargin(5);
662 horizontalLayoutFee8->addWidget(labelMinFeeWarning);
664 horizontalSpacer_2 =
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);
666 horizontalLayoutFee8->addItem(horizontalSpacer_2);
669 verticalLayout->addLayout(horizontalLayoutFee8);
671 stackedFeeTypes->addWidget(page_2);
673 verticalLayout_4->addWidget(stackedFeeTypes);
675 optInRBF =
new QCheckBox(frameFeeSelection);
676 optInRBF->setObjectName(QStringLiteral(
"optInRBF"));
678 verticalLayout_4->addWidget(optInRBF);
681 verticalLayout_5->addWidget(frameFeeSelection);
684 verticalLayout_6->addWidget(frameFee);
686 horizontalLayout =
new QHBoxLayout();
687 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
688 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
690 horizontalLayout->addItem(horizontalSpacer);
692 clearButton =
new QPushButton(SendCoinsDialog);
693 clearButton->setObjectName(QStringLiteral(
"clearButton"));
694 QSizePolicy sizePolicy6(QSizePolicy::Minimum, QSizePolicy::Fixed);
695 sizePolicy6.setHorizontalStretch(0);
696 sizePolicy6.setVerticalStretch(0);
697 sizePolicy6.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
698 clearButton->setSizePolicy(sizePolicy6);
699 clearButton->setAutoDefault(
false);
701 horizontalLayout->addWidget(clearButton);
703 sendButton =
new QPushButton(SendCoinsDialog);
704 sendButton->setObjectName(QStringLiteral(
"sendButton"));
705 sendButton->setAutoDefault(
false);
707 horizontalLayout->addWidget(sendButton);
709 horizontalLayout_2 =
new QHBoxLayout();
710 horizontalLayout_2->setSpacing(3);
711 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
712 label =
new QLabel(SendCoinsDialog);
713 label->setObjectName(QStringLiteral(
"label"));
714 QSizePolicy sizePolicy7(QSizePolicy::Preferred, QSizePolicy::Fixed);
715 sizePolicy7.setHorizontalStretch(0);
716 sizePolicy7.setVerticalStretch(0);
717 sizePolicy7.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
718 label->setSizePolicy(sizePolicy7);
719 label->setMaximumSize(QSize(0, 0));
721 horizontalLayout_2->addWidget(label);
723 labelBalance =
new QLabel(SendCoinsDialog);
724 labelBalance->setObjectName(QStringLiteral(
"labelBalance"));
725 sizePolicy7.setHeightForWidth(labelBalance->sizePolicy().hasHeightForWidth());
726 labelBalance->setSizePolicy(sizePolicy7);
727 labelBalance->setMaximumSize(QSize(0, 0));
728 labelBalance->setCursor(QCursor(Qt::IBeamCursor));
729 labelBalance->setText(QStringLiteral(
"123.456 FAB"));
730 labelBalance->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
732 horizontalLayout_2->addWidget(labelBalance);
735 horizontalLayout->addLayout(horizontalLayout_2);
738 verticalLayout_6->addLayout(horizontalLayout);
743 stackedFeeTypes->setCurrentIndex(0);
744 sendButton->setDefault(
false);
747 QMetaObject::connectSlotsByName(SendCoinsDialog);
752 SendCoinsDialog->setWindowTitle(QApplication::translate(
"SendCoinsDialog",
"Send Coins", 0));
753 groupBoxCoinControl->setTitle(QApplication::translate(
"SendCoinsDialog",
"Coin Control Features", 0));
754 pushButtonCoinControl->setText(QApplication::translate(
"SendCoinsDialog",
"Inputs...", 0));
755 labelCoinControlAutomaticallySelected->setText(QApplication::translate(
"SendCoinsDialog",
"automatically selected", 0));
756 labelCoinControlInsuffFunds->setText(QApplication::translate(
"SendCoinsDialog",
"Insufficient funds!", 0));
757 labelCoinControlQuantityText->setText(QApplication::translate(
"SendCoinsDialog",
"Quantity:", 0));
758 labelCoinControlBytesText->setText(QApplication::translate(
"SendCoinsDialog",
"Bytes:", 0));
759 labelCoinControlAmountText->setText(QApplication::translate(
"SendCoinsDialog",
"Amount:", 0));
760 labelCoinControlLowOutputText->setText(QApplication::translate(
"SendCoinsDialog",
"Dust:", 0));
761 labelCoinControlFeeText->setText(QApplication::translate(
"SendCoinsDialog",
"Fee:", 0));
762 labelCoinControlAfterFeeText->setText(QApplication::translate(
"SendCoinsDialog",
"After Fee:", 0));
763 labelCoinControlChangeText->setText(QApplication::translate(
"SendCoinsDialog",
"Change:", 0));
764 #ifndef QT_NO_TOOLTIP 765 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));
766 #endif // QT_NO_TOOLTIP 767 checkBoxCoinControlChange->setText(QApplication::translate(
"SendCoinsDialog",
"Custom change address", 0));
768 labelCoinControlChangeLabel->setText(QString());
769 label_2->setText(QApplication::translate(
"SendCoinsDialog",
"Recipients", 0));
770 #ifndef QT_NO_TOOLTIP 771 addButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Send to multiple recipients at once", 0));
772 #endif // QT_NO_TOOLTIP 773 addButton->setText(QApplication::translate(
"SendCoinsDialog",
"Add &Recipient", 0));
774 labelFeeHeadline->setText(QApplication::translate(
"SendCoinsDialog",
"Transaction Fee:", 0));
775 labelFeeMinimized->setText(QString());
776 #ifndef QT_NO_TOOLTIP 777 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));
778 #endif // QT_NO_TOOLTIP 779 fallbackFeeWarningLabel->setText(QApplication::translate(
"SendCoinsDialog",
"Warning: Fee estimation is currently not possible.", 0));
780 radioSmartFee->setText(QApplication::translate(
"SendCoinsDialog",
"Recommended", 0));
781 radioCustomFee->setText(QApplication::translate(
"SendCoinsDialog",
"Custom", 0));
782 labelSmartFee->setText(QString());
783 labelFeeEstimation->setText(QString());
784 labelSmartFee2->setText(QApplication::translate(
"SendCoinsDialog",
"(Smart fee not initialized yet. This usually takes a few blocks...)", 0));
785 labelSmartFee3->setText(QApplication::translate(
"SendCoinsDialog",
"Confirmation time target:", 0));
786 #ifndef QT_NO_TOOLTIP 787 labelCustomPerKilobyte->setToolTip(QApplication::translate(
"SendCoinsDialog",
"If the custom fee is set to 1000 satoshis and the transaction is only 250 bytes, then \"per kilobyte\" only pays 250 satoshis in fee, while \"total at least\" pays 1000 satoshis. For transactions bigger than a kilobyte both pay by kilobyte.", 0));
788 #endif // QT_NO_TOOLTIP 789 labelCustomPerKilobyte->setText(QApplication::translate(
"SendCoinsDialog",
"per kilobyte", 0));
790 #ifndef QT_NO_TOOLTIP 791 checkBoxMinimumFee->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Paying only the minimum fee is just fine as long as there is less transaction volume than space in the blocks. But be aware that this can end up in a never confirming transaction once there is more demand for fabcoin transactions than the network can process.", 0));
792 #endif // QT_NO_TOOLTIP 793 checkBoxMinimumFee->setText(QString());
794 #ifndef QT_NO_TOOLTIP 795 labelMinFeeWarning->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Paying only the minimum fee is just fine as long as there is less transaction volume than space in the blocks. But be aware that this can end up in a never confirming transaction once there is more demand for fabcoin transactions than the network can process.", 0));
796 #endif // QT_NO_TOOLTIP 797 labelMinFeeWarning->setText(QApplication::translate(
"SendCoinsDialog",
"(read the tooltip)", 0));
798 #ifndef QT_NO_TOOLTIP 799 optInRBF->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Indicates that the sender may wish to replace this transaction with a new one paying higher fees (prior to being confirmed).", 0));
800 #endif // QT_NO_TOOLTIP 801 optInRBF->setText(QApplication::translate(
"SendCoinsDialog",
"Request Replace-By-Fee", 0));
802 #ifndef QT_NO_TOOLTIP 803 clearButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Clear all fields of the form.", 0));
804 #endif // QT_NO_TOOLTIP 805 clearButton->setText(QApplication::translate(
"SendCoinsDialog",
"Clear &All", 0));
806 #ifndef QT_NO_TOOLTIP 807 sendButton->setToolTip(QApplication::translate(
"SendCoinsDialog",
"Confirm the send action", 0));
808 #endif // QT_NO_TOOLTIP 809 sendButton->setText(QApplication::translate(
"SendCoinsDialog",
"S&end", 0));
810 label->setText(QApplication::translate(
"SendCoinsDialog",
"Balance:", 0));
821 #endif // UI_SENDCOINSDIALOG_H QSpacerItem * verticalSpacer
Widget for entering fabcoin amounts.
QLabel * labelCoinControlChange
QLabel * labelCoinControlAmount
QSpacerItem * horizontalSpacerCoinControl
QVBoxLayout * verticalLayout
QLabel * labelFeeEstimation
QHBoxLayout * horizontalLayout
QHBoxLayout * horizontalLayoutSmartFee
QHBoxLayout * horizontalLayoutFee12
QWidget * widgetCoinControl
QPushButton * clearButton
QSpacerItem * horizontalSpacer_7
QLabel * labelCoinControlQuantityText
QFrame * frameFeeSelection
QLabel * labelFeeHeadline
QLabel * labelCoinControlFee
QLabel * labelCoinControlFeeText
QSpacerItem * horizontalSpacer_2
QLabel * labelCoinControlChangeText
QValidatedLineEdit * lineEditCoinControlChange
QFormLayout * formLayoutCoinControl3
QVBoxLayout * verticalLayout_4
QWidget * widgetRecipients
QSpacerItem * verticalSpacer_2
QVBoxLayout * verticalLayout_5
QHBoxLayout * horizontalLayoutFee13
Line edit that can be marked as "invalid" to show input validation feedback.
QLabel * labelCoinControlAfterFee
QSpacerItem * horizontalSpacer_4
QVBoxLayout * verticalLayout_6
QLabel * labelCoinControlQuantity
QLabel * labelCoinControlLowOutput
QSpacerItem * verticalSpacerCoinControl
QPushButton * pushButtonCoinControl
QLabel * labelCoinControlAutomaticallySelected
QHBoxLayout * horizontalLayoutConfTarget
QHBoxLayout * horizontalLayout_4
QHBoxLayout * horizontalLayoutFee1
QSpacerItem * horizontalSpacer_5
QSpacerItem * horizontalSpacer_3
QCheckBox * checkBoxMinimumFee
QLabel * labelCoinControlAfterFeeText
QVBoxLayout * verticalLayoutFee6
QHBoxLayout * horizontalLayoutCoinControl5
QHBoxLayout * horizontalLayoutCoinControl3
QVBoxLayout * verticalLayoutCoinControl
void retranslateUi(QDialog *SendCoinsDialog)
QHBoxLayout * horizontalLayout_2
QVBoxLayout * verticalLayoutFee5
FabcoinAmountField * customFee
QLabel * labelCoinControlAmountText
Dialog for sending fabcoins.
QLabel * labelFeeMinimized
QCheckBox * checkBoxCoinControlChange
QStackedWidget * stackedFeeTypes
QVBoxLayout * verticalLayoutFee7
void setupUi(QDialog *SendCoinsDialog)
QHBoxLayout * horizontalLayoutFee8
QFormLayout * formLayoutCoinControl1
QLabel * labelCoinControlChangeLabel
QVBoxLayout * verticalLayout_3
QWidget * scrollAreaWidgetContents
QHBoxLayout * horizontalLayoutCoinControl4
QLabel * labelMinFeeWarning
QFormLayout * formLayoutCoinControl4
QSpacerItem * horizontalSpacer_6
QHBoxLayout * horizontalLayoutFee9
QLabel * labelCoinControlLowOutputText
QVBoxLayout * verticalLayout_2
QLabel * labelCoinControlBytes
QVBoxLayout * verticalLayout_7
QHBoxLayout * horizontalLayout_3
QComboBox * confTargetSelector
void setEnabled(bool enabled)
QSpacerItem * horizontalSpacerConfTarget
QLabel * fallbackFeeWarningLabel
QFormLayout * formLayoutCoinControl2
QSpacerItem * horizontalSpacer
QCheckBox * radioSmartFee
QGroupBox * groupBoxCoinControl
QLabel * labelCustomPerKilobyte
QLabel * labelCoinControlBytesText
QCheckBox * radioCustomFee
QHBoxLayout * horizontalLayoutCoinControl2
QVBoxLayout * verticalLayoutCoinControl2
QLabel * labelCoinControlInsuffFunds