9 #ifndef UI_CONTRACTRESULT_H 10 #define UI_CONTRACTRESULT_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QGridLayout> 17 #include <QtWidgets/QGroupBox> 18 #include <QtWidgets/QHeaderView> 19 #include <QtWidgets/QLabel> 20 #include <QtWidgets/QLineEdit> 21 #include <QtWidgets/QScrollArea> 22 #include <QtWidgets/QSpacerItem> 23 #include <QtWidgets/QStackedWidget> 24 #include <QtWidgets/QVBoxLayout> 25 #include <QtWidgets/QWidget> 66 if (ContractResult->objectName().isEmpty())
67 ContractResult->setObjectName(QStringLiteral(
"ContractResult"));
68 ContractResult->resize(941, 503);
69 ContractResult->setStyleSheet(QLatin1String(
"QLineEdit{\n" 71 "background: transparent;\n" 73 pageCreateOrSendToResult =
new QWidget();
74 pageCreateOrSendToResult->setObjectName(QStringLiteral(
"pageCreateOrSendToResult"));
75 verticalLayout_3 =
new QVBoxLayout(pageCreateOrSendToResult);
76 verticalLayout_3->setObjectName(QStringLiteral(
"verticalLayout_3"));
77 groupBoxCreateOrSendTo =
new QGroupBox(pageCreateOrSendToResult);
78 groupBoxCreateOrSendTo->setObjectName(QStringLiteral(
"groupBoxCreateOrSendTo"));
79 gridLayout_2 =
new QGridLayout(groupBoxCreateOrSendTo);
80 gridLayout_2->setObjectName(QStringLiteral(
"gridLayout_2"));
81 gridLayout_2->setHorizontalSpacing(10);
82 gridLayout_2->setVerticalSpacing(6);
83 gridLayout_2->setContentsMargins(15, 15, -1, -1);
84 lineEditTxID =
new QLineEdit(groupBoxCreateOrSendTo);
85 lineEditTxID->setObjectName(QStringLiteral(
"lineEditTxID"));
86 lineEditTxID->setMinimumSize(QSize(370, 0));
87 lineEditTxID->setReadOnly(
true);
89 gridLayout_2->addWidget(lineEditTxID, 0, 1, 1, 1);
91 labelContractAddress =
new QLabel(groupBoxCreateOrSendTo);
92 labelContractAddress->setObjectName(QStringLiteral(
"labelContractAddress"));
93 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
94 sizePolicy.setHorizontalStretch(0);
95 sizePolicy.setVerticalStretch(0);
96 sizePolicy.setHeightForWidth(labelContractAddress->sizePolicy().hasHeightForWidth());
97 labelContractAddress->setSizePolicy(sizePolicy);
98 labelContractAddress->setMinimumSize(QSize(160, 0));
100 gridLayout_2->addWidget(labelContractAddress, 3, 0, 1, 1);
102 labelHash160 =
new QLabel(groupBoxCreateOrSendTo);
103 labelHash160->setObjectName(QStringLiteral(
"labelHash160"));
104 sizePolicy.setHeightForWidth(labelHash160->sizePolicy().hasHeightForWidth());
105 labelHash160->setSizePolicy(sizePolicy);
106 labelHash160->setMinimumSize(QSize(160, 0));
108 gridLayout_2->addWidget(labelHash160, 2, 0, 1, 1);
110 lineEditContractAddress =
new QLineEdit(groupBoxCreateOrSendTo);
111 lineEditContractAddress->setObjectName(QStringLiteral(
"lineEditContractAddress"));
112 lineEditContractAddress->setEnabled(
true);
113 lineEditContractAddress->setMinimumSize(QSize(370, 0));
114 lineEditContractAddress->setReadOnly(
true);
116 gridLayout_2->addWidget(lineEditContractAddress, 3, 1, 1, 1);
118 labelSenderAddress =
new QLabel(groupBoxCreateOrSendTo);
119 labelSenderAddress->setObjectName(QStringLiteral(
"labelSenderAddress"));
120 sizePolicy.setHeightForWidth(labelSenderAddress->sizePolicy().hasHeightForWidth());
121 labelSenderAddress->setSizePolicy(sizePolicy);
122 labelSenderAddress->setMinimumSize(QSize(160, 0));
124 gridLayout_2->addWidget(labelSenderAddress, 1, 0, 1, 1);
126 lineEditHash160 =
new QLineEdit(groupBoxCreateOrSendTo);
127 lineEditHash160->setObjectName(QStringLiteral(
"lineEditHash160"));
128 lineEditHash160->setMinimumSize(QSize(370, 0));
129 lineEditHash160->setReadOnly(
true);
131 gridLayout_2->addWidget(lineEditHash160, 2, 1, 1, 1);
133 lineEditSenderAddress =
new QLineEdit(groupBoxCreateOrSendTo);
134 lineEditSenderAddress->setObjectName(QStringLiteral(
"lineEditSenderAddress"));
135 lineEditSenderAddress->setEnabled(
true);
136 lineEditSenderAddress->setMinimumSize(QSize(370, 0));
137 lineEditSenderAddress->setReadOnly(
true);
139 gridLayout_2->addWidget(lineEditSenderAddress, 1, 1, 1, 1);
141 labelTxID =
new QLabel(groupBoxCreateOrSendTo);
142 labelTxID->setObjectName(QStringLiteral(
"labelTxID"));
143 sizePolicy.setHeightForWidth(labelTxID->sizePolicy().hasHeightForWidth());
144 labelTxID->setSizePolicy(sizePolicy);
145 labelTxID->setMinimumSize(QSize(160, 0));
147 gridLayout_2->addWidget(labelTxID, 0, 0, 1, 1);
150 verticalLayout_3->addWidget(groupBoxCreateOrSendTo);
152 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
154 verticalLayout_3->addItem(verticalSpacer);
156 ContractResult->addWidget(pageCreateOrSendToResult);
157 pageCallResult =
new QWidget();
158 pageCallResult->setObjectName(QStringLiteral(
"pageCallResult"));
159 verticalLayout =
new QVBoxLayout(pageCallResult);
160 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
161 groupBoxCallContract =
new QGroupBox(pageCallResult);
162 groupBoxCallContract->setObjectName(QStringLiteral(
"groupBoxCallContract"));
163 groupBoxCallContract->setStyleSheet(QStringLiteral(
""));
164 gridLayout =
new QGridLayout(groupBoxCallContract);
165 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
166 gridLayout->setHorizontalSpacing(10);
167 gridLayout->setVerticalSpacing(6);
168 gridLayout->setContentsMargins(15, 15, -1, -1);
169 labelCallContractAddress =
new QLabel(groupBoxCallContract);
170 labelCallContractAddress->setObjectName(QStringLiteral(
"labelCallContractAddress"));
171 sizePolicy.setHeightForWidth(labelCallContractAddress->sizePolicy().hasHeightForWidth());
172 labelCallContractAddress->setSizePolicy(sizePolicy);
173 labelCallContractAddress->setMinimumSize(QSize(160, 0));
175 gridLayout->addWidget(labelCallContractAddress, 0, 0, 1, 1);
177 lineEditCallContractAddress =
new QLineEdit(groupBoxCallContract);
178 lineEditCallContractAddress->setObjectName(QStringLiteral(
"lineEditCallContractAddress"));
179 lineEditCallContractAddress->setEnabled(
true);
180 lineEditCallContractAddress->setMinimumSize(QSize(370, 0));
181 lineEditCallContractAddress->setReadOnly(
true);
183 gridLayout->addWidget(lineEditCallContractAddress, 0, 1, 1, 1);
185 scrollAreaParams =
new QScrollArea(groupBoxCallContract);
186 scrollAreaParams->setObjectName(QStringLiteral(
"scrollAreaParams"));
187 QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Minimum);
188 sizePolicy1.setHorizontalStretch(0);
189 sizePolicy1.setVerticalStretch(0);
190 sizePolicy1.setHeightForWidth(scrollAreaParams->sizePolicy().hasHeightForWidth());
191 scrollAreaParams->setSizePolicy(sizePolicy1);
192 scrollAreaParams->setStyleSheet(QStringLiteral(
""));
193 scrollAreaParams->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
194 scrollAreaParams->setWidgetResizable(
true);
195 scrollAreaWidgetContents =
new QWidget();
196 scrollAreaWidgetContents->setObjectName(QStringLiteral(
"scrollAreaWidgetContents"));
197 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 889, 73));
198 verticalLayout_4 =
new QVBoxLayout(scrollAreaWidgetContents);
199 verticalLayout_4->setObjectName(QStringLiteral(
"verticalLayout_4"));
200 scrollAreaParams->setWidget(scrollAreaWidgetContents);
202 gridLayout->addWidget(scrollAreaParams, 2, 0, 1, 2);
204 labelFunction =
new QLabel(groupBoxCallContract);
205 labelFunction->setObjectName(QStringLiteral(
"labelFunction"));
206 sizePolicy.setHeightForWidth(labelFunction->sizePolicy().hasHeightForWidth());
207 labelFunction->setSizePolicy(sizePolicy);
208 labelFunction->setMinimumSize(QSize(160, 0));
210 gridLayout->addWidget(labelFunction, 1, 0, 1, 1);
212 lineEditFunction =
new QLineEdit(groupBoxCallContract);
213 lineEditFunction->setObjectName(QStringLiteral(
"lineEditFunction"));
214 lineEditFunction->setEnabled(
true);
215 lineEditFunction->setMinimumSize(QSize(370, 0));
216 lineEditFunction->setReadOnly(
true);
218 gridLayout->addWidget(lineEditFunction, 1, 1, 1, 1);
220 lineEditCallSenderAddress =
new QLineEdit(groupBoxCallContract);
221 lineEditCallSenderAddress->setObjectName(QStringLiteral(
"lineEditCallSenderAddress"));
222 lineEditCallSenderAddress->setEnabled(
true);
223 lineEditCallSenderAddress->setMinimumSize(QSize(370, 0));
224 lineEditCallSenderAddress->setReadOnly(
true);
226 gridLayout->addWidget(lineEditCallSenderAddress, 3, 1, 1, 1);
228 labelCallSenderAddress =
new QLabel(groupBoxCallContract);
229 labelCallSenderAddress->setObjectName(QStringLiteral(
"labelCallSenderAddress"));
230 sizePolicy.setHeightForWidth(labelCallSenderAddress->sizePolicy().hasHeightForWidth());
231 labelCallSenderAddress->setSizePolicy(sizePolicy);
232 labelCallSenderAddress->setMinimumSize(QSize(160, 0));
234 gridLayout->addWidget(labelCallSenderAddress, 3, 0, 1, 1);
237 verticalLayout->addWidget(groupBoxCallContract);
239 groupBoxResult =
new QGroupBox(pageCallResult);
240 groupBoxResult->setObjectName(QStringLiteral(
"groupBoxResult"));
241 verticalLayout_2 =
new QVBoxLayout(groupBoxResult);
242 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
243 verticalLayout_2->setContentsMargins(15, 15, 9, -1);
244 scrollAreaResult =
new QScrollArea(groupBoxResult);
245 scrollAreaResult->setObjectName(QStringLiteral(
"scrollAreaResult"));
246 sizePolicy1.setHeightForWidth(scrollAreaResult->sizePolicy().hasHeightForWidth());
247 scrollAreaResult->setSizePolicy(sizePolicy1);
248 scrollAreaResult->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
249 scrollAreaResult->setWidgetResizable(
true);
250 scrollAreaWidgetContents_2 =
new QWidget();
251 scrollAreaWidgetContents_2->setObjectName(QStringLiteral(
"scrollAreaWidgetContents_2"));
252 scrollAreaWidgetContents_2->setGeometry(QRect(0, 0, 889, 73));
253 scrollAreaResult->setWidget(scrollAreaWidgetContents_2);
255 verticalLayout_2->addWidget(scrollAreaResult);
258 verticalLayout->addWidget(groupBoxResult);
260 verticalSpacer_4 =
new QSpacerItem(20, 60, QSizePolicy::Minimum, QSizePolicy::Expanding);
262 verticalLayout->addItem(verticalSpacer_4);
264 ContractResult->addWidget(pageCallResult);
268 ContractResult->setCurrentIndex(1);
271 QMetaObject::connectSlotsByName(ContractResult);
276 ContractResult->setWindowTitle(QApplication::translate(
"ContractResult",
"StackedWidget", 0));
277 groupBoxCreateOrSendTo->setTitle(QApplication::translate(
"ContractResult",
"Contract Summary", 0));
278 labelContractAddress->setText(QApplication::translate(
"ContractResult",
"ContractAddress", 0));
279 labelHash160->setText(QApplication::translate(
"ContractResult",
"Hash160", 0));
280 labelSenderAddress->setText(QApplication::translate(
"ContractResult",
"SenderAddress", 0));
281 labelTxID->setText(QApplication::translate(
"ContractResult",
"Transaction ID", 0));
282 groupBoxCallContract->setTitle(QApplication::translate(
"ContractResult",
"Contract Summary", 0));
283 labelCallContractAddress->setText(QApplication::translate(
"ContractResult",
"ContractAddress", 0));
284 labelFunction->setText(QApplication::translate(
"ContractResult",
"Function", 0));
285 labelCallSenderAddress->setText(QApplication::translate(
"ContractResult",
"SenderAddress", 0));
286 groupBoxResult->setTitle(QApplication::translate(
"ContractResult",
"Result", 0));
297 #endif // UI_CONTRACTRESULT_H QLabel * labelContractAddress
QLineEdit * lineEditCallSenderAddress
QLabel * labelCallSenderAddress
QVBoxLayout * verticalLayout
QScrollArea * scrollAreaResult
QLineEdit * lineEditSenderAddress
QSpacerItem * verticalSpacer_4
QGroupBox * groupBoxCallContract
QScrollArea * scrollAreaParams
QVBoxLayout * verticalLayout_3
QVBoxLayout * verticalLayout_2
QSpacerItem * verticalSpacer
void retranslateUi(QStackedWidget *ContractResult)
QLineEdit * lineEditContractAddress
QGroupBox * groupBoxCreateOrSendTo
QLabel * labelCallContractAddress
QLabel * labelSenderAddress
QGridLayout * gridLayout_2
QWidget * scrollAreaWidgetContents
QWidget * scrollAreaWidgetContents_2
QLineEdit * lineEditHash160
QLineEdit * lineEditFunction
QVBoxLayout * verticalLayout_4
QWidget * pageCreateOrSendToResult
QLineEdit * lineEditCallContractAddress
QGroupBox * groupBoxResult
void setupUi(QStackedWidget *ContractResult)