Fabcoin Core  0.16.2
P2P Digital Currency
ui_addtokenpage.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'addtokenpage.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_ADDTOKENPAGE_H
10 #define UI_ADDTOKENPAGE_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/QVBoxLayout>
24 #include <QtWidgets/QWidget>
25 #include "addressfield.h"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QVBoxLayout *verticalLayout;
33  QSpacerItem *verticalSpacer_2;
34  QGridLayout *gridLayout;
36  QLineEdit *lineEditDecimals;
37  QLabel *labelDecimals;
38  QLineEdit *lineEditTokenName;
40  QLineEdit *lineEditTokenSymbol;
41  QLabel *labelTokenName;
43  QVBoxLayout *verticalLayout_2;
46  QVBoxLayout *verticalLayout_3;
47  QLabel *label;
48  QLabel *labelSpacer;
49  QSpacerItem *verticalSpacer;
50  QHBoxLayout *horizontalLayout;
51  QSpacerItem *horizontalSpacer;
52  QPushButton *clearButton;
53  QSpacerItem *horizontalSpacer_3;
54  QPushButton *confirmButton;
55 
56  void setupUi(QWidget *AddTokenPage)
57  {
58  if (AddTokenPage->objectName().isEmpty())
59  AddTokenPage->setObjectName(QStringLiteral("AddTokenPage"));
60  AddTokenPage->resize(531, 311);
61  verticalLayout = new QVBoxLayout(AddTokenPage);
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  labelTokenSymbol = new QLabel(AddTokenPage);
71  labelTokenSymbol->setObjectName(QStringLiteral("labelTokenSymbol"));
72  labelTokenSymbol->setMinimumSize(QSize(120, 0));
73 
74  gridLayout->addWidget(labelTokenSymbol, 2, 0, 1, 1);
75 
76  lineEditDecimals = new QLineEdit(AddTokenPage);
77  lineEditDecimals->setObjectName(QStringLiteral("lineEditDecimals"));
78  lineEditDecimals->setAlignment(Qt::AlignCenter);
79  lineEditDecimals->setReadOnly(true);
80 
81  gridLayout->addWidget(lineEditDecimals, 3, 1, 1, 1);
82 
83  labelDecimals = new QLabel(AddTokenPage);
84  labelDecimals->setObjectName(QStringLiteral("labelDecimals"));
85  labelDecimals->setMinimumSize(QSize(120, 0));
86 
87  gridLayout->addWidget(labelDecimals, 3, 0, 1, 1);
88 
89  lineEditTokenName = new QLineEdit(AddTokenPage);
90  lineEditTokenName->setObjectName(QStringLiteral("lineEditTokenName"));
91  lineEditTokenName->setAlignment(Qt::AlignCenter);
92  lineEditTokenName->setReadOnly(false);
93 
94  gridLayout->addWidget(lineEditTokenName, 1, 1, 1, 1);
95 
96  labelContractAddress = new QLabel(AddTokenPage);
97  labelContractAddress->setObjectName(QStringLiteral("labelContractAddress"));
98  labelContractAddress->setMinimumSize(QSize(120, 0));
99 
100  gridLayout->addWidget(labelContractAddress, 0, 0, 1, 1);
101 
102  lineEditTokenSymbol = new QLineEdit(AddTokenPage);
103  lineEditTokenSymbol->setObjectName(QStringLiteral("lineEditTokenSymbol"));
104  lineEditTokenSymbol->setAlignment(Qt::AlignCenter);
105  lineEditTokenSymbol->setReadOnly(false);
106 
107  gridLayout->addWidget(lineEditTokenSymbol, 2, 1, 1, 1);
108 
109  labelTokenName = new QLabel(AddTokenPage);
110  labelTokenName->setObjectName(QStringLiteral("labelTokenName"));
111  labelTokenName->setMinimumSize(QSize(120, 0));
112 
113  gridLayout->addWidget(labelTokenName, 1, 0, 1, 1);
114 
115  lineEditContractAddress = new QLineEdit(AddTokenPage);
116  lineEditContractAddress->setObjectName(QStringLiteral("lineEditContractAddress"));
117  lineEditContractAddress->setAlignment(Qt::AlignCenter);
118 
119  gridLayout->addWidget(lineEditContractAddress, 0, 1, 1, 1);
120 
121  verticalLayout_2 = new QVBoxLayout();
122  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
123  lineEditSenderAddress = new AddressField(AddTokenPage);
124  lineEditSenderAddress->setObjectName(QStringLiteral("lineEditSenderAddress"));
125 
126  verticalLayout_2->addWidget(lineEditSenderAddress);
127 
128  labelDescription = new QLabel(AddTokenPage);
129  labelDescription->setObjectName(QStringLiteral("labelDescription"));
130  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
131  sizePolicy.setHorizontalStretch(0);
132  sizePolicy.setVerticalStretch(0);
133  sizePolicy.setHeightForWidth(labelDescription->sizePolicy().hasHeightForWidth());
134  labelDescription->setSizePolicy(sizePolicy);
135  labelDescription->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
136  labelDescription->setWordWrap(true);
137 
138  verticalLayout_2->addWidget(labelDescription);
139 
140 
141  gridLayout->addLayout(verticalLayout_2, 4, 1, 1, 1);
142 
143  verticalLayout_3 = new QVBoxLayout();
144  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
145  label = new QLabel(AddTokenPage);
146  label->setObjectName(QStringLiteral("label"));
147  label->setMinimumSize(QSize(120, 0));
148 
149  verticalLayout_3->addWidget(label);
150 
151  labelSpacer = new QLabel(AddTokenPage);
152  labelSpacer->setObjectName(QStringLiteral("labelSpacer"));
153  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
154  sizePolicy1.setHorizontalStretch(0);
155  sizePolicy1.setVerticalStretch(0);
156  sizePolicy1.setHeightForWidth(labelSpacer->sizePolicy().hasHeightForWidth());
157  labelSpacer->setSizePolicy(sizePolicy1);
158 
159  verticalLayout_3->addWidget(labelSpacer);
160 
161 
162  gridLayout->addLayout(verticalLayout_3, 4, 0, 1, 1);
163 
164 
165  verticalLayout->addLayout(gridLayout);
166 
167  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
168 
169  verticalLayout->addItem(verticalSpacer);
170 
171  horizontalLayout = new QHBoxLayout();
172  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
173  horizontalLayout->setContentsMargins(-1, -1, 0, -1);
174  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
175 
176  horizontalLayout->addItem(horizontalSpacer);
177 
178  clearButton = new QPushButton(AddTokenPage);
179  clearButton->setObjectName(QStringLiteral("clearButton"));
180 
181  horizontalLayout->addWidget(clearButton);
182 
183  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
184 
185  horizontalLayout->addItem(horizontalSpacer_3);
186 
187  confirmButton = new QPushButton(AddTokenPage);
188  confirmButton->setObjectName(QStringLiteral("confirmButton"));
189  confirmButton->setEnabled(false);
190 
191  horizontalLayout->addWidget(confirmButton);
192 
193 
194  verticalLayout->addLayout(horizontalLayout);
195 
196 
197  retranslateUi(AddTokenPage);
198 
199  QMetaObject::connectSlotsByName(AddTokenPage);
200  } // setupUi
201 
203  {
204  AddTokenPage->setWindowTitle(QApplication::translate("AddTokenPage", "Form", 0));
205  labelTokenSymbol->setText(QApplication::translate("AddTokenPage", "Token Symbol", 0));
206  labelDecimals->setText(QApplication::translate("AddTokenPage", "Decimals", 0));
207  labelContractAddress->setText(QApplication::translate("AddTokenPage", "Contract Address", 0));
208  labelTokenName->setText(QApplication::translate("AddTokenPage", "Token Name", 0));
209  labelDescription->setText(QString());
210  label->setText(QApplication::translate("AddTokenPage", "Token Address", 0));
211  labelSpacer->setText(QString());
212  clearButton->setText(QApplication::translate("AddTokenPage", "Clear", 0));
213  confirmButton->setText(QApplication::translate("AddTokenPage", "Confirm", 0));
214  } // retranslateUi
215 
216 };
217 
218 namespace Ui {
219  class AddTokenPage: public Ui_AddTokenPage {};
220 } // namespace Ui
221 
222 QT_END_NAMESPACE
223 
224 #endif // UI_ADDTOKENPAGE_H
QLabel * labelTokenName
QLineEdit * lineEditDecimals
QVBoxLayout * verticalLayout_3
QPushButton * clearButton
Drop down list of addresses.
Definition: addressfield.h:15
QSpacerItem * horizontalSpacer_3
QLineEdit * lineEditContractAddress
void setupUi(QWidget *AddTokenPage)
QLabel * labelTokenSymbol
void retranslateUi(QWidget *AddTokenPage)
QPushButton * confirmButton
QHBoxLayout * horizontalLayout
QGridLayout * gridLayout
QVBoxLayout * verticalLayout_2
QLabel * labelContractAddress
QLabel * labelDecimals
QSpacerItem * horizontalSpacer
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout
QLabel * labelDescription
QLineEdit * lineEditTokenName
QSpacerItem * verticalSpacer_2
QLabel * labelSpacer
QLineEdit * lineEditTokenSymbol
AddressField * lineEditSenderAddress