Bitcoin Core 22.99.0
P2P Digital Currency
ui_askpassphrasedialog.h
Go to the documentation of this file.
1/********************************************************************************
2** Form generated from reading UI file 'askpassphrasedialog.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_ASKPASSPHRASEDIALOG_H
10#define UI_ASKPASSPHRASEDIALOG_H
11
12#include <QtCore/QVariant>
13#include <QtWidgets/QApplication>
14#include <QtWidgets/QCheckBox>
15#include <QtWidgets/QDialog>
16#include <QtWidgets/QDialogButtonBox>
17#include <QtWidgets/QFormLayout>
18#include <QtWidgets/QLabel>
19#include <QtWidgets/QLineEdit>
20#include <QtWidgets/QVBoxLayout>
21
22QT_BEGIN_NAMESPACE
23
25{
26public:
27 QVBoxLayout *verticalLayout;
28 QLabel *warningLabel;
29 QFormLayout *formLayout;
30 QLabel *passLabel1;
31 QLineEdit *passEdit1;
32 QLabel *passLabel2;
33 QLineEdit *passEdit2;
34 QLabel *passLabel3;
35 QLineEdit *passEdit3;
37 QLabel *capsLabel;
38 QDialogButtonBox *buttonBox;
39
41 {
42 if (AskPassphraseDialog->objectName().isEmpty())
43 AskPassphraseDialog->setObjectName(QString::fromUtf8("AskPassphraseDialog"));
44 AskPassphraseDialog->resize(598, 222);
45 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
46 sizePolicy.setHorizontalStretch(0);
47 sizePolicy.setVerticalStretch(0);
48 sizePolicy.setHeightForWidth(AskPassphraseDialog->sizePolicy().hasHeightForWidth());
49 AskPassphraseDialog->setSizePolicy(sizePolicy);
50 AskPassphraseDialog->setMinimumSize(QSize(550, 0));
51 verticalLayout = new QVBoxLayout(AskPassphraseDialog);
52 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
53 verticalLayout->setSizeConstraint(QLayout::SetMinimumSize);
55 warningLabel->setObjectName(QString::fromUtf8("warningLabel"));
56 warningLabel->setText(QString::fromUtf8("Placeholder text"));
57 warningLabel->setTextFormat(Qt::RichText);
58 warningLabel->setWordWrap(true);
59
60 verticalLayout->addWidget(warningLabel);
61
62 formLayout = new QFormLayout();
63 formLayout->setObjectName(QString::fromUtf8("formLayout"));
64 formLayout->setSizeConstraint(QLayout::SetMinimumSize);
65 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
66 passLabel1 = new QLabel(AskPassphraseDialog);
67 passLabel1->setObjectName(QString::fromUtf8("passLabel1"));
68
69 formLayout->setWidget(0, QFormLayout::LabelRole, passLabel1);
70
71 passEdit1 = new QLineEdit(AskPassphraseDialog);
72 passEdit1->setObjectName(QString::fromUtf8("passEdit1"));
73 passEdit1->setEchoMode(QLineEdit::Password);
74
75 formLayout->setWidget(0, QFormLayout::FieldRole, passEdit1);
76
77 passLabel2 = new QLabel(AskPassphraseDialog);
78 passLabel2->setObjectName(QString::fromUtf8("passLabel2"));
79
80 formLayout->setWidget(1, QFormLayout::LabelRole, passLabel2);
81
82 passEdit2 = new QLineEdit(AskPassphraseDialog);
83 passEdit2->setObjectName(QString::fromUtf8("passEdit2"));
84 passEdit2->setEchoMode(QLineEdit::Password);
85
86 formLayout->setWidget(1, QFormLayout::FieldRole, passEdit2);
87
88 passLabel3 = new QLabel(AskPassphraseDialog);
89 passLabel3->setObjectName(QString::fromUtf8("passLabel3"));
90
91 formLayout->setWidget(2, QFormLayout::LabelRole, passLabel3);
92
93 passEdit3 = new QLineEdit(AskPassphraseDialog);
94 passEdit3->setObjectName(QString::fromUtf8("passEdit3"));
95 passEdit3->setEchoMode(QLineEdit::Password);
96
97 formLayout->setWidget(2, QFormLayout::FieldRole, passEdit3);
98
100 toggleShowPasswordButton->setObjectName(QString::fromUtf8("toggleShowPasswordButton"));
101
102 formLayout->setWidget(3, QFormLayout::FieldRole, toggleShowPasswordButton);
103
104 capsLabel = new QLabel(AskPassphraseDialog);
105 capsLabel->setObjectName(QString::fromUtf8("capsLabel"));
106 QFont font;
107 font.setBold(true);
108 font.setWeight(75);
109 capsLabel->setFont(font);
110 capsLabel->setAlignment(Qt::AlignCenter);
111
112 formLayout->setWidget(4, QFormLayout::FieldRole, capsLabel);
113
114
115 verticalLayout->addLayout(formLayout);
116
117 buttonBox = new QDialogButtonBox(AskPassphraseDialog);
118 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
119 buttonBox->setOrientation(Qt::Horizontal);
120 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
121
122 verticalLayout->addWidget(buttonBox);
123
124
126 QObject::connect(buttonBox, SIGNAL(accepted()), AskPassphraseDialog, SLOT(accept()));
127 QObject::connect(buttonBox, SIGNAL(rejected()), AskPassphraseDialog, SLOT(reject()));
128
129 QMetaObject::connectSlotsByName(AskPassphraseDialog);
130 } // setupUi
131
133 {
134 AskPassphraseDialog->setWindowTitle(QCoreApplication::translate("AskPassphraseDialog", "Passphrase Dialog", nullptr));
135 passLabel1->setText(QCoreApplication::translate("AskPassphraseDialog", "Enter passphrase", nullptr));
136 passLabel2->setText(QCoreApplication::translate("AskPassphraseDialog", "New passphrase", nullptr));
137 passLabel3->setText(QCoreApplication::translate("AskPassphraseDialog", "Repeat new passphrase", nullptr));
138 toggleShowPasswordButton->setText(QCoreApplication::translate("AskPassphraseDialog", "Show passphrase", nullptr));
139 capsLabel->setText(QString());
140 } // retranslateUi
141
142};
143
144namespace Ui {
146} // namespace Ui
147
148QT_END_NAMESPACE
149
150#endif // UI_ASKPASSPHRASEDIALOG_H
Multifunctional dialog to ask for passphrases.
void setupUi(QDialog *AskPassphraseDialog)
void retranslateUi(QDialog *AskPassphraseDialog)
QDialogButtonBox * buttonBox