9 #ifndef UI_EDITCONTACT_H 10 #define UI_EDITCONTACT_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QGridLayout> 20 #include <QtWidgets/QHBoxLayout> 21 #include <QtWidgets/QHeaderView> 22 #include <QtWidgets/QLabel> 23 #include <QtWidgets/QLineEdit> 24 #include <QtWidgets/QVBoxLayout> 44 if (editContactDialog->objectName().isEmpty())
45 editContactDialog->setObjectName(QStringLiteral(
"editContactDialog"));
46 editContactDialog->resize(800, 165);
47 QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
48 sizePolicy.setHorizontalStretch(0);
49 sizePolicy.setVerticalStretch(0);
50 sizePolicy.setHeightForWidth(editContactDialog->sizePolicy().hasHeightForWidth());
51 editContactDialog->setSizePolicy(sizePolicy);
52 editContactDialog->setMinimumSize(QSize(0, 0));
53 editContactDialog->setSizeGripEnabled(
true);
54 gridLayout =
new QGridLayout(editContactDialog);
55 gridLayout->setObjectName(QStringLiteral(
"gridLayout"));
56 verticalLayout =
new QVBoxLayout();
57 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
58 subjectLayout =
new QHBoxLayout();
59 subjectLayout->setObjectName(QStringLiteral(
"subjectLayout"));
60 hashLabel =
new QLabel(editContactDialog);
61 hashLabel->setObjectName(QStringLiteral(
"hashLabel"));
63 subjectLayout->addWidget(hashLabel);
65 hashEdit =
new QLineEdit(editContactDialog);
66 hashEdit->setObjectName(QStringLiteral(
"hashEdit"));
68 subjectLayout->addWidget(hashEdit);
71 verticalLayout->addLayout(subjectLayout);
73 contactEditLayout =
new QHBoxLayout();
74 contactEditLayout->setObjectName(QStringLiteral(
"contactEditLayout"));
75 nickNameLabel =
new QLabel(editContactDialog);
76 nickNameLabel->setObjectName(QStringLiteral(
"nickNameLabel"));
78 contactEditLayout->addWidget(nickNameLabel);
80 nickNameEdit =
new QLineEdit(editContactDialog);
81 nickNameEdit->setObjectName(QStringLiteral(
"nickNameEdit"));
83 contactEditLayout->addWidget(nickNameEdit);
86 verticalLayout->addLayout(contactEditLayout);
88 trustedCheckBox =
new QCheckBox(editContactDialog);
89 trustedCheckBox->setObjectName(QStringLiteral(
"trustedCheckBox"));
91 verticalLayout->addWidget(trustedCheckBox);
93 bottomButtonsBox =
new QDialogButtonBox(editContactDialog);
94 bottomButtonsBox->setObjectName(QStringLiteral(
"bottomButtonsBox"));
95 QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
96 sizePolicy1.setHorizontalStretch(0);
97 sizePolicy1.setVerticalStretch(0);
98 sizePolicy1.setHeightForWidth(bottomButtonsBox->sizePolicy().hasHeightForWidth());
99 bottomButtonsBox->setSizePolicy(sizePolicy1);
100 bottomButtonsBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
102 verticalLayout->addWidget(bottomButtonsBox);
105 gridLayout->addLayout(verticalLayout, 0, 0, 1, 1);
110 QMetaObject::connectSlotsByName(editContactDialog);
115 editContactDialog->setWindowTitle(QApplication::translate(
"editContactDialog",
"Edit a contact", Q_NULLPTR));
116 hashLabel->setText(QApplication::translate(
"editContactDialog",
"Address (SHA1) of contact", Q_NULLPTR));
117 nickNameLabel->setText(QApplication::translate(
"editContactDialog",
"Local nickname", Q_NULLPTR));
118 #ifndef QT_NO_TOOLTIP 119 trustedCheckBox->setToolTip(QApplication::translate(
"editContactDialog",
"<html><head/><body><p>Settings some trusted is public information to readers of your profile</p></body></html>", Q_NULLPTR));
120 #endif // QT_NO_TOOLTIP 121 trustedCheckBox->setText(QApplication::translate(
"editContactDialog",
"This contact is to be publicly trusted in transactions", Q_NULLPTR));
132 #endif // UI_EDITCONTACT_H
Definition: ui_aboutDialog.h:161