LCOV - code coverage report
Current view: top level - src/qt/forms - ui_receivecoinsdialog.h (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 0 174 0.0 %
Date: 2020-09-26 01:30:44 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /********************************************************************************
       2             : ** Form generated from reading UI file 'receivecoinsdialog.ui'
       3             : **
       4             : ** Created by: Qt User Interface Compiler version 5.15.0
       5             : **
       6             : ** WARNING! All changes made in this file will be lost when recompiling UI file!
       7             : ********************************************************************************/
       8             : 
       9             : #ifndef UI_RECEIVECOINSDIALOG_H
      10             : #define UI_RECEIVECOINSDIALOG_H
      11             : 
      12             : #include <QtCore/QVariant>
      13             : #include <QtGui/QIcon>
      14             : #include <QtWidgets/QApplication>
      15             : #include <QtWidgets/QCheckBox>
      16             : #include <QtWidgets/QDialog>
      17             : #include <QtWidgets/QFrame>
      18             : #include <QtWidgets/QGridLayout>
      19             : #include <QtWidgets/QHBoxLayout>
      20             : #include <QtWidgets/QHeaderView>
      21             : #include <QtWidgets/QLabel>
      22             : #include <QtWidgets/QLineEdit>
      23             : #include <QtWidgets/QPushButton>
      24             : #include <QtWidgets/QSpacerItem>
      25             : #include <QtWidgets/QTableView>
      26             : #include <QtWidgets/QVBoxLayout>
      27             : #include "qt/bitcoinamountfield.h"
      28             : 
      29             : QT_BEGIN_NAMESPACE
      30             : 
      31             : class Ui_ReceiveCoinsDialog
      32             : {
      33             : public:
      34             :     QVBoxLayout *verticalLayout;
      35             :     QFrame *frame2;
      36             :     QVBoxLayout *verticalLayout_3;
      37             :     QGridLayout *gridLayout;
      38             :     QLabel *label;
      39             :     QLabel *label_3;
      40             :     QLineEdit *reqLabel;
      41             :     QLabel *label_5;
      42             :     QLabel *label_2;
      43             :     QLineEdit *reqMessage;
      44             :     QHBoxLayout *horizontalLayout;
      45             :     QPushButton *receiveButton;
      46             :     QPushButton *clearButton;
      47             :     QSpacerItem *horizontalSpacer;
      48             :     QLabel *label_7;
      49             :     QHBoxLayout *horizontalLayout_6;
      50             :     BitcoinAmountField *reqAmount;
      51             :     QCheckBox *useBech32;
      52             :     QSpacerItem *horizontalSpacer_3;
      53             :     QSpacerItem *verticalSpacer_2;
      54             :     QFrame *frame;
      55             :     QVBoxLayout *verticalLayout_2;
      56             :     QLabel *label_6;
      57             :     QTableView *recentRequestsView;
      58             :     QHBoxLayout *horizontalLayout_2;
      59             :     QPushButton *showRequestButton;
      60             :     QPushButton *removeRequestButton;
      61             :     QSpacerItem *horizontalSpacer_2;
      62             : 
      63           0 :     void setupUi(QDialog *ReceiveCoinsDialog)
      64             :     {
      65           0 :         if (ReceiveCoinsDialog->objectName().isEmpty())
      66           0 :             ReceiveCoinsDialog->setObjectName(QString::fromUtf8("ReceiveCoinsDialog"));
      67           0 :         ReceiveCoinsDialog->resize(776, 396);
      68           0 :         verticalLayout = new QVBoxLayout(ReceiveCoinsDialog);
      69           0 :         verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
      70           0 :         frame2 = new QFrame(ReceiveCoinsDialog);
      71           0 :         frame2->setObjectName(QString::fromUtf8("frame2"));
      72           0 :         QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
      73           0 :         sizePolicy.setHorizontalStretch(0);
      74           0 :         sizePolicy.setVerticalStretch(0);
      75           0 :         sizePolicy.setHeightForWidth(frame2->sizePolicy().hasHeightForWidth());
      76           0 :         frame2->setSizePolicy(sizePolicy);
      77           0 :         frame2->setFrameShape(QFrame::StyledPanel);
      78           0 :         frame2->setFrameShadow(QFrame::Sunken);
      79           0 :         verticalLayout_3 = new QVBoxLayout(frame2);
      80           0 :         verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
      81           0 :         gridLayout = new QGridLayout();
      82           0 :         gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
      83           0 :         label = new QLabel(frame2);
      84           0 :         label->setObjectName(QString::fromUtf8("label"));
      85           0 :         label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
      86             : 
      87           0 :         gridLayout->addWidget(label, 5, 0, 1, 1);
      88             : 
      89           0 :         label_3 = new QLabel(frame2);
      90           0 :         label_3->setObjectName(QString::fromUtf8("label_3"));
      91           0 :         label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
      92             : 
      93           0 :         gridLayout->addWidget(label_3, 6, 0, 1, 1);
      94             : 
      95           0 :         reqLabel = new QLineEdit(frame2);
      96           0 :         reqLabel->setObjectName(QString::fromUtf8("reqLabel"));
      97             : 
      98           0 :         gridLayout->addWidget(reqLabel, 4, 2, 1, 1);
      99             : 
     100           0 :         label_5 = new QLabel(frame2);
     101           0 :         label_5->setObjectName(QString::fromUtf8("label_5"));
     102             : 
     103           0 :         gridLayout->addWidget(label_5, 2, 2, 1, 1);
     104             : 
     105           0 :         label_2 = new QLabel(frame2);
     106           0 :         label_2->setObjectName(QString::fromUtf8("label_2"));
     107           0 :         label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
     108             : 
     109           0 :         gridLayout->addWidget(label_2, 4, 0, 1, 1);
     110             : 
     111           0 :         reqMessage = new QLineEdit(frame2);
     112           0 :         reqMessage->setObjectName(QString::fromUtf8("reqMessage"));
     113             : 
     114           0 :         gridLayout->addWidget(reqMessage, 6, 2, 1, 1);
     115             : 
     116           0 :         horizontalLayout = new QHBoxLayout();
     117           0 :         horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
     118           0 :         receiveButton = new QPushButton(frame2);
     119           0 :         receiveButton->setObjectName(QString::fromUtf8("receiveButton"));
     120           0 :         receiveButton->setMinimumSize(QSize(150, 0));
     121           0 :         QIcon icon;
     122           0 :         icon.addFile(QString::fromUtf8(":/icons/receiving_addresses"), QSize(), QIcon::Normal, QIcon::Off);
     123           0 :         receiveButton->setIcon(icon);
     124           0 :         receiveButton->setAutoDefault(false);
     125             : 
     126           0 :         horizontalLayout->addWidget(receiveButton);
     127             : 
     128           0 :         clearButton = new QPushButton(frame2);
     129           0 :         clearButton->setObjectName(QString::fromUtf8("clearButton"));
     130           0 :         QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
     131           0 :         sizePolicy1.setHorizontalStretch(0);
     132           0 :         sizePolicy1.setVerticalStretch(0);
     133           0 :         sizePolicy1.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
     134           0 :         clearButton->setSizePolicy(sizePolicy1);
     135           0 :         QIcon icon1;
     136           0 :         icon1.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off);
     137           0 :         clearButton->setIcon(icon1);
     138           0 :         clearButton->setAutoDefault(false);
     139             : 
     140           0 :         horizontalLayout->addWidget(clearButton);
     141             : 
     142           0 :         horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     143             : 
     144           0 :         horizontalLayout->addItem(horizontalSpacer);
     145             : 
     146             : 
     147           0 :         gridLayout->addLayout(horizontalLayout, 7, 2, 1, 1);
     148             : 
     149           0 :         label_7 = new QLabel(frame2);
     150           0 :         label_7->setObjectName(QString::fromUtf8("label_7"));
     151             : 
     152           0 :         gridLayout->addWidget(label_7, 7, 0, 1, 1);
     153             : 
     154           0 :         horizontalLayout_6 = new QHBoxLayout();
     155           0 :         horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
     156           0 :         reqAmount = new BitcoinAmountField(frame2);
     157           0 :         reqAmount->setObjectName(QString::fromUtf8("reqAmount"));
     158           0 :         QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
     159           0 :         sizePolicy2.setHorizontalStretch(0);
     160           0 :         sizePolicy2.setVerticalStretch(0);
     161           0 :         sizePolicy2.setHeightForWidth(reqAmount->sizePolicy().hasHeightForWidth());
     162           0 :         reqAmount->setSizePolicy(sizePolicy2);
     163           0 :         reqAmount->setMinimumSize(QSize(80, 0));
     164           0 :         reqAmount->setMaximumSize(QSize(1000, 100));
     165             : 
     166           0 :         horizontalLayout_6->addWidget(reqAmount);
     167             : 
     168           0 :         useBech32 = new QCheckBox(frame2);
     169           0 :         useBech32->setObjectName(QString::fromUtf8("useBech32"));
     170           0 :         sizePolicy2.setHeightForWidth(useBech32->sizePolicy().hasHeightForWidth());
     171           0 :         useBech32->setSizePolicy(sizePolicy2);
     172           0 :         useBech32->setMaximumSize(QSize(1000, 16777215));
     173           0 :         useBech32->setFocusPolicy(Qt::StrongFocus);
     174             : 
     175           0 :         horizontalLayout_6->addWidget(useBech32);
     176             : 
     177           0 :         horizontalSpacer_3 = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);
     178             : 
     179           0 :         horizontalLayout_6->addItem(horizontalSpacer_3);
     180             : 
     181             : 
     182           0 :         gridLayout->addLayout(horizontalLayout_6, 5, 2, 1, 1);
     183             : 
     184             : 
     185           0 :         verticalLayout_3->addLayout(gridLayout);
     186             : 
     187             : 
     188           0 :         verticalLayout->addWidget(frame2);
     189             : 
     190           0 :         verticalSpacer_2 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);
     191             : 
     192           0 :         verticalLayout->addItem(verticalSpacer_2);
     193             : 
     194           0 :         frame = new QFrame(ReceiveCoinsDialog);
     195           0 :         frame->setObjectName(QString::fromUtf8("frame"));
     196           0 :         sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
     197           0 :         frame->setSizePolicy(sizePolicy);
     198           0 :         frame->setFrameShape(QFrame::StyledPanel);
     199           0 :         frame->setFrameShadow(QFrame::Raised);
     200           0 :         verticalLayout_2 = new QVBoxLayout(frame);
     201           0 :         verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
     202           0 :         label_6 = new QLabel(frame);
     203           0 :         label_6->setObjectName(QString::fromUtf8("label_6"));
     204           0 :         QFont font;
     205           0 :         font.setBold(true);
     206           0 :         font.setWeight(75);
     207           0 :         label_6->setFont(font);
     208             : 
     209           0 :         verticalLayout_2->addWidget(label_6);
     210             : 
     211           0 :         recentRequestsView = new QTableView(frame);
     212           0 :         recentRequestsView->setObjectName(QString::fromUtf8("recentRequestsView"));
     213           0 :         recentRequestsView->setContextMenuPolicy(Qt::CustomContextMenu);
     214           0 :         recentRequestsView->setTabKeyNavigation(false);
     215           0 :         recentRequestsView->setSortingEnabled(true);
     216             : 
     217           0 :         verticalLayout_2->addWidget(recentRequestsView);
     218             : 
     219           0 :         horizontalLayout_2 = new QHBoxLayout();
     220           0 :         horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
     221           0 :         showRequestButton = new QPushButton(frame);
     222           0 :         showRequestButton->setObjectName(QString::fromUtf8("showRequestButton"));
     223           0 :         showRequestButton->setEnabled(false);
     224           0 :         QIcon icon2;
     225           0 :         icon2.addFile(QString::fromUtf8(":/icons/edit"), QSize(), QIcon::Normal, QIcon::Off);
     226           0 :         showRequestButton->setIcon(icon2);
     227           0 :         showRequestButton->setAutoDefault(false);
     228             : 
     229           0 :         horizontalLayout_2->addWidget(showRequestButton);
     230             : 
     231           0 :         removeRequestButton = new QPushButton(frame);
     232           0 :         removeRequestButton->setObjectName(QString::fromUtf8("removeRequestButton"));
     233           0 :         removeRequestButton->setEnabled(false);
     234           0 :         removeRequestButton->setIcon(icon1);
     235           0 :         removeRequestButton->setAutoDefault(false);
     236             : 
     237           0 :         horizontalLayout_2->addWidget(removeRequestButton);
     238             : 
     239           0 :         horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     240             : 
     241           0 :         horizontalLayout_2->addItem(horizontalSpacer_2);
     242             : 
     243             : 
     244           0 :         verticalLayout_2->addLayout(horizontalLayout_2);
     245             : 
     246             : 
     247           0 :         verticalLayout->addWidget(frame);
     248             : 
     249           0 :         verticalLayout->setStretch(2, 1);
     250             : #if QT_CONFIG(shortcut)
     251           0 :         label->setBuddy(reqAmount);
     252           0 :         label_3->setBuddy(reqMessage);
     253           0 :         label_2->setBuddy(reqLabel);
     254             : #endif // QT_CONFIG(shortcut)
     255           0 :         QWidget::setTabOrder(reqLabel, reqAmount);
     256           0 :         QWidget::setTabOrder(reqAmount, useBech32);
     257           0 :         QWidget::setTabOrder(useBech32, reqMessage);
     258           0 :         QWidget::setTabOrder(reqMessage, receiveButton);
     259           0 :         QWidget::setTabOrder(receiveButton, clearButton);
     260           0 :         QWidget::setTabOrder(clearButton, recentRequestsView);
     261           0 :         QWidget::setTabOrder(recentRequestsView, showRequestButton);
     262           0 :         QWidget::setTabOrder(showRequestButton, removeRequestButton);
     263             : 
     264           0 :         retranslateUi(ReceiveCoinsDialog);
     265             : 
     266           0 :         receiveButton->setDefault(true);
     267             : 
     268             : 
     269           0 :         QMetaObject::connectSlotsByName(ReceiveCoinsDialog);
     270           0 :     } // setupUi
     271             : 
     272           0 :     void retranslateUi(QDialog *ReceiveCoinsDialog)
     273             :     {
     274             : #if QT_CONFIG(tooltip)
     275           0 :         label->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", nullptr));
     276             : #endif // QT_CONFIG(tooltip)
     277           0 :         label->setText(QCoreApplication::translate("ReceiveCoinsDialog", "&Amount:", nullptr));
     278             : #if QT_CONFIG(tooltip)
     279           0 :         label_3->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional message to attach to the payment request, which will be displayed when the request is opened. Note: The message will not be sent with the payment over the Bitcoin network.", nullptr));
     280             : #endif // QT_CONFIG(tooltip)
     281           0 :         label_3->setText(QCoreApplication::translate("ReceiveCoinsDialog", "&Message:", nullptr));
     282             : #if QT_CONFIG(tooltip)
     283           0 :         reqLabel->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address (used by you to identify an invoice).  It is also attached to the payment request.", nullptr));
     284             : #endif // QT_CONFIG(tooltip)
     285           0 :         label_5->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Use this form to request payments. All fields are <b>optional</b>.", nullptr));
     286             : #if QT_CONFIG(tooltip)
     287           0 :         label_2->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional label to associate with the new receiving address.", nullptr));
     288             : #endif // QT_CONFIG(tooltip)
     289           0 :         label_2->setText(QCoreApplication::translate("ReceiveCoinsDialog", "&Label:", nullptr));
     290             : #if QT_CONFIG(tooltip)
     291           0 :         reqMessage->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional message that is attached to the payment request and may be displayed to the sender.", nullptr));
     292             : #endif // QT_CONFIG(tooltip)
     293           0 :         receiveButton->setText(QCoreApplication::translate("ReceiveCoinsDialog", "&Create new receiving address", nullptr));
     294             : #if QT_CONFIG(tooltip)
     295           0 :         clearButton->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "Clear all fields of the form.", nullptr));
     296             : #endif // QT_CONFIG(tooltip)
     297           0 :         clearButton->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Clear", nullptr));
     298           0 :         label_7->setText(QString());
     299             : #if QT_CONFIG(tooltip)
     300           0 :         reqAmount->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "An optional amount to request. Leave this empty or zero to not request a specific amount.", nullptr));
     301             : #endif // QT_CONFIG(tooltip)
     302             : #if QT_CONFIG(tooltip)
     303           0 :         useBech32->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "Native segwit addresses (aka Bech32 or BIP-173) reduce your transaction fees later on and offer better protection against typos, but old wallets don't support them. When unchecked, an address compatible with older wallets will be created instead.", nullptr));
     304             : #endif // QT_CONFIG(tooltip)
     305           0 :         useBech32->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Generate native segwit (Bech32) address", nullptr));
     306           0 :         label_6->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Requested payments history", nullptr));
     307             : #if QT_CONFIG(tooltip)
     308           0 :         showRequestButton->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "Show the selected request (does the same as double clicking an entry)", nullptr));
     309             : #endif // QT_CONFIG(tooltip)
     310           0 :         showRequestButton->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Show", nullptr));
     311             : #if QT_CONFIG(tooltip)
     312           0 :         removeRequestButton->setToolTip(QCoreApplication::translate("ReceiveCoinsDialog", "Remove the selected entries from the list", nullptr));
     313             : #endif // QT_CONFIG(tooltip)
     314           0 :         removeRequestButton->setText(QCoreApplication::translate("ReceiveCoinsDialog", "Remove", nullptr));
     315             :         (void)ReceiveCoinsDialog;
     316           0 :     } // retranslateUi
     317             : 
     318             : };
     319             : 
     320             : namespace Ui {
     321             :     class ReceiveCoinsDialog: public Ui_ReceiveCoinsDialog {};
     322             : } // namespace Ui
     323             : 
     324             : QT_END_NAMESPACE
     325             : 
     326             : #endif // UI_RECEIVECOINSDIALOG_H

Generated by: LCOV version 1.15