9 #ifndef UI_EDITADDRESSDIALOG_H
10 #define UI_EDITADDRESSDIALOG_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QDialog>
17 #include <QtWidgets/QDialogButtonBox>
18 #include <QtWidgets/QFormLayout>
19 #include <QtWidgets/QHeaderView>
20 #include <QtWidgets/QLabel>
21 #include <QtWidgets/QLineEdit>
22 #include <QtWidgets/QVBoxLayout>
40 if (EditAddressDialog->objectName().isEmpty())
41 EditAddressDialog->setObjectName(QStringLiteral(
"EditAddressDialog"));
42 EditAddressDialog->resize(457, 126);
43 verticalLayout =
new QVBoxLayout(EditAddressDialog);
44 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
45 formLayout =
new QFormLayout();
46 formLayout->setObjectName(QStringLiteral(
"formLayout"));
47 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
48 label =
new QLabel(EditAddressDialog);
49 label->setObjectName(QStringLiteral(
"label"));
51 formLayout->setWidget(0, QFormLayout::LabelRole, label);
53 labelEdit =
new QLineEdit(EditAddressDialog);
54 labelEdit->setObjectName(QStringLiteral(
"labelEdit"));
56 formLayout->setWidget(0, QFormLayout::FieldRole, labelEdit);
58 label_2 =
new QLabel(EditAddressDialog);
59 label_2->setObjectName(QStringLiteral(
"label_2"));
61 formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
64 addressEdit->setObjectName(QStringLiteral(
"addressEdit"));
66 formLayout->setWidget(1, QFormLayout::FieldRole, addressEdit);
69 verticalLayout->addLayout(formLayout);
71 buttonBox =
new QDialogButtonBox(EditAddressDialog);
72 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
73 buttonBox->setOrientation(Qt::Horizontal);
74 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
76 verticalLayout->addWidget(buttonBox);
78 #ifndef QT_NO_SHORTCUT
79 label->setBuddy(labelEdit);
80 label_2->setBuddy(addressEdit);
81 #endif // QT_NO_SHORTCUT
84 QObject::connect(buttonBox, SIGNAL(accepted()), EditAddressDialog, SLOT(accept()));
85 QObject::connect(buttonBox, SIGNAL(rejected()), EditAddressDialog, SLOT(reject()));
87 QMetaObject::connectSlotsByName(EditAddressDialog);
92 EditAddressDialog->setWindowTitle(QApplication::translate(
"EditAddressDialog",
"Edit Address", 0));
93 label->setText(QApplication::translate(
"EditAddressDialog",
"&Label", 0));
95 labelEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The label associated with this address list entry", 0));
96 #endif // QT_NO_TOOLTIP
97 label_2->setText(QApplication::translate(
"EditAddressDialog",
"&Address", 0));
99 addressEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The address associated with this address list entry. This can only be modified for sending addresses.", 0));
100 #endif // QT_NO_TOOLTIP
111 #endif // UI_EDITADDRESSDIALOG_H
QDialogButtonBox * buttonBox
Line edit that can be marked as "invalid" to show input validation feedback.
QVBoxLayout * verticalLayout
void retranslateUi(QDialog *EditAddressDialog)
QValidatedLineEdit * addressEdit
Dialog for editing an address and associated information.
void setupUi(QDialog *EditAddressDialog)