Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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.16
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 <QtGui/QIcon>
14#include <QtWidgets/QApplication>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QDialogButtonBox>
17#include <QtWidgets/QHBoxLayout>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QSpacerItem>
20#include <QtWidgets/QToolButton>
21#include <QtWidgets/QVBoxLayout>
23
24QT_BEGIN_NAMESPACE
25
27{
28public:
29 QVBoxLayout *verticalLayout;
30 QHBoxLayout *horizontalLayout;
31 QLabel *label;
33 QToolButton *pasteButton;
34 QSpacerItem *verticalSpacer;
35 QDialogButtonBox *buttonBox;
36
37 void setupUi(QDialog *OpenURIDialog)
38 {
39 if (OpenURIDialog->objectName().isEmpty())
40 OpenURIDialog->setObjectName(QString::fromUtf8("OpenURIDialog"));
41 OpenURIDialog->resize(564, 109);
42 verticalLayout = new QVBoxLayout(OpenURIDialog);
43 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
44 horizontalLayout = new QHBoxLayout();
45 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
46 label = new QLabel(OpenURIDialog);
47 label->setObjectName(QString::fromUtf8("label"));
48
49 horizontalLayout->addWidget(label);
50
52 uriEdit->setObjectName(QString::fromUtf8("uriEdit"));
53 uriEdit->setPlaceholderText(QString::fromUtf8("bitcoin:"));
54
55 horizontalLayout->addWidget(uriEdit);
56
57 pasteButton = new QToolButton(OpenURIDialog);
58 pasteButton->setObjectName(QString::fromUtf8("pasteButton"));
59 QIcon icon;
60 icon.addFile(QString::fromUtf8(":/icons/editpaste"), QSize(), QIcon::Normal, QIcon::Off);
61 pasteButton->setIcon(icon);
62 pasteButton->setIconSize(QSize(22, 22));
63
64 horizontalLayout->addWidget(pasteButton);
65
66
68
69 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
70
72
73 buttonBox = new QDialogButtonBox(OpenURIDialog);
74 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
75 buttonBox->setOrientation(Qt::Horizontal);
76 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
77
78 verticalLayout->addWidget(buttonBox);
79
80
82 QObject::connect(buttonBox, SIGNAL(accepted()), OpenURIDialog, SLOT(accept()));
83 QObject::connect(buttonBox, SIGNAL(rejected()), OpenURIDialog, SLOT(reject()));
84
85 QMetaObject::connectSlotsByName(OpenURIDialog);
86 } // setupUi
87
89 {
90 OpenURIDialog->setWindowTitle(QCoreApplication::translate("OpenURIDialog", "Open bitcoin URI", nullptr));
91 label->setText(QCoreApplication::translate("OpenURIDialog", "URI:", nullptr));
92#if QT_CONFIG(tooltip)
93 pasteButton->setToolTip(QCoreApplication::translate("OpenURIDialog", "Paste address from clipboard", nullptr));
94#endif // QT_CONFIG(tooltip)
95 pasteButton->setText(QString());
96 } // retranslateUi
97
98};
99
100namespace Ui {
102} // namespace Ui
103
104QT_END_NAMESPACE
105
106#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)
QToolButton * pasteButton
QValidatedLineEdit * uriEdit