Fabcoin Core  0.16.2
P2P Digital Currency
ui_createcontract.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'createcontract.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_CREATECONTRACT_H
10 #define UI_CREATECONTRACT_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QFrame>
17 #include <QtWidgets/QGridLayout>
18 #include <QtWidgets/QGroupBox>
19 #include <QtWidgets/QHBoxLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QPushButton>
23 #include <QtWidgets/QScrollArea>
24 #include <QtWidgets/QSpacerItem>
25 #include <QtWidgets/QSpinBox>
26 #include <QtWidgets/QStackedWidget>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
29 #include "addressfield.h"
30 #include "fabcoinamountfield.h"
31 #include "qvalidatedtextedit.h"
32 
33 QT_BEGIN_NAMESPACE
34 
36 {
37 public:
38  QVBoxLayout *verticalLayout_7;
39  QStackedWidget *stackedWidget;
41  QVBoxLayout *verticalLayout_8;
42  QHBoxLayout *horizontalLayout;
43  QLabel *labelTitle;
44  QSpacerItem *horizontalSpacer_4;
45  QLabel *labelSolidity;
46  QLabel *labelToken;
47  QFrame *frameContract;
48  QVBoxLayout *verticalLayout_10;
49  QGridLayout *gridLayout;
51  QVBoxLayout *verticalLayout;
52  QLabel *labelBytecode;
53  QSpacerItem *verticalSpacer_2;
55  QVBoxLayout *verticalLayout_3;
56  QLabel *labelInterface;
57  QSpacerItem *verticalSpacer;
58  QGroupBox *groupBoxConstructor;
59  QVBoxLayout *verticalLayout_2;
60  QScrollArea *scrollAreaConstructor;
62  QVBoxLayout *verticalLayout_5;
63  QGroupBox *groupBoxOptional;
64  QGridLayout *gridLayout_2;
67  QLabel *labelGasPrice;
68  QLabel *labelGasLimit;
69  QSpinBox *lineEditGasLimit;
71  QSpacerItem *horizontalSpacer_5;
72  QHBoxLayout *horizontalLayout_3;
73  QSpacerItem *horizontalSpacer;
74  QPushButton *pushButtonClearAll;
75  QSpacerItem *horizontalSpacer_3;
77 
78  void setupUi(QWidget *CreateContract)
79  {
80  if (CreateContract->objectName().isEmpty())
81  CreateContract->setObjectName(QStringLiteral("CreateContract"));
82  CreateContract->resize(706, 587);
83  verticalLayout_7 = new QVBoxLayout(CreateContract);
84  verticalLayout_7->setObjectName(QStringLiteral("verticalLayout_7"));
85  stackedWidget = new QStackedWidget(CreateContract);
86  stackedWidget->setObjectName(QStringLiteral("stackedWidget"));
87  createContractPage = new QWidget();
88  createContractPage->setObjectName(QStringLiteral("createContractPage"));
89  verticalLayout_8 = new QVBoxLayout(createContractPage);
90  verticalLayout_8->setObjectName(QStringLiteral("verticalLayout_8"));
91  verticalLayout_8->setContentsMargins(0, 0, 0, 0);
92  horizontalLayout = new QHBoxLayout();
93  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
94  labelTitle = new QLabel(createContractPage);
95  labelTitle->setObjectName(QStringLiteral("labelTitle"));
96  QFont font;
97  font.setBold(true);
98  font.setWeight(75);
99  labelTitle->setFont(font);
100 
101  horizontalLayout->addWidget(labelTitle);
102 
103  horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
104 
105  horizontalLayout->addItem(horizontalSpacer_4);
106 
107  labelSolidity = new QLabel(createContractPage);
108  labelSolidity->setObjectName(QStringLiteral("labelSolidity"));
109  labelSolidity->setMinimumSize(QSize(80, 0));
110 
111  horizontalLayout->addWidget(labelSolidity);
112 
113  labelToken = new QLabel(createContractPage);
114  labelToken->setObjectName(QStringLiteral("labelToken"));
115 
116  horizontalLayout->addWidget(labelToken);
117 
118 
119  verticalLayout_8->addLayout(horizontalLayout);
120 
121  frameContract = new QFrame(createContractPage);
122  frameContract->setObjectName(QStringLiteral("frameContract"));
123  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
124  sizePolicy.setHorizontalStretch(0);
125  sizePolicy.setVerticalStretch(0);
126  sizePolicy.setHeightForWidth(frameContract->sizePolicy().hasHeightForWidth());
127  frameContract->setSizePolicy(sizePolicy);
128  frameContract->setFrameShape(QFrame::StyledPanel);
129  frameContract->setFrameShadow(QFrame::Raised);
130  verticalLayout_10 = new QVBoxLayout(frameContract);
131  verticalLayout_10->setObjectName(QStringLiteral("verticalLayout_10"));
132  verticalLayout_10->setContentsMargins(0, -1, 0, -1);
133  gridLayout = new QGridLayout();
134  gridLayout->setObjectName(QStringLiteral("gridLayout"));
135  gridLayout->setHorizontalSpacing(15);
136  gridLayout->setVerticalSpacing(12);
137  gridLayout->setContentsMargins(12, -1, -1, -1);
138  textEditBytecode = new QValidatedTextEdit(frameContract);
139  textEditBytecode->setObjectName(QStringLiteral("textEditBytecode"));
140  QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
141  sizePolicy1.setHorizontalStretch(0);
142  sizePolicy1.setVerticalStretch(0);
143  sizePolicy1.setHeightForWidth(textEditBytecode->sizePolicy().hasHeightForWidth());
144  textEditBytecode->setSizePolicy(sizePolicy1);
145  textEditBytecode->setMaximumSize(QSize(16777215, 65));
146  textEditBytecode->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
147 
148  gridLayout->addWidget(textEditBytecode, 0, 1, 1, 1);
149 
150  verticalLayout = new QVBoxLayout();
151  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
152  labelBytecode = new QLabel(frameContract);
153  labelBytecode->setObjectName(QStringLiteral("labelBytecode"));
154  QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
155  sizePolicy2.setHorizontalStretch(0);
156  sizePolicy2.setVerticalStretch(0);
157  sizePolicy2.setHeightForWidth(labelBytecode->sizePolicy().hasHeightForWidth());
158  labelBytecode->setSizePolicy(sizePolicy2);
159  labelBytecode->setMinimumSize(QSize(100, 0));
160 
161  verticalLayout->addWidget(labelBytecode);
162 
163  verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
164 
165  verticalLayout->addItem(verticalSpacer_2);
166 
167 
168  gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
169 
170  textEditInterface = new QValidatedTextEdit(frameContract);
171  textEditInterface->setObjectName(QStringLiteral("textEditInterface"));
172  sizePolicy1.setHeightForWidth(textEditInterface->sizePolicy().hasHeightForWidth());
173  textEditInterface->setSizePolicy(sizePolicy1);
174  textEditInterface->setMaximumSize(QSize(16777215, 65));
175  textEditInterface->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
176 
177  gridLayout->addWidget(textEditInterface, 1, 1, 1, 1);
178 
179  verticalLayout_3 = new QVBoxLayout();
180  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
181  labelInterface = new QLabel(frameContract);
182  labelInterface->setObjectName(QStringLiteral("labelInterface"));
183  sizePolicy2.setHeightForWidth(labelInterface->sizePolicy().hasHeightForWidth());
184  labelInterface->setSizePolicy(sizePolicy2);
185  labelInterface->setMinimumSize(QSize(100, 0));
186 
187  verticalLayout_3->addWidget(labelInterface);
188 
189  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
190 
191  verticalLayout_3->addItem(verticalSpacer);
192 
193 
194  gridLayout->addLayout(verticalLayout_3, 1, 0, 1, 1);
195 
196 
197  verticalLayout_10->addLayout(gridLayout);
198 
199 
200  verticalLayout_8->addWidget(frameContract);
201 
202  groupBoxConstructor = new QGroupBox(createContractPage);
203  groupBoxConstructor->setObjectName(QStringLiteral("groupBoxConstructor"));
204  verticalLayout_2 = new QVBoxLayout(groupBoxConstructor);
205  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
206  verticalLayout_2->setContentsMargins(15, 15, -1, -1);
207  scrollAreaConstructor = new QScrollArea(groupBoxConstructor);
208  scrollAreaConstructor->setObjectName(QStringLiteral("scrollAreaConstructor"));
209  scrollAreaConstructor->setWidgetResizable(true);
210  scrollAreaWidgetContents = new QWidget();
211  scrollAreaWidgetContents->setObjectName(QStringLiteral("scrollAreaWidgetContents"));
212  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 656, 172));
213  verticalLayout_5 = new QVBoxLayout(scrollAreaWidgetContents);
214  verticalLayout_5->setObjectName(QStringLiteral("verticalLayout_5"));
215  scrollAreaConstructor->setWidget(scrollAreaWidgetContents);
216 
217  verticalLayout_2->addWidget(scrollAreaConstructor);
218 
219 
220  verticalLayout_8->addWidget(groupBoxConstructor);
221 
222  groupBoxOptional = new QGroupBox(createContractPage);
223  groupBoxOptional->setObjectName(QStringLiteral("groupBoxOptional"));
224  gridLayout_2 = new QGridLayout(groupBoxOptional);
225  gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
226  gridLayout_2->setHorizontalSpacing(10);
227  gridLayout_2->setVerticalSpacing(6);
228  gridLayout_2->setContentsMargins(15, 15, -1, -1);
229  lineEditSenderAddress = new AddressField(groupBoxOptional);
230  lineEditSenderAddress->setObjectName(QStringLiteral("lineEditSenderAddress"));
231  lineEditSenderAddress->setMinimumSize(QSize(370, 0));
232 
233  gridLayout_2->addWidget(lineEditSenderAddress, 2, 1, 1, 4);
234 
235  labelSenderAddress = new QLabel(groupBoxOptional);
236  labelSenderAddress->setObjectName(QStringLiteral("labelSenderAddress"));
237  sizePolicy2.setHeightForWidth(labelSenderAddress->sizePolicy().hasHeightForWidth());
238  labelSenderAddress->setSizePolicy(sizePolicy2);
239  labelSenderAddress->setMinimumSize(QSize(130, 0));
240 
241  gridLayout_2->addWidget(labelSenderAddress, 2, 0, 1, 1);
242 
243  labelGasPrice = new QLabel(groupBoxOptional);
244  labelGasPrice->setObjectName(QStringLiteral("labelGasPrice"));
245  QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Preferred);
246  sizePolicy3.setHorizontalStretch(0);
247  sizePolicy3.setVerticalStretch(0);
248  sizePolicy3.setHeightForWidth(labelGasPrice->sizePolicy().hasHeightForWidth());
249  labelGasPrice->setSizePolicy(sizePolicy3);
250  labelGasPrice->setMinimumSize(QSize(90, 0));
251 
252  gridLayout_2->addWidget(labelGasPrice, 0, 3, 1, 1);
253 
254  labelGasLimit = new QLabel(groupBoxOptional);
255  labelGasLimit->setObjectName(QStringLiteral("labelGasLimit"));
256  sizePolicy2.setHeightForWidth(labelGasLimit->sizePolicy().hasHeightForWidth());
257  labelGasLimit->setSizePolicy(sizePolicy2);
258  labelGasLimit->setMinimumSize(QSize(130, 0));
259 
260  gridLayout_2->addWidget(labelGasLimit, 0, 0, 1, 1);
261 
262  lineEditGasLimit = new QSpinBox(groupBoxOptional);
263  lineEditGasLimit->setObjectName(QStringLiteral("lineEditGasLimit"));
264  sizePolicy1.setHeightForWidth(lineEditGasLimit->sizePolicy().hasHeightForWidth());
265  lineEditGasLimit->setSizePolicy(sizePolicy1);
266  lineEditGasLimit->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
267 
268  gridLayout_2->addWidget(lineEditGasLimit, 0, 1, 1, 1);
269 
270  lineEditGasPrice = new FabcoinAmountField(groupBoxOptional);
271  lineEditGasPrice->setObjectName(QStringLiteral("lineEditGasPrice"));
272 
273  gridLayout_2->addWidget(lineEditGasPrice, 0, 4, 1, 1);
274 
275  horizontalSpacer_5 = new QSpacerItem(60, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
276 
277  gridLayout_2->addItem(horizontalSpacer_5, 0, 2, 1, 1);
278 
279 
280  verticalLayout_8->addWidget(groupBoxOptional);
281 
282  stackedWidget->addWidget(createContractPage);
283 
284  verticalLayout_7->addWidget(stackedWidget);
285 
286  horizontalLayout_3 = new QHBoxLayout();
287  horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
288  horizontalLayout_3->setContentsMargins(9, 9, 9, 9);
289  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
290 
291  horizontalLayout_3->addItem(horizontalSpacer);
292 
293  pushButtonClearAll = new QPushButton(CreateContract);
294  pushButtonClearAll->setObjectName(QStringLiteral("pushButtonClearAll"));
295 
296  horizontalLayout_3->addWidget(pushButtonClearAll);
297 
298  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
299 
300  horizontalLayout_3->addItem(horizontalSpacer_3);
301 
302  pushButtonCreateContract = new QPushButton(CreateContract);
303  pushButtonCreateContract->setObjectName(QStringLiteral("pushButtonCreateContract"));
304 
305  horizontalLayout_3->addWidget(pushButtonCreateContract);
306 
307 
308  verticalLayout_7->addLayout(horizontalLayout_3);
309 
310 
311  retranslateUi(CreateContract);
312 
313  stackedWidget->setCurrentIndex(0);
314 
315 
316  QMetaObject::connectSlotsByName(CreateContract);
317  } // setupUi
318 
320  {
321  CreateContract->setWindowTitle(QApplication::translate("CreateContract", "Form", 0));
322  labelTitle->setText(QApplication::translate("CreateContract", "Create Smart Contract", 0));
323  labelSolidity->setText(QApplication::translate("CreateContract", "Solidity", 0));
324  labelToken->setText(QApplication::translate("CreateContract", "Token", 0));
325  labelBytecode->setText(QApplication::translate("CreateContract", "Bytecode", 0));
326  labelInterface->setText(QApplication::translate("CreateContract", "Interface (ABI)", 0));
327  groupBoxConstructor->setTitle(QApplication::translate("CreateContract", "Constructor", 0));
328  groupBoxOptional->setTitle(QApplication::translate("CreateContract", "Optional", 0));
329  labelSenderAddress->setText(QApplication::translate("CreateContract", "Sender Address", 0));
330  labelGasPrice->setText(QApplication::translate("CreateContract", "Gas Price", 0));
331  labelGasLimit->setText(QApplication::translate("CreateContract", "Gas Limit", 0));
332  pushButtonClearAll->setText(QApplication::translate("CreateContract", "Clear All", 0));
333  pushButtonCreateContract->setText(QApplication::translate("CreateContract", "Create Contract", 0));
334  } // retranslateUi
335 
336 };
337 
338 namespace Ui {
340 } // namespace Ui
341 
342 QT_END_NAMESPACE
343 
344 #endif // UI_CREATECONTRACT_H
Widget for entering fabcoin amounts.
QSpacerItem * horizontalSpacer_5
QVBoxLayout * verticalLayout
QHBoxLayout * horizontalLayout
QSpacerItem * horizontalSpacer_4
QPushButton * pushButtonCreateContract
void retranslateUi(QWidget *CreateContract)
Drop down list of addresses.
Definition: addressfield.h:15
QHBoxLayout * horizontalLayout_3
QSpacerItem * verticalSpacer
QGroupBox * groupBoxConstructor
void setupUi(QWidget *CreateContract)
QVBoxLayout * verticalLayout_2
QGridLayout * gridLayout_2
QWidget * scrollAreaWidgetContents
QGroupBox * groupBoxOptional
QStackedWidget * stackedWidget
QScrollArea * scrollAreaConstructor
QValidatedTextEdit * textEditInterface
QPushButton * pushButtonClearAll
QSpacerItem * horizontalSpacer_3
QSpacerItem * horizontalSpacer
QSpinBox * lineEditGasLimit
QVBoxLayout * verticalLayout_8
QValidatedTextEdit * textEditBytecode
QVBoxLayout * verticalLayout_7
QVBoxLayout * verticalLayout_3
QWidget * createContractPage
QGridLayout * gridLayout
QSpacerItem * verticalSpacer_2
QVBoxLayout * verticalLayout_5
QVBoxLayout * verticalLayout_10
AddressField * lineEditSenderAddress
FabcoinAmountField * lineEditGasPrice