9 #ifndef UI_SENDTOKENPAGE_H 10 #define UI_SENDTOKENPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QHBoxLayout> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QLineEdit> 21 #include <QtWidgets/QPushButton> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QSpinBox> 24 #include <QtWidgets/QVBoxLayout> 25 #include <QtWidgets/QWidget> 57 if (SendTokenPage->objectName().isEmpty())
58 SendTokenPage->setObjectName(QStringLiteral(
"SendTokenPage"));
59 SendTokenPage->setEnabled(
true);
60 SendTokenPage->resize(520, 310);
61 verticalLayout =
new QVBoxLayout(SendTokenPage);
62 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
63 verticalSpacer_2 =
new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);
65 verticalLayout->addItem(verticalSpacer_2);
67 gridLayout =
new QGridLayout();
68 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
69 gridLayout->setVerticalSpacing(15);
70 labelPayTo =
new QLabel(SendTokenPage);
71 labelPayTo->setObjectName(QStringLiteral(
"labelPayTo"));
72 labelPayTo->setMinimumSize(QSize(100, 0));
74 gridLayout->addWidget(labelPayTo, 0, 0, 1, 1);
76 labelAmount =
new QLabel(SendTokenPage);
77 labelAmount->setObjectName(QStringLiteral(
"labelAmount"));
78 labelAmount->setMinimumSize(QSize(100, 0));
80 gridLayout->addWidget(labelAmount, 1, 0, 1, 1);
82 labelGasLimit =
new QLabel(SendTokenPage);
83 labelGasLimit->setObjectName(QStringLiteral(
"labelGasLimit"));
84 labelGasLimit->setMinimumSize(QSize(100, 0));
86 gridLayout->addWidget(labelGasLimit, 3, 0, 1, 1);
88 labelGasPrice =
new QLabel(SendTokenPage);
89 labelGasPrice->setObjectName(QStringLiteral(
"labelGasPrice"));
90 labelGasPrice->setMinimumSize(QSize(100, 0));
92 gridLayout->addWidget(labelGasPrice, 4, 0, 1, 1);
94 labelDescription =
new QLabel(SendTokenPage);
95 labelDescription->setObjectName(QStringLiteral(
"labelDescription"));
96 labelDescription->setMinimumSize(QSize(100, 0));
98 gridLayout->addWidget(labelDescription, 2, 0, 1, 1);
101 lineEditPayTo->setObjectName(QStringLiteral(
"lineEditPayTo"));
103 gridLayout->addWidget(lineEditPayTo, 0, 1, 1, 1);
105 lineEditDescription =
new QLineEdit(SendTokenPage);
106 lineEditDescription->setObjectName(QStringLiteral(
"lineEditDescription"));
108 gridLayout->addWidget(lineEditDescription, 2, 1, 1, 1);
111 lineEditGasPrice->setObjectName(QStringLiteral(
"lineEditGasPrice"));
113 gridLayout->addWidget(lineEditGasPrice, 4, 1, 1, 1);
115 lineEditGasLimit =
new QSpinBox(SendTokenPage);
116 lineEditGasLimit->setObjectName(QStringLiteral(
"lineEditGasLimit"));
117 lineEditGasLimit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
119 gridLayout->addWidget(lineEditGasLimit, 3, 1, 1, 1);
122 lineEditAmount->setObjectName(QStringLiteral(
"lineEditAmount"));
124 gridLayout->addWidget(lineEditAmount, 1, 1, 1, 1);
127 verticalLayout->addLayout(gridLayout);
129 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
131 verticalLayout->addItem(verticalSpacer);
133 horizontalLayout =
new QHBoxLayout();
134 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
135 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
137 horizontalLayout->addItem(horizontalSpacer);
139 clearButton =
new QPushButton(SendTokenPage);
140 clearButton->setObjectName(QStringLiteral(
"clearButton"));
142 horizontalLayout->addWidget(clearButton);
144 horizontalSpacer_2 =
new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
146 horizontalLayout->addItem(horizontalSpacer_2);
148 confirmButton =
new QPushButton(SendTokenPage);
149 confirmButton->setObjectName(QStringLiteral(
"confirmButton"));
151 horizontalLayout->addWidget(confirmButton);
154 verticalLayout->addLayout(horizontalLayout);
159 QMetaObject::connectSlotsByName(SendTokenPage);
164 SendTokenPage->setWindowTitle(QApplication::translate(
"SendTokenPage",
"Form", 0));
165 labelPayTo->setText(QApplication::translate(
"SendTokenPage",
"PayTo", 0));
166 labelAmount->setText(QApplication::translate(
"SendTokenPage",
"Amount", 0));
167 labelGasLimit->setText(QApplication::translate(
"SendTokenPage",
"GasLimit", 0));
168 labelGasPrice->setText(QApplication::translate(
"SendTokenPage",
"GasPrice", 0));
169 labelDescription->setText(QApplication::translate(
"SendTokenPage",
"Description", 0));
170 clearButton->setText(QApplication::translate(
"SendTokenPage",
"Clear", 0));
171 confirmButton->setText(QApplication::translate(
"SendTokenPage",
"Confirm", 0));
182 #endif // UI_SENDTOKENPAGE_H Widget for entering fabcoin amounts.
QSpinBox * lineEditGasLimit
TokenAmountField * lineEditAmount
QSpacerItem * horizontalSpacer
void retranslateUi(QWidget *SendTokenPage)
Line edit that can be marked as "invalid" to show input validation feedback.
void setupUi(QWidget *SendTokenPage)
QVBoxLayout * verticalLayout
QSpacerItem * horizontalSpacer_2
QLineEdit * lineEditDescription
QPushButton * confirmButton
QLabel * labelDescription
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer
FabcoinAmountField * lineEditGasPrice
QValidatedLineEdit * lineEditPayTo
QPushButton * clearButton
Widget for entering token amounts.
QSpacerItem * verticalSpacer_2