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/QPushButton>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QVBoxLayout>
42 if (OpenURIDialog->objectName().isEmpty())
43 OpenURIDialog->setObjectName(QStringLiteral(
"OpenURIDialog"));
44 OpenURIDialog->resize(564, 109);
45 verticalLayout =
new QVBoxLayout(OpenURIDialog);
46 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
47 label_2 =
new QLabel(OpenURIDialog);
48 label_2->setObjectName(QStringLiteral(
"label_2"));
50 verticalLayout->addWidget(label_2);
52 horizontalLayout =
new QHBoxLayout();
53 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
54 label =
new QLabel(OpenURIDialog);
55 label->setObjectName(QStringLiteral(
"label"));
57 horizontalLayout->addWidget(label);
60 uriEdit->setObjectName(QStringLiteral(
"uriEdit"));
62 horizontalLayout->addWidget(uriEdit);
64 selectFileButton =
new QPushButton(OpenURIDialog);
65 selectFileButton->setObjectName(QStringLiteral(
"selectFileButton"));
66 selectFileButton->setText(QString::fromUtf8(
"\342\200\246"));
68 horizontalLayout->addWidget(selectFileButton);
71 verticalLayout->addLayout(horizontalLayout);
73 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
75 verticalLayout->addItem(verticalSpacer);
77 buttonBox =
new QDialogButtonBox(OpenURIDialog);
78 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
79 buttonBox->setOrientation(Qt::Horizontal);
80 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
82 verticalLayout->addWidget(buttonBox);
86 QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
87 QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
89 QMetaObject::connectSlotsByName(OpenURIDialog);
94 OpenURIDialog->setWindowTitle(QApplication::translate(
"OpenURIDialog",
"Open URI", 0));
95 label_2->setText(QApplication::translate(
"OpenURIDialog",
"Open payment request from URI or file", 0));
96 label->setText(QApplication::translate(
"OpenURIDialog",
"URI:", 0));
98 selectFileButton->setToolTip(QApplication::translate(
"OpenURIDialog",
"Select payment request file", 0));
99 #endif // QT_NO_TOOLTIP
110 #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.
QPushButton * selectFileButton
void retranslateUi(QDialog *OpenURIDialog)
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout
QDialogButtonBox * buttonBox