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> 24 #include <QtWidgets/QWidget> 46 if (OpenURIDialog->objectName().isEmpty())
47 OpenURIDialog->setObjectName(QStringLiteral(
"OpenURIDialog"));
48 OpenURIDialog->resize(564, 148);
49 verticalLayout =
new QVBoxLayout(OpenURIDialog);
50 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
51 verticalLayout->setContentsMargins(0, 15, 0, 0);
52 horizontalLayout_3 =
new QHBoxLayout();
53 horizontalLayout_3->setObjectName(QStringLiteral(
"horizontalLayout_3"));
54 horizontalLayout_3->setContentsMargins(30, -1, 30, -1);
55 label_2 =
new QLabel(OpenURIDialog);
56 label_2->setObjectName(QStringLiteral(
"label_2"));
58 horizontalLayout_3->addWidget(label_2);
61 verticalLayout->addLayout(horizontalLayout_3);
63 horizontalLayout =
new QHBoxLayout();
64 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
65 horizontalLayout->setContentsMargins(30, -1, 30, -1);
66 label =
new QLabel(OpenURIDialog);
67 label->setObjectName(QStringLiteral(
"label"));
69 horizontalLayout->addWidget(label);
72 uriEdit->setObjectName(QStringLiteral(
"uriEdit"));
74 horizontalLayout->addWidget(uriEdit);
76 selectFileButton =
new QPushButton(OpenURIDialog);
77 selectFileButton->setObjectName(QStringLiteral(
"selectFileButton"));
78 selectFileButton->setText(QString::fromUtf8(
"\342\200\246"));
79 selectFileButton->setAutoDefault(
false);
81 horizontalLayout->addWidget(selectFileButton);
84 verticalLayout->addLayout(horizontalLayout);
86 verticalSpacer =
new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
88 verticalLayout->addItem(verticalSpacer);
90 buttonsContainerWhite =
new QWidget(OpenURIDialog);
91 buttonsContainerWhite->setObjectName(QStringLiteral(
"buttonsContainerWhite"));
92 horizontalLayout_2 =
new QHBoxLayout(buttonsContainerWhite);
93 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
94 horizontalLayout_2->setContentsMargins(30, 15, 30, 15);
95 buttonBox =
new QDialogButtonBox(buttonsContainerWhite);
96 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
97 buttonBox->setOrientation(Qt::Horizontal);
98 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
99 buttonBox->setCenterButtons(
true);
101 horizontalLayout_2->addWidget(buttonBox);
104 verticalLayout->addWidget(buttonsContainerWhite);
108 QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
109 QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
111 QMetaObject::connectSlotsByName(OpenURIDialog);
116 OpenURIDialog->setWindowTitle(QApplication::translate(
"OpenURIDialog",
"Open URI", 0));
117 label_2->setText(QApplication::translate(
"OpenURIDialog",
"Open payment request from URI or file", 0));
118 label->setText(QApplication::translate(
"OpenURIDialog",
"URI:", 0));
119 #ifndef QT_NO_TOOLTIP 120 selectFileButton->setToolTip(QApplication::translate(
"OpenURIDialog",
"Select payment request file", 0));
121 #endif // QT_NO_TOOLTIP 132 #endif // UI_OPENURIDIALOG_H QHBoxLayout * horizontalLayout_2
void setupUi(QDialog *OpenURIDialog)
QVBoxLayout * verticalLayout
QValidatedLineEdit * uriEdit
Line edit that can be marked as "invalid" to show input validation feedback.
QHBoxLayout * horizontalLayout_3
QWidget * buttonsContainerWhite
QPushButton * selectFileButton
void retranslateUi(QDialog *OpenURIDialog)
QSpacerItem * verticalSpacer
QHBoxLayout * horizontalLayout
QDialogButtonBox * buttonBox