8 #ifndef UI_EDITADDRESSDIALOG_H
9 #define UI_EDITADDRESSDIALOG_H
11 #include <QtCore/QVariant>
12 #include <QtGui/QAction>
13 #include <QtGui/QApplication>
14 #include <QtGui/QButtonGroup>
15 #include <QtGui/QDialog>
16 #include <QtGui/QDialogButtonBox>
17 #include <QtGui/QFormLayout>
18 #include <QtGui/QHeaderView>
19 #include <QtGui/QLabel>
20 #include <QtGui/QLineEdit>
21 #include <QtGui/QVBoxLayout>
39 if (EditAddressDialog->objectName().isEmpty())
40 EditAddressDialog->setObjectName(QString::fromUtf8(
"EditAddressDialog"));
41 EditAddressDialog->resize(457, 126);
42 verticalLayout =
new QVBoxLayout(EditAddressDialog);
43 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
44 formLayout =
new QFormLayout();
45 formLayout->setObjectName(QString::fromUtf8(
"formLayout"));
46 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
47 label =
new QLabel(EditAddressDialog);
48 label->setObjectName(QString::fromUtf8(
"label"));
50 formLayout->setWidget(0, QFormLayout::LabelRole, label);
52 labelEdit =
new QLineEdit(EditAddressDialog);
53 labelEdit->setObjectName(QString::fromUtf8(
"labelEdit"));
55 formLayout->setWidget(0, QFormLayout::FieldRole, labelEdit);
57 label_2 =
new QLabel(EditAddressDialog);
58 label_2->setObjectName(QString::fromUtf8(
"label_2"));
60 formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
63 addressEdit->setObjectName(QString::fromUtf8(
"addressEdit"));
65 formLayout->setWidget(1, QFormLayout::FieldRole, addressEdit);
68 verticalLayout->addLayout(formLayout);
70 buttonBox =
new QDialogButtonBox(EditAddressDialog);
71 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
72 buttonBox->setOrientation(Qt::Horizontal);
73 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
75 verticalLayout->addWidget(buttonBox);
77 #ifndef QT_NO_SHORTCUT
78 label->setBuddy(labelEdit);
79 label_2->setBuddy(addressEdit);
80 #endif // QT_NO_SHORTCUT
83 QObject::connect(buttonBox, SIGNAL(accepted()), EditAddressDialog, SLOT(accept()));
84 QObject::connect(buttonBox, SIGNAL(rejected()), EditAddressDialog, SLOT(reject()));
86 QMetaObject::connectSlotsByName(EditAddressDialog);
91 EditAddressDialog->setWindowTitle(QApplication::translate(
"EditAddressDialog",
"Edit Address", 0, QApplication::UnicodeUTF8));
92 label->setText(QApplication::translate(
"EditAddressDialog",
"&Label", 0, QApplication::UnicodeUTF8));
94 labelEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The label associated with this address list entry", 0, QApplication::UnicodeUTF8));
95 #endif // QT_NO_TOOLTIP
96 label_2->setText(QApplication::translate(
"EditAddressDialog",
"&Address", 0, QApplication::UnicodeUTF8));
98 addressEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The address associated with this address list entry. This can only be modified for sending addresses.", 0, QApplication::UnicodeUTF8));
99 #endif // QT_NO_TOOLTIP
110 #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)