9 #ifndef UI_ASKPASSPHRASEDIALOG_H 10 #define UI_ASKPASSPHRASEDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QCheckBox> 17 #include <QtWidgets/QDialog> 18 #include <QtWidgets/QDialogButtonBox> 19 #include <QtWidgets/QFormLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QLineEdit> 23 #include <QtWidgets/QVBoxLayout> 48 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
49 sizePolicy.setHorizontalStretch(0);
50 sizePolicy.setVerticalStretch(0);
58 warningLabel->setObjectName(QStringLiteral(
"warningLabel"));
59 warningLabel->setText(QStringLiteral(
"Placeholder text"));
66 formLayout->setObjectName(QStringLiteral(
"formLayout"));
67 formLayout->setSizeConstraint(QLayout::SetMinimumSize);
68 formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
70 passLabel1->setObjectName(QStringLiteral(
"passLabel1"));
75 passEdit1->setObjectName(QStringLiteral(
"passEdit1"));
76 passEdit1->setEchoMode(QLineEdit::Password);
81 passLabel2->setObjectName(QStringLiteral(
"passLabel2"));
86 passEdit2->setObjectName(QStringLiteral(
"passEdit2"));
87 passEdit2->setEchoMode(QLineEdit::Password);
92 passLabel3->setObjectName(QStringLiteral(
"passLabel3"));
97 passEdit3->setObjectName(QStringLiteral(
"passEdit3"));
98 passEdit3->setEchoMode(QLineEdit::Password);
108 capsLabel->setObjectName(QStringLiteral(
"capsLabel"));
113 capsLabel->setAlignment(Qt::AlignCenter);
121 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
122 buttonBox->setOrientation(Qt::Horizontal);
123 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
137 AskPassphraseDialog->setWindowTitle(QApplication::translate(
"AskPassphraseDialog",
"Passphrase Dialog", Q_NULLPTR));
138 passLabel1->setText(QApplication::translate(
"AskPassphraseDialog",
"Enter passphrase", Q_NULLPTR));
139 passLabel2->setText(QApplication::translate(
"AskPassphraseDialog",
"New passphrase", Q_NULLPTR));
140 passLabel3->setText(QApplication::translate(
"AskPassphraseDialog",
"Repeat new passphrase", Q_NULLPTR));
153 #endif // UI_ASKPASSPHRASEDIALOG_H void setupUi(QDialog *AskPassphraseDialog)
QVBoxLayout * verticalLayout
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *AskPassphraseDialog)
Multifunctional dialog to ask for passphrases.
QCheckBox * toggleShowPasswordButton