9 #ifndef UI_RECEIVETOKENPAGE_H 10 #define UI_RECEIVETOKENPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QHeaderView> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QSpacerItem> 20 #include <QtWidgets/QToolButton> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 47 if (ReceiveTokenPage->objectName().isEmpty())
48 ReceiveTokenPage->setObjectName(QStringLiteral(
"ReceiveTokenPage"));
49 ReceiveTokenPage->setEnabled(
true);
50 ReceiveTokenPage->resize(594, 342);
51 verticalLayout =
new QVBoxLayout(ReceiveTokenPage);
52 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
53 verticalSpacer_4 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
55 verticalLayout->addItem(verticalSpacer_4);
57 horizontalLayout_2 =
new QHBoxLayout();
58 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
59 lblQRCode =
new QLabel(ReceiveTokenPage);
60 lblQRCode->setObjectName(QStringLiteral(
"lblQRCode"));
61 lblQRCode->setMinimumSize(QSize(200, 220));
62 lblQRCode->setMaximumSize(QSize(200, 220));
63 lblQRCode->setAlignment(Qt::AlignCenter);
65 horizontalLayout_2->addWidget(lblQRCode);
67 horizontalSpacer_3 =
new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
69 horizontalLayout_2->addItem(horizontalSpacer_3);
71 verticalLayout_2 =
new QVBoxLayout();
72 verticalLayout_2->setSpacing(0);
73 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
74 verticalSpacer_2 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
76 verticalLayout_2->addItem(verticalSpacer_2);
78 widgetAddress =
new QWidget(ReceiveTokenPage);
79 widgetAddress->setObjectName(QStringLiteral(
"widgetAddress"));
80 verticalLayout_3 =
new QVBoxLayout(widgetAddress);
81 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
82 verticalLayout_3->setContentsMargins(0, 0, 0, 0);
83 labelTokenAddressText =
new QLabel(widgetAddress);
84 labelTokenAddressText->setObjectName(QStringLiteral(
"labelTokenAddressText"));
85 labelTokenAddressText->setMinimumSize(QSize(350, 0));
87 verticalLayout_3->addWidget(labelTokenAddressText);
89 horizontalLayout =
new QHBoxLayout();
90 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
91 labelTokenAddress =
new QLabel(widgetAddress);
92 labelTokenAddress->setObjectName(QStringLiteral(
"labelTokenAddress"));
93 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
94 sizePolicy.setHorizontalStretch(0);
95 sizePolicy.setVerticalStretch(0);
96 sizePolicy.setHeightForWidth(labelTokenAddress->sizePolicy().hasHeightForWidth());
97 labelTokenAddress->setSizePolicy(sizePolicy);
98 labelTokenAddress->setMinimumSize(QSize(0, 0));
100 horizontalLayout->addWidget(labelTokenAddress);
102 copyAddressButton =
new QToolButton(widgetAddress);
103 copyAddressButton->setObjectName(QStringLiteral(
"copyAddressButton"));
104 copyAddressButton->setMinimumSize(QSize(28, 30));
106 horizontalLayout->addWidget(copyAddressButton, 0, Qt::AlignLeft);
109 verticalLayout_3->addLayout(horizontalLayout);
112 verticalLayout_2->addWidget(widgetAddress);
114 verticalSpacer_5 =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
116 verticalLayout_2->addItem(verticalSpacer_5);
119 horizontalLayout_2->addLayout(verticalLayout_2);
122 verticalLayout->addLayout(horizontalLayout_2);
124 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
126 verticalLayout->addItem(verticalSpacer);
131 QMetaObject::connectSlotsByName(ReceiveTokenPage);
136 ReceiveTokenPage->setWindowTitle(QApplication::translate(
"ReceiveTokenPage",
"Form", 0));
137 lblQRCode->setText(QString());
138 labelTokenAddressText->setText(QApplication::translate(
"ReceiveTokenPage",
"Address", 0));
139 labelTokenAddress->setText(QString());
150 #endif // UI_RECEIVETOKENPAGE_H
QSpacerItem * verticalSpacer
QToolButton * copyAddressButton
QHBoxLayout * horizontalLayout
QVBoxLayout * verticalLayout_3
void retranslateUi(QWidget *ReceiveTokenPage)
QSpacerItem * verticalSpacer_4
QVBoxLayout * verticalLayout_2
QSpacerItem * horizontalSpacer_3
QSpacerItem * verticalSpacer_5
void setupUi(QWidget *ReceiveTokenPage)
QHBoxLayout * horizontalLayout_2
QLabel * labelTokenAddressText
QVBoxLayout * verticalLayout
QLabel * labelTokenAddress
QSpacerItem * verticalSpacer_2