9#ifndef UI_ASKPASSPHRASEDIALOG_H
10#define UI_ASKPASSPHRASEDIALOG_H
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>
45 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
46 sizePolicy.setHorizontalStretch(0);
47 sizePolicy.setVerticalStretch(0);
52 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
55 warningLabel->setObjectName(QString::fromUtf8(
"warningLabel"));
56 warningLabel->setText(QString::fromUtf8(
"Placeholder text"));
63 formLayout->setObjectName(QString::fromUtf8(
"formLayout"));
64 formLayout->setSizeConstraint(QLayout::SetMinimumSize);
65 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
67 passLabel1->setObjectName(QString::fromUtf8(
"passLabel1"));
72 passEdit1->setObjectName(QString::fromUtf8(
"passEdit1"));
73 passEdit1->setEchoMode(QLineEdit::Password);
78 passLabel2->setObjectName(QString::fromUtf8(
"passLabel2"));
83 passEdit2->setObjectName(QString::fromUtf8(
"passEdit2"));
84 passEdit2->setEchoMode(QLineEdit::Password);
89 passLabel3->setObjectName(QString::fromUtf8(
"passLabel3"));
94 passEdit3->setObjectName(QString::fromUtf8(
"passEdit3"));
95 passEdit3->setEchoMode(QLineEdit::Password);
105 capsLabel->setObjectName(QString::fromUtf8(
"capsLabel"));
110 capsLabel->setAlignment(Qt::AlignCenter);
118 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
119 buttonBox->setOrientation(Qt::Horizontal);
120 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
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));
Multifunctional dialog to ask for passphrases.
QCheckBox * toggleShowPasswordButton
QVBoxLayout * verticalLayout
void setupUi(QDialog *AskPassphraseDialog)
void retranslateUi(QDialog *AskPassphraseDialog)
QDialogButtonBox * buttonBox