Fabcoin Core  0.16.2
P2P Digital Currency
ui_callcontract.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'callcontract.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_CALLCONTRACT_H
10 #define UI_CALLCONTRACT_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/QStackedWidget>
26 #include <QtWidgets/QToolButton>
27 #include <QtWidgets/QVBoxLayout>
28 #include <QtWidgets/QWidget>
29 #include "addressfield.h"
30 #include "qvalidatedlineedit.h"
31 #include "qvalidatedtextedit.h"
32 
33 QT_BEGIN_NAMESPACE
34 
36 {
37 public:
38  QVBoxLayout *verticalLayout;
39  QStackedWidget *stackedWidget;
40  QWidget *callContractPage;
41  QVBoxLayout *verticalLayout_4;
42  QLabel *labelTitle;
43  QFrame *frameContract;
44  QVBoxLayout *verticalLayout_2;
45  QGridLayout *gridLayout;
48  QHBoxLayout *horizontalLayout_2;
50  QToolButton *loadInfoButton;
51  QFrame *vLine;
52  QToolButton *pasteAddressButton;
53  QFrame *vLine2;
54  QToolButton *saveInfoButton;
55  QLabel *labelInterface;
56  QGroupBox *groupBoxFunction;
57  QVBoxLayout *verticalLayout_3;
58  QScrollArea *scrollAreaFunction;
60  QGroupBox *groupBoxOptional;
61  QGridLayout *gridLayout_3;
64  QHBoxLayout *horizontalLayout;
65  QSpacerItem *horizontalSpacer;
66  QPushButton *pushButtonClearAll;
67  QSpacerItem *horizontalSpacer_3;
68  QPushButton *pushButtonCallContract;
69 
70  void setupUi(QWidget *CallContract)
71  {
72  if (CallContract->objectName().isEmpty())
73  CallContract->setObjectName(QStringLiteral("CallContract"));
74  CallContract->resize(690, 499);
75  verticalLayout = new QVBoxLayout(CallContract);
76  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
77  stackedWidget = new QStackedWidget(CallContract);
78  stackedWidget->setObjectName(QStringLiteral("stackedWidget"));
79  callContractPage = new QWidget();
80  callContractPage->setObjectName(QStringLiteral("callContractPage"));
81  verticalLayout_4 = new QVBoxLayout(callContractPage);
82  verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
83  verticalLayout_4->setContentsMargins(0, 0, 0, 0);
84  labelTitle = new QLabel(callContractPage);
85  labelTitle->setObjectName(QStringLiteral("labelTitle"));
86  QFont font;
87  font.setBold(true);
88  font.setWeight(75);
89  labelTitle->setFont(font);
90 
91  verticalLayout_4->addWidget(labelTitle);
92 
93  frameContract = new QFrame(callContractPage);
94  frameContract->setObjectName(QStringLiteral("frameContract"));
95  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
96  sizePolicy.setHorizontalStretch(0);
97  sizePolicy.setVerticalStretch(0);
98  sizePolicy.setHeightForWidth(frameContract->sizePolicy().hasHeightForWidth());
99  frameContract->setSizePolicy(sizePolicy);
100  frameContract->setFrameShape(QFrame::StyledPanel);
101  frameContract->setFrameShadow(QFrame::Raised);
102  verticalLayout_2 = new QVBoxLayout(frameContract);
103  verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
104  verticalLayout_2->setContentsMargins(0, -1, 0, -1);
105  gridLayout = new QGridLayout();
106  gridLayout->setObjectName(QStringLiteral("gridLayout"));
107  gridLayout->setHorizontalSpacing(15);
108  gridLayout->setVerticalSpacing(12);
109  gridLayout->setContentsMargins(12, -1, -1, -1);
110  labelContractAddress = new QLabel(frameContract);
111  labelContractAddress->setObjectName(QStringLiteral("labelContractAddress"));
112 
113  gridLayout->addWidget(labelContractAddress, 0, 0, 1, 1);
114 
115  textEditInterface = new QValidatedTextEdit(frameContract);
116  textEditInterface->setObjectName(QStringLiteral("textEditInterface"));
117  QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
118  sizePolicy1.setHorizontalStretch(0);
119  sizePolicy1.setVerticalStretch(0);
120  sizePolicy1.setHeightForWidth(textEditInterface->sizePolicy().hasHeightForWidth());
121  textEditInterface->setSizePolicy(sizePolicy1);
122  textEditInterface->setMaximumSize(QSize(16777215, 65));
123  textEditInterface->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
124 
125  gridLayout->addWidget(textEditInterface, 1, 2, 1, 1);
126 
127  horizontalLayout_2 = new QHBoxLayout();
128  horizontalLayout_2->setSpacing(5);
129  horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
130  lineEditContractAddress = new QValidatedLineEdit(frameContract);
131  lineEditContractAddress->setObjectName(QStringLiteral("lineEditContractAddress"));
132 
133  horizontalLayout_2->addWidget(lineEditContractAddress);
134 
135  loadInfoButton = new QToolButton(frameContract);
136  loadInfoButton->setObjectName(QStringLiteral("loadInfoButton"));
137  loadInfoButton->setIconSize(QSize(22, 22));
138 
139  horizontalLayout_2->addWidget(loadInfoButton);
140 
141  vLine = new QFrame(frameContract);
142  vLine->setObjectName(QStringLiteral("vLine"));
143  vLine->setMaximumSize(QSize(1, 22));
144  vLine->setFrameShape(QFrame::VLine);
145  vLine->setFrameShadow(QFrame::Sunken);
146 
147  horizontalLayout_2->addWidget(vLine);
148 
149  pasteAddressButton = new QToolButton(frameContract);
150  pasteAddressButton->setObjectName(QStringLiteral("pasteAddressButton"));
151  pasteAddressButton->setIconSize(QSize(22, 22));
152 
153  horizontalLayout_2->addWidget(pasteAddressButton);
154 
155  vLine2 = new QFrame(frameContract);
156  vLine2->setObjectName(QStringLiteral("vLine2"));
157  vLine2->setMaximumSize(QSize(1, 22));
158  vLine2->setFrameShape(QFrame::VLine);
159  vLine2->setFrameShadow(QFrame::Sunken);
160 
161  horizontalLayout_2->addWidget(vLine2);
162 
163  saveInfoButton = new QToolButton(frameContract);
164  saveInfoButton->setObjectName(QStringLiteral("saveInfoButton"));
165  saveInfoButton->setIconSize(QSize(22, 22));
166 
167  horizontalLayout_2->addWidget(saveInfoButton);
168 
169 
170  gridLayout->addLayout(horizontalLayout_2, 0, 2, 1, 1);
171 
172  labelInterface = new QLabel(frameContract);
173  labelInterface->setObjectName(QStringLiteral("labelInterface"));
174 
175  gridLayout->addWidget(labelInterface, 1, 0, 1, 1, Qt::AlignTop);
176 
177 
178  verticalLayout_2->addLayout(gridLayout);
179 
180 
181  verticalLayout_4->addWidget(frameContract);
182 
183  groupBoxFunction = new QGroupBox(callContractPage);
184  groupBoxFunction->setObjectName(QStringLiteral("groupBoxFunction"));
185  verticalLayout_3 = new QVBoxLayout(groupBoxFunction);
186  verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
187  verticalLayout_3->setContentsMargins(15, 15, -1, -1);
188  scrollAreaFunction = new QScrollArea(groupBoxFunction);
189  scrollAreaFunction->setObjectName(QStringLiteral("scrollAreaFunction"));
190  scrollAreaFunction->setWidgetResizable(true);
191  scrollAreaWidgetContents = new QWidget();
192  scrollAreaWidgetContents->setObjectName(QStringLiteral("scrollAreaWidgetContents"));
193  scrollAreaWidgetContents->setGeometry(QRect(0, 0, 640, 155));
194  scrollAreaFunction->setWidget(scrollAreaWidgetContents);
195 
196  verticalLayout_3->addWidget(scrollAreaFunction);
197 
198 
199  verticalLayout_4->addWidget(groupBoxFunction);
200 
201  groupBoxOptional = new QGroupBox(callContractPage);
202  groupBoxOptional->setObjectName(QStringLiteral("groupBoxOptional"));
203  gridLayout_3 = new QGridLayout(groupBoxOptional);
204  gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
205  gridLayout_3->setHorizontalSpacing(10);
206  gridLayout_3->setVerticalSpacing(6);
207  gridLayout_3->setContentsMargins(15, 15, -1, -1);
208  lineEditSenderAddress = new AddressField(groupBoxOptional);
209  lineEditSenderAddress->setObjectName(QStringLiteral("lineEditSenderAddress"));
210  lineEditSenderAddress->setMinimumSize(QSize(370, 0));
211 
212  gridLayout_3->addWidget(lineEditSenderAddress, 0, 1, 1, 1);
213 
214  labelSenderAddress = new QLabel(groupBoxOptional);
215  labelSenderAddress->setObjectName(QStringLiteral("labelSenderAddress"));
216  QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
217  sizePolicy2.setHorizontalStretch(0);
218  sizePolicy2.setVerticalStretch(0);
219  sizePolicy2.setHeightForWidth(labelSenderAddress->sizePolicy().hasHeightForWidth());
220  labelSenderAddress->setSizePolicy(sizePolicy2);
221  labelSenderAddress->setMinimumSize(QSize(160, 0));
222 
223  gridLayout_3->addWidget(labelSenderAddress, 0, 0, 1, 1);
224 
225 
226  verticalLayout_4->addWidget(groupBoxOptional);
227 
228  stackedWidget->addWidget(callContractPage);
229 
230  verticalLayout->addWidget(stackedWidget);
231 
232  horizontalLayout = new QHBoxLayout();
233  horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
234  horizontalLayout->setContentsMargins(9, 9, 9, 9);
235  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
236 
237  horizontalLayout->addItem(horizontalSpacer);
238 
239  pushButtonClearAll = new QPushButton(CallContract);
240  pushButtonClearAll->setObjectName(QStringLiteral("pushButtonClearAll"));
241 
242  horizontalLayout->addWidget(pushButtonClearAll);
243 
244  horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
245 
246  horizontalLayout->addItem(horizontalSpacer_3);
247 
248  pushButtonCallContract = new QPushButton(CallContract);
249  pushButtonCallContract->setObjectName(QStringLiteral("pushButtonCallContract"));
250 
251  horizontalLayout->addWidget(pushButtonCallContract);
252 
253 
254  verticalLayout->addLayout(horizontalLayout);
255 
256 
257  retranslateUi(CallContract);
258 
259  stackedWidget->setCurrentIndex(0);
260 
261 
262  QMetaObject::connectSlotsByName(CallContract);
263  } // setupUi
264 
266  {
267  CallContract->setWindowTitle(QApplication::translate("CallContract", "Form", 0));
268  labelTitle->setText(QApplication::translate("CallContract", "Call Smart Contract", 0));
269  labelContractAddress->setText(QApplication::translate("CallContract", "Contract Address", 0));
270 #ifndef QT_NO_TOOLTIP
271  loadInfoButton->setToolTip(QApplication::translate("CallContract", "Choose from contract book page", 0));
272 #endif // QT_NO_TOOLTIP
273  loadInfoButton->setText(QString());
274 #ifndef QT_NO_TOOLTIP
275  pasteAddressButton->setToolTip(QApplication::translate("CallContract", "Paste contract address from clipboard", 0));
276 #endif // QT_NO_TOOLTIP
277  pasteAddressButton->setText(QString());
278 #ifndef QT_NO_TOOLTIP
279  saveInfoButton->setToolTip(QApplication::translate("CallContract", "Save contract info", 0));
280 #endif // QT_NO_TOOLTIP
281  saveInfoButton->setText(QString());
282  labelInterface->setText(QApplication::translate("CallContract", "Interface (ABI)", 0));
283  groupBoxFunction->setTitle(QApplication::translate("CallContract", "Function", 0));
284  groupBoxOptional->setTitle(QApplication::translate("CallContract", "Optional", 0));
285  labelSenderAddress->setText(QApplication::translate("CallContract", "Sender Address", 0));
286  pushButtonClearAll->setText(QApplication::translate("CallContract", "Clear All", 0));
287  pushButtonCallContract->setText(QApplication::translate("CallContract", "Call Contract", 0));
288  } // retranslateUi
289 
290 };
291 
292 namespace Ui {
293  class CallContract: public Ui_CallContract {};
294 } // namespace Ui
295 
296 QT_END_NAMESPACE
297 
298 #endif // UI_CALLCONTRACT_H
QGroupBox * groupBoxFunction
QLabel * labelContractAddress
QToolButton * pasteAddressButton
void setupUi(QWidget *CallContract)
QToolButton * loadInfoButton
QVBoxLayout * verticalLayout_4
QHBoxLayout * horizontalLayout
QFrame * frameContract
Drop down list of addresses.
Definition: addressfield.h:15
QValidatedLineEdit * lineEditContractAddress
QWidget * callContractPage
QVBoxLayout * verticalLayout
QLabel * labelSenderAddress
Line edit that can be marked as "invalid" to show input validation feedback.
QPushButton * pushButtonClearAll
QScrollArea * scrollAreaFunction
void retranslateUi(QWidget *CallContract)
QSpacerItem * horizontalSpacer
QHBoxLayout * horizontalLayout_2
QStackedWidget * stackedWidget
AddressField * lineEditSenderAddress
QVBoxLayout * verticalLayout_2
QVBoxLayout * verticalLayout_3
QToolButton * saveInfoButton
QGridLayout * gridLayout
QGroupBox * groupBoxOptional
QLabel * labelInterface
QPushButton * pushButtonCallContract
QWidget * scrollAreaWidgetContents
QValidatedTextEdit * textEditInterface
QSpacerItem * horizontalSpacer_3
QGridLayout * gridLayout_3