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>
45 if (AskPassphraseDialog->objectName().isEmpty())
46 AskPassphraseDialog->setObjectName(QStringLiteral(
"AskPassphraseDialog"));
47 AskPassphraseDialog->resize(598, 222);
48 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
49 sizePolicy.setHorizontalStretch(0);
50 sizePolicy.setVerticalStretch(0);
51 sizePolicy.setHeightForWidth(AskPassphraseDialog->sizePolicy().hasHeightForWidth());
52 AskPassphraseDialog->setSizePolicy(sizePolicy);
53 AskPassphraseDialog->setMinimumSize(QSize(550, 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"));
74 passEdit1 =
new QLineEdit(AskPassphraseDialog);
75 passEdit1->setObjectName(QStringLiteral(
"passEdit1"));
76 passEdit1->setEchoMode(QLineEdit::Password);
81 passLabel2->setObjectName(QStringLiteral(
"passLabel2"));
85 passEdit2 =
new QLineEdit(AskPassphraseDialog);
86 passEdit2->setObjectName(QStringLiteral(
"passEdit2"));
87 passEdit2->setEchoMode(QLineEdit::Password);
92 passLabel3->setObjectName(QStringLiteral(
"passLabel3"));
96 passEdit3 =
new QLineEdit(AskPassphraseDialog);
97 passEdit3->setObjectName(QStringLiteral(
"passEdit3"));
98 passEdit3->setEchoMode(QLineEdit::Password);
107 capsLabel =
new QLabel(AskPassphraseDialog);
108 capsLabel->setObjectName(QStringLiteral(
"capsLabel"));
113 capsLabel->setAlignment(Qt::AlignCenter);
120 buttonBox =
new QDialogButtonBox(AskPassphraseDialog);
121 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
122 buttonBox->setOrientation(Qt::Horizontal);
123 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
129 QObject::connect(
buttonBox, SIGNAL(accepted()), AskPassphraseDialog, SLOT(accept()));
130 QObject::connect(
buttonBox, SIGNAL(rejected()), AskPassphraseDialog, SLOT(reject()));
132 QMetaObject::connectSlotsByName(AskPassphraseDialog);
137 AskPassphraseDialog->setWindowTitle(QApplication::translate(
"AskPassphraseDialog",
"Passphrase Dialog", 0));
138 passLabel1->setText(QApplication::translate(
"AskPassphraseDialog",
"Enter passphrase", 0));
139 passLabel2->setText(QApplication::translate(
"AskPassphraseDialog",
"New passphrase", 0));
140 passLabel3->setText(QApplication::translate(
"AskPassphraseDialog",
"Repeat new passphrase", 0));
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