8 #ifndef UI_LOOKUPADDRESSDIALOG_H
9 #define UI_LOOKUPADDRESSDIALOG_H
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QFormLayout>
16 #include <QtGui/QFrame>
17 #include <QtGui/QHBoxLayout>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QLabel>
20 #include <QtGui/QLineEdit>
21 #include <QtGui/QPushButton>
22 #include <QtGui/QSpacerItem>
23 #include <QtGui/QVBoxLayout>
24 #include <QtGui/QWidget>
88 if (LookupAddressDialog->objectName().isEmpty())
89 LookupAddressDialog->setObjectName(QString::fromUtf8(
"LookupAddressDialog"));
90 LookupAddressDialog->resize(664, 474);
91 topLayout =
new QVBoxLayout(LookupAddressDialog);
92 topLayout->setObjectName(QString::fromUtf8(
"topLayout"));
93 labelAlerts =
new QLabel(LookupAddressDialog);
94 labelAlerts->setObjectName(QString::fromUtf8(
"labelAlerts"));
95 labelAlerts->setVisible(
false);
96 labelAlerts->setStyleSheet(QString::fromUtf8(
"background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000;"));
97 labelAlerts->setWordWrap(
true);
98 labelAlerts->setMargin(3);
100 topLayout->addWidget(labelAlerts);
102 horizontalLayout_12 =
new QHBoxLayout();
103 horizontalLayout_12->setObjectName(QString::fromUtf8(
"horizontalLayout_12"));
104 horizontalLayout_12->setContentsMargins(-1, 0, -1, -1);
105 searchLabel =
new QLabel(LookupAddressDialog);
106 searchLabel->setObjectName(QString::fromUtf8(
"searchLabel"));
107 searchLabel->setEnabled(
true);
108 searchLabel->setMinimumSize(QSize(0, 0));
109 searchLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
110 searchLabel->setMargin(8);
112 horizontalLayout_12->addWidget(searchLabel);
114 searchLineEdit =
new QLineEdit(LookupAddressDialog);
115 searchLineEdit->setObjectName(QString::fromUtf8(
"searchLineEdit"));
117 horizontalLayout_12->addWidget(searchLineEdit);
119 searchButton =
new QPushButton(LookupAddressDialog);
120 searchButton->setObjectName(QString::fromUtf8(
"searchButton"));
122 horizontalLayout_12->addWidget(searchButton);
124 horizontalSpacer_3 =
new QSpacerItem(6, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
126 horizontalLayout_12->addItem(horizontalSpacer_3);
129 topLayout->addLayout(horizontalLayout_12);
131 horizontalLayout =
new QHBoxLayout();
132 horizontalLayout->setObjectName(QString::fromUtf8(
"horizontalLayout"));
133 verticalLayout_2 =
new QVBoxLayout();
134 verticalLayout_2->setObjectName(QString::fromUtf8(
"verticalLayout_2"));
135 frame =
new QFrame(LookupAddressDialog);
136 frame->setObjectName(QString::fromUtf8(
"frame"));
137 frame->setFrameShape(QFrame::StyledPanel);
138 frame->setFrameShadow(QFrame::Raised);
139 verticalLayout_4 =
new QVBoxLayout(frame);
140 verticalLayout_4->setObjectName(QString::fromUtf8(
"verticalLayout_4"));
141 horizontalLayout_7 =
new QHBoxLayout();
142 horizontalLayout_7->setObjectName(QString::fromUtf8(
"horizontalLayout_7"));
143 horizontalLayout_9 =
new QHBoxLayout();
144 horizontalLayout_9->setObjectName(QString::fromUtf8(
"horizontalLayout_9"));
145 addressInfo =
new QLabel(frame);
146 addressInfo->setObjectName(QString::fromUtf8(
"addressInfo"));
150 addressInfo->setFont(font);
152 horizontalLayout_9->addWidget(addressInfo);
155 horizontalLayout_7->addLayout(horizontalLayout_9);
157 horizontalSpacer_6 =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
159 horizontalLayout_7->addItem(horizontalSpacer_6);
162 verticalLayout_4->addLayout(horizontalLayout_7);
164 horizontalLayout_2 =
new QHBoxLayout();
165 horizontalLayout_2->setObjectName(QString::fromUtf8(
"horizontalLayout_2"));
166 horizontalLayout_2->setContentsMargins(-1, 0, -1, -1);
167 QRCode =
new QLabel(frame);
168 QRCode->setObjectName(QString::fromUtf8(
"QRCode"));
169 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
170 sizePolicy.setHorizontalStretch(0);
171 sizePolicy.setVerticalStretch(0);
172 sizePolicy.setHeightForWidth(QRCode->sizePolicy().hasHeightForWidth());
173 QRCode->setSizePolicy(sizePolicy);
174 QRCode->setMinimumSize(QSize(96, 96));
176 horizontalLayout_2->addWidget(QRCode);
178 addressInfoLayout =
new QFormLayout();
179 addressInfoLayout->setObjectName(QString::fromUtf8(
"addressInfoLayout"));
180 addressInfoLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
181 addressInfoLayout->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
182 addressInfoLayout->setContentsMargins(-1, 0, -1, -1);
183 address =
new QLabel(frame);
184 address->setObjectName(QString::fromUtf8(
"address"));
186 addressInfoLayout->setWidget(0, QFormLayout::LabelRole, address);
188 addressLabel =
new QLabel(frame);
189 addressLabel->setObjectName(QString::fromUtf8(
"addressLabel"));
190 addressLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
192 addressInfoLayout->setWidget(0, QFormLayout::FieldRole, addressLabel);
194 addressType =
new QLabel(frame);
195 addressType->setObjectName(QString::fromUtf8(
"addressType"));
197 addressInfoLayout->setWidget(1, QFormLayout::LabelRole, addressType);
199 addressTypeLabel =
new QLabel(frame);
200 addressTypeLabel->setObjectName(QString::fromUtf8(
"addressTypeLabel"));
202 font1.setBold(
false);
204 addressTypeLabel->setFont(font1);
205 addressTypeLabel->setStyleSheet(QString::fromUtf8(
""));
206 addressTypeLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
208 addressInfoLayout->setWidget(1, QFormLayout::FieldRole, addressTypeLabel);
210 isMineLabel =
new QLabel(frame);
211 isMineLabel->setObjectName(QString::fromUtf8(
"isMineLabel"));
212 isMineLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
214 addressInfoLayout->setWidget(2, QFormLayout::FieldRole, isMineLabel);
216 label =
new QLabel(frame);
217 label->setObjectName(QString::fromUtf8(
"label"));
219 addressInfoLayout->setWidget(2, QFormLayout::LabelRole, label);
221 balance =
new QLabel(frame);
222 balance->setObjectName(QString::fromUtf8(
"balance"));
224 addressInfoLayout->setWidget(3, QFormLayout::LabelRole, balance);
226 balanceLabel =
new QLabel(frame);
227 balanceLabel->setObjectName(QString::fromUtf8(
"balanceLabel"));
228 balanceLabel->setFont(font);
229 balanceLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
231 addressInfoLayout->setWidget(3, QFormLayout::FieldRole, balanceLabel);
234 horizontalLayout_2->addLayout(addressInfoLayout);
237 verticalLayout_4->addLayout(horizontalLayout_2);
239 verticalLayout_6 =
new QVBoxLayout();
240 verticalLayout_6->setObjectName(QString::fromUtf8(
"verticalLayout_6"));
241 verticalLayout_6->setContentsMargins(-1, 0, -1, -1);
243 verticalLayout_4->addLayout(verticalLayout_6);
245 verticalSpacer_2 =
new QSpacerItem(20, 12, QSizePolicy::Minimum, QSizePolicy::Fixed);
247 verticalLayout_4->addItem(verticalSpacer_2);
249 tokenHLayout =
new QHBoxLayout();
250 tokenHLayout->setObjectName(QString::fromUtf8(
"tokenHLayout"));
251 balanceInfo =
new QLabel(frame);
252 balanceInfo->setObjectName(QString::fromUtf8(
"balanceInfo"));
254 tokenHLayout->addWidget(balanceInfo);
256 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
258 tokenHLayout->addItem(horizontalSpacer);
261 verticalLayout_4->addLayout(tokenHLayout);
263 tokenForm =
new QFormLayout();
264 tokenForm->setObjectName(QString::fromUtf8(
"tokenForm"));
265 tokenForm->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
266 tokenForm->setVerticalSpacing(6);
267 property1 =
new QLabel(frame);
268 property1->setObjectName(QString::fromUtf8(
"property1"));
270 tokenForm->setWidget(0, QFormLayout::LabelRole, property1);
272 propertyLabel1 =
new QLabel(frame);
273 propertyLabel1->setObjectName(QString::fromUtf8(
"propertyLabel1"));
274 propertyLabel1->setFont(font);
275 propertyLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
277 tokenForm->setWidget(0, QFormLayout::FieldRole, propertyLabel1);
279 property2 =
new QLabel(frame);
280 property2->setObjectName(QString::fromUtf8(
"property2"));
282 tokenForm->setWidget(1, QFormLayout::LabelRole, property2);
284 propertyLabel2 =
new QLabel(frame);
285 propertyLabel2->setObjectName(QString::fromUtf8(
"propertyLabel2"));
286 propertyLabel2->setFont(font);
287 propertyLabel2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
289 tokenForm->setWidget(1, QFormLayout::FieldRole, propertyLabel2);
291 property3 =
new QLabel(frame);
292 property3->setObjectName(QString::fromUtf8(
"property3"));
294 tokenForm->setWidget(2, QFormLayout::LabelRole, property3);
296 propertyLabel3 =
new QLabel(frame);
297 propertyLabel3->setObjectName(QString::fromUtf8(
"propertyLabel3"));
298 propertyLabel3->setFont(font);
299 propertyLabel3->setLayoutDirection(Qt::LeftToRight);
300 propertyLabel3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
302 tokenForm->setWidget(2, QFormLayout::FieldRole, propertyLabel3);
304 property4 =
new QLabel(frame);
305 property4->setObjectName(QString::fromUtf8(
"property4"));
307 tokenForm->setWidget(3, QFormLayout::LabelRole, property4);
309 propertyLabel4 =
new QLabel(frame);
310 propertyLabel4->setObjectName(QString::fromUtf8(
"propertyLabel4"));
311 propertyLabel4->setFont(font);
312 propertyLabel4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
314 tokenForm->setWidget(3, QFormLayout::FieldRole, propertyLabel4);
316 property5 =
new QLabel(frame);
317 property5->setObjectName(QString::fromUtf8(
"property5"));
319 tokenForm->setWidget(4, QFormLayout::LabelRole, property5);
321 propertyLabel5 =
new QLabel(frame);
322 propertyLabel5->setObjectName(QString::fromUtf8(
"propertyLabel5"));
323 propertyLabel5->setFont(font);
324 propertyLabel5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
326 tokenForm->setWidget(4, QFormLayout::FieldRole, propertyLabel5);
328 property6 =
new QLabel(frame);
329 property6->setObjectName(QString::fromUtf8(
"property6"));
331 tokenForm->setWidget(5, QFormLayout::LabelRole, property6);
333 propertyLabel6 =
new QLabel(frame);
334 propertyLabel6->setObjectName(QString::fromUtf8(
"propertyLabel6"));
335 propertyLabel6->setFont(font);
336 propertyLabel6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
338 tokenForm->setWidget(5, QFormLayout::FieldRole, propertyLabel6);
340 property7 =
new QLabel(frame);
341 property7->setObjectName(QString::fromUtf8(
"property7"));
343 tokenForm->setWidget(6, QFormLayout::LabelRole, property7);
345 propertyLabel7 =
new QLabel(frame);
346 propertyLabel7->setObjectName(QString::fromUtf8(
"propertyLabel7"));
347 propertyLabel7->setFont(font);
348 propertyLabel7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
350 tokenForm->setWidget(6, QFormLayout::FieldRole, propertyLabel7);
352 property8 =
new QLabel(frame);
353 property8->setObjectName(QString::fromUtf8(
"property8"));
355 tokenForm->setWidget(7, QFormLayout::LabelRole, property8);
357 propertyLabel8 =
new QLabel(frame);
358 propertyLabel8->setObjectName(QString::fromUtf8(
"propertyLabel8"));
359 propertyLabel8->setFont(font);
360 propertyLabel8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
362 tokenForm->setWidget(7, QFormLayout::FieldRole, propertyLabel8);
364 property9 =
new QLabel(frame);
365 property9->setObjectName(QString::fromUtf8(
"property9"));
367 tokenForm->setWidget(8, QFormLayout::LabelRole, property9);
369 propertyLabel9 =
new QLabel(frame);
370 propertyLabel9->setObjectName(QString::fromUtf8(
"propertyLabel9"));
371 propertyLabel9->setFont(font);
372 propertyLabel9->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
374 tokenForm->setWidget(8, QFormLayout::FieldRole, propertyLabel9);
376 property10 =
new QLabel(frame);
377 property10->setObjectName(QString::fromUtf8(
"property10"));
379 tokenForm->setWidget(9, QFormLayout::LabelRole, property10);
381 propertyLabel10 =
new QLabel(frame);
382 propertyLabel10->setObjectName(QString::fromUtf8(
"propertyLabel10"));
383 propertyLabel10->setFont(font);
384 propertyLabel10->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
386 tokenForm->setWidget(9, QFormLayout::FieldRole, propertyLabel10);
388 onlyLabel =
new QLabel(frame);
389 onlyLabel->setObjectName(QString::fromUtf8(
"onlyLabel"));
390 onlyLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
392 tokenForm->setWidget(10, QFormLayout::FieldRole, onlyLabel);
395 verticalLayout_4->addLayout(tokenForm);
398 verticalLayout_2->addWidget(frame);
400 verticalSpacer =
new QSpacerItem(20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding);
402 verticalLayout_2->addItem(verticalSpacer);
405 horizontalLayout->addLayout(verticalLayout_2);
407 horizontalLayout->setStretch(0, 1);
409 topLayout->addLayout(horizontalLayout);
414 QMetaObject::connectSlotsByName(LookupAddressDialog);
419 LookupAddressDialog->setWindowTitle(QApplication::translate(
"LookupAddressDialog",
"Form", 0, QApplication::UnicodeUTF8));
420 searchLabel->setText(QApplication::translate(
"LookupAddressDialog",
"Search Address:", 0, QApplication::UnicodeUTF8));
421 searchButton->setText(QApplication::translate(
"LookupAddressDialog",
"Search", 0, QApplication::UnicodeUTF8));
422 addressInfo->setText(QApplication::translate(
"LookupAddressDialog",
"Address Information", 0, QApplication::UnicodeUTF8));
423 QRCode->setText(QApplication::translate(
"LookupAddressDialog",
"QRCode", 0, QApplication::UnicodeUTF8));
424 address->setText(QApplication::translate(
"LookupAddressDialog",
"Address:", 0, QApplication::UnicodeUTF8));
425 addressLabel->setText(QApplication::translate(
"LookupAddressDialog",
"N/A", 0, QApplication::UnicodeUTF8));
426 addressType->setText(QApplication::translate(
"LookupAddressDialog",
"Type:", 0, QApplication::UnicodeUTF8));
427 addressTypeLabel->setText(QApplication::translate(
"LookupAddressDialog",
"N/A", 0, QApplication::UnicodeUTF8));
428 isMineLabel->setText(QApplication::translate(
"LookupAddressDialog",
"N/A", 0, QApplication::UnicodeUTF8));
429 label->setText(QApplication::translate(
"LookupAddressDialog",
"In Wallet:", 0, QApplication::UnicodeUTF8));
430 balance->setText(QApplication::translate(
"LookupAddressDialog",
"Balance:", 0, QApplication::UnicodeUTF8));
431 balanceLabel->setText(QApplication::translate(
"LookupAddressDialog",
"N/A", 0, QApplication::UnicodeUTF8));
432 balanceInfo->setText(QApplication::translate(
"LookupAddressDialog",
"<b>Balance Information</b>", 0, QApplication::UnicodeUTF8));
433 property1->setText(QApplication::translate(
"LookupAddressDialog",
"Property1:", 0, QApplication::UnicodeUTF8));
434 propertyLabel1->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
435 property2->setText(QApplication::translate(
"LookupAddressDialog",
"Property2:", 0, QApplication::UnicodeUTF8));
436 propertyLabel2->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
437 property3->setText(QApplication::translate(
"LookupAddressDialog",
"Property3:", 0, QApplication::UnicodeUTF8));
438 propertyLabel3->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
439 property4->setText(QApplication::translate(
"LookupAddressDialog",
"Property4:", 0, QApplication::UnicodeUTF8));
440 propertyLabel4->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
441 property5->setText(QApplication::translate(
"LookupAddressDialog",
"Property5:", 0, QApplication::UnicodeUTF8));
442 propertyLabel5->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
443 property6->setText(QApplication::translate(
"LookupAddressDialog",
"Property6:", 0, QApplication::UnicodeUTF8));
444 propertyLabel6->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
445 property7->setText(QApplication::translate(
"LookupAddressDialog",
"Property7:", 0, QApplication::UnicodeUTF8));
446 propertyLabel7->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
447 property8->setText(QApplication::translate(
"LookupAddressDialog",
"Property8:", 0, QApplication::UnicodeUTF8));
448 propertyLabel8->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
449 property9->setText(QApplication::translate(
"LookupAddressDialog",
"Property9:", 0, QApplication::UnicodeUTF8));
450 propertyLabel9->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
451 property10->setText(QApplication::translate(
"LookupAddressDialog",
"Property10:", 0, QApplication::UnicodeUTF8));
452 propertyLabel10->setText(QApplication::translate(
"LookupAddressDialog",
"0.00 SPT", 0, QApplication::UnicodeUTF8));
453 onlyLabel->setText(QApplication::translate(
"LookupAddressDialog",
"*Only first 10 properties shown", 0, QApplication::UnicodeUTF8));
464 #endif // UI_LOOKUPADDRESSDIALOG_H
QHBoxLayout * horizontalLayout_9
QSpacerItem * verticalSpacer
QHBoxLayout * tokenHLayout
QHBoxLayout * horizontalLayout_12
QLabel * addressTypeLabel
QPushButton * searchButton
QSpacerItem * horizontalSpacer_3
QVBoxLayout * verticalLayout_4
void retranslateUi(QWidget *LookupAddressDialog)
QVBoxLayout * verticalLayout_2
QVBoxLayout * verticalLayout_6
void setupUi(QWidget *LookupAddressDialog)
QSpacerItem * verticalSpacer_2
QLineEdit * searchLineEdit
QFormLayout * addressInfoLayout
QSpacerItem * horizontalSpacer
QHBoxLayout * horizontalLayout_2
QSpacerItem * horizontalSpacer_6
QHBoxLayout * horizontalLayout_7
QHBoxLayout * horizontalLayout