Fabcoin Core  0.16.2
P2P Digital Currency
ui_sendtokenpage.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'sendtokenpage.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.5.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_SENDTOKENPAGE_H
10 #define UI_SENDTOKENPAGE_H
11 
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>
26 #include "fabcoinamountfield.h"
27 #include "qvalidatedlineedit.h"
28 #include "tokenamountfield.h"
29 
30 QT_BEGIN_NAMESPACE
31 
33 {
34 public:
35  QVBoxLayout *verticalLayout;
36  QSpacerItem *verticalSpacer_2;
37  QGridLayout *gridLayout;
38  QLabel *labelPayTo;
39  QLabel *labelAmount;
40  QLabel *labelGasLimit;
41  QLabel *labelGasPrice;
44  QLineEdit *lineEditDescription;
46  QSpinBox *lineEditGasLimit;
48  QSpacerItem *verticalSpacer;
49  QHBoxLayout *horizontalLayout;
50  QSpacerItem *horizontalSpacer;
51  QPushButton *clearButton;
52  QSpacerItem *horizontalSpacer_2;
53  QPushButton *confirmButton;
54 
55  void setupUi(QWidget *SendTokenPage)
56  {
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);
64 
65  verticalLayout->addItem(verticalSpacer_2);
66 
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));
73 
74  gridLayout->addWidget(labelPayTo, 0, 0, 1, 1);
75 
76  labelAmount = new QLabel(SendTokenPage);
77  labelAmount->setObjectName(QStringLiteral("labelAmount"));
78  labelAmount->setMinimumSize(QSize(100, 0));
79 
80  gridLayout->addWidget(labelAmount, 1, 0, 1, 1);
81 
82  labelGasLimit = new QLabel(SendTokenPage);
83  labelGasLimit->setObjectName(QStringLiteral("labelGasLimit"));
84  labelGasLimit->setMinimumSize(QSize(100, 0));
85 
86  gridLayout->addWidget(labelGasLimit, 3, 0, 1, 1);
87 
88  labelGasPrice = new QLabel(SendTokenPage);
89  labelGasPrice->setObjectName(QStringLiteral("labelGasPrice"));
90  labelGasPrice->setMinimumSize(QSize(100, 0));
91 
92  gridLayout->addWidget(labelGasPrice, 4, 0, 1, 1);
93 
94  labelDescription = new QLabel(SendTokenPage);
95  labelDescription->setObjectName(QStringLiteral("labelDescription"));
96  labelDescription->setMinimumSize(QSize(100, 0));
97 
98  gridLayout->addWidget(labelDescription, 2, 0, 1, 1);
99 
100  lineEditPayTo = new QValidatedLineEdit(SendTokenPage);
101  lineEditPayTo->setObjectName(QStringLiteral("lineEditPayTo"));
102 
103  gridLayout->addWidget(lineEditPayTo, 0, 1, 1, 1);
104 
105  lineEditDescription = new QLineEdit(SendTokenPage);
106  lineEditDescription->setObjectName(QStringLiteral("lineEditDescription"));
107 
108  gridLayout->addWidget(lineEditDescription, 2, 1, 1, 1);
109 
110  lineEditGasPrice = new FabcoinAmountField(SendTokenPage);
111  lineEditGasPrice->setObjectName(QStringLiteral("lineEditGasPrice"));
112 
113  gridLayout->addWidget(lineEditGasPrice, 4, 1, 1, 1);
114 
115  lineEditGasLimit = new QSpinBox(SendTokenPage);
116  lineEditGasLimit->setObjectName(QStringLiteral("lineEditGasLimit"));
117  lineEditGasLimit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
118 
119  gridLayout->addWidget(lineEditGasLimit, 3, 1, 1, 1);
120 
121  lineEditAmount = new TokenAmountField(SendTokenPage);
122  lineEditAmount->setObjectName(QStringLiteral("lineEditAmount"));
123 
124  gridLayout->addWidget(lineEditAmount, 1, 1, 1, 1);
125 
126 
127  verticalLayout->addLayout(gridLayout);
128 
129  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
130 
131  verticalLayout->addItem(verticalSpacer);
132 
133  horizontalLayout = new QHBoxLayout();
134  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
135  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
136 
137  horizontalLayout->addItem(horizontalSpacer);
138 
139  clearButton = new QPushButton(SendTokenPage);
140  clearButton->setObjectName(QStringLiteral("clearButton"));
141 
142  horizontalLayout->addWidget(clearButton);
143 
144  horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
145 
146  horizontalLayout->addItem(horizontalSpacer_2);
147 
148  confirmButton = new QPushButton(SendTokenPage);
149  confirmButton->setObjectName(QStringLiteral("confirmButton"));
150 
151  horizontalLayout->addWidget(confirmButton);
152 
153 
154  verticalLayout->addLayout(horizontalLayout);
155 
156 
157  retranslateUi(SendTokenPage);
158 
159  QMetaObject::connectSlotsByName(SendTokenPage);
160  } // setupUi
161 
163  {
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));
172  } // retranslateUi
173 
174 };
175 
176 namespace Ui {
177  class SendTokenPage: public Ui_SendTokenPage {};
178 } // namespace Ui
179 
180 QT_END_NAMESPACE
181 
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
QGridLayout * gridLayout