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/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QVBoxLayout> 25 #include <QtWidgets/QWidget> 46 if (EditAddressDialog->objectName().isEmpty())
47 EditAddressDialog->setObjectName(QStringLiteral(
"EditAddressDialog"));
48 EditAddressDialog->resize(457, 148);
49 verticalLayout =
new QVBoxLayout(EditAddressDialog);
50 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
51 verticalLayout->setContentsMargins(0, 15, 0, 0);
52 formLayout =
new QFormLayout();
53 formLayout->setObjectName(QStringLiteral(
"formLayout"));
54 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
55 formLayout->setVerticalSpacing(15);
56 formLayout->setContentsMargins(30, -1, 30, -1);
57 label =
new QLabel(EditAddressDialog);
58 label->setObjectName(QStringLiteral(
"label"));
60 formLayout->setWidget(0, QFormLayout::LabelRole, label);
62 labelEdit =
new QLineEdit(EditAddressDialog);
63 labelEdit->setObjectName(QStringLiteral(
"labelEdit"));
65 formLayout->setWidget(0, QFormLayout::FieldRole, labelEdit);
67 label_2 =
new QLabel(EditAddressDialog);
68 label_2->setObjectName(QStringLiteral(
"label_2"));
70 formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
73 addressEdit->setObjectName(QStringLiteral(
"addressEdit"));
75 formLayout->setWidget(1, QFormLayout::FieldRole, addressEdit);
78 verticalLayout->addLayout(formLayout);
80 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
82 verticalLayout->addItem(verticalSpacer);
84 buttonsContainerWhite =
new QWidget(EditAddressDialog);
85 buttonsContainerWhite->setObjectName(QStringLiteral(
"buttonsContainerWhite"));
86 horizontalLayout =
new QHBoxLayout(buttonsContainerWhite);
87 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
88 horizontalLayout->setContentsMargins(30, 15, 30, 15);
89 buttonBox =
new QDialogButtonBox(buttonsContainerWhite);
90 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
91 buttonBox->setOrientation(Qt::Horizontal);
92 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
93 buttonBox->setCenterButtons(
true);
95 horizontalLayout->addWidget(buttonBox);
98 verticalLayout->addWidget(buttonsContainerWhite);
100 #ifndef QT_NO_SHORTCUT 101 label->setBuddy(labelEdit);
102 label_2->setBuddy(addressEdit);
103 #endif // QT_NO_SHORTCUT 106 QObject::connect(buttonBox, SIGNAL(accepted()), EditAddressDialog, SLOT(accept()));
107 QObject::connect(buttonBox, SIGNAL(rejected()), EditAddressDialog, SLOT(reject()));
109 QMetaObject::connectSlotsByName(EditAddressDialog);
114 EditAddressDialog->setWindowTitle(QApplication::translate(
"EditAddressDialog",
"Edit Address", 0));
115 label->setText(QApplication::translate(
"EditAddressDialog",
"&Label", 0));
116 #ifndef QT_NO_TOOLTIP 117 labelEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The label associated with this address list entry", 0));
118 #endif // QT_NO_TOOLTIP 119 label_2->setText(QApplication::translate(
"EditAddressDialog",
"&Address", 0));
120 #ifndef QT_NO_TOOLTIP 121 addressEdit->setToolTip(QApplication::translate(
"EditAddressDialog",
"The address associated with this address list entry. This can only be modified for sending addresses.", 0));
122 #endif // QT_NO_TOOLTIP 133 #endif // UI_EDITADDRESSDIALOG_H QHBoxLayout * horizontalLayout
QDialogButtonBox * buttonBox
QWidget * buttonsContainerWhite
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)
QSpacerItem * verticalSpacer