Bitcoin Core  0.21.0rc5
P2P Digital Currency
ui_openuridialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'openuridialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.15.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_OPENURIDIALOG_H
10 #define UI_OPENURIDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QDialogButtonBox>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QSpacerItem>
19 #include <QtWidgets/QVBoxLayout>
20 #include "qt/qvalidatedlineedit.h"
21 
22 QT_BEGIN_NAMESPACE
23 
25 {
26 public:
27  QVBoxLayout *verticalLayout;
28  QHBoxLayout *horizontalLayout;
29  QLabel *label;
31  QSpacerItem *verticalSpacer;
32  QDialogButtonBox *buttonBox;
33 
34  void setupUi(QDialog *OpenURIDialog)
35  {
36  if (OpenURIDialog->objectName().isEmpty())
37  OpenURIDialog->setObjectName(QString::fromUtf8("OpenURIDialog"));
38  OpenURIDialog->resize(564, 109);
39  verticalLayout = new QVBoxLayout(OpenURIDialog);
40  verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
41  horizontalLayout = new QHBoxLayout();
42  horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
43  label = new QLabel(OpenURIDialog);
44  label->setObjectName(QString::fromUtf8("label"));
45 
46  horizontalLayout->addWidget(label);
47 
49  uriEdit->setObjectName(QString::fromUtf8("uriEdit"));
50  uriEdit->setPlaceholderText(QString::fromUtf8("bitcoin:"));
51 
52  horizontalLayout->addWidget(uriEdit);
53 
54 
55  verticalLayout->addLayout(horizontalLayout);
56 
57  verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
58 
60 
61  buttonBox = new QDialogButtonBox(OpenURIDialog);
62  buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
63  buttonBox->setOrientation(Qt::Horizontal);
64  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
65 
66  verticalLayout->addWidget(buttonBox);
67 
68 
70  QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
71  QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
72 
73  QMetaObject::connectSlotsByName(OpenURIDialog);
74  } // setupUi
75 
77  {
78  OpenURIDialog->setWindowTitle(QCoreApplication::translate("OpenURIDialog", "Open bitcoin URI", nullptr));
79  label->setText(QCoreApplication::translate("OpenURIDialog", "URI:", nullptr));
80  } // retranslateUi
81 
82 };
83 
84 namespace Ui {
85  class OpenURIDialog: public Ui_OpenURIDialog {};
86 } // namespace Ui
87 
88 QT_END_NAMESPACE
89 
90 #endif // UI_OPENURIDIALOG_H
Line edit that can be marked as "invalid" to show input validation feedback.
QHBoxLayout * horizontalLayout
QSpacerItem * verticalSpacer
QVBoxLayout * verticalLayout
void setupUi(QDialog *OpenURIDialog)
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *OpenURIDialog)
QValidatedLineEdit * uriEdit