9 #ifndef UI_OPENURIDIALOG_H 10 #define UI_OPENURIDIALOG_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/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QLabel> 21 #include <QtWidgets/QSpacerItem> 22 #include <QtWidgets/QVBoxLayout> 39 if (OpenURIDialog->objectName().isEmpty())
40 OpenURIDialog->setObjectName(QStringLiteral(
"OpenURIDialog"));
41 OpenURIDialog->resize(564, 109);
42 verticalLayout =
new QVBoxLayout(OpenURIDialog);
43 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
44 horizontalLayout =
new QHBoxLayout();
45 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
46 label =
new QLabel(OpenURIDialog);
47 label->setObjectName(QStringLiteral(
"label"));
49 horizontalLayout->addWidget(label);
52 uriEdit->setObjectName(QStringLiteral(
"uriEdit"));
53 uriEdit->setPlaceholderText(QStringLiteral(
"bitcoin:"));
55 horizontalLayout->addWidget(uriEdit);
58 verticalLayout->addLayout(horizontalLayout);
60 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
62 verticalLayout->addItem(verticalSpacer);
64 buttonBox =
new QDialogButtonBox(OpenURIDialog);
65 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
66 buttonBox->setOrientation(Qt::Horizontal);
67 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
69 verticalLayout->addWidget(buttonBox);
73 QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
74 QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
76 QMetaObject::connectSlotsByName(OpenURIDialog);
81 OpenURIDialog->setWindowTitle(QApplication::translate(
"OpenURIDialog",
"Open bitcoin URI", 0));
82 label->setText(QApplication::translate(
"OpenURIDialog",
"URI:", 0));
93 #endif // UI_OPENURIDIALOG_H void setupUi(QDialog *OpenURIDialog)
QVBoxLayout * verticalLayout
QValidatedLineEdit * uriEdit
Line edit that can be marked as "invalid" to show input validation feedback.
void retranslateUi(QDialog *OpenURIDialog)
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout
QDialogButtonBox * buttonBox