Line data Source code
1 : /******************************************************************************** 2 : ** Form generated from reading UI file 'askpassphrasedialog.ui' 3 : ** 4 : ** Created by: Qt User Interface Compiler version 5.15.0 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 : 22 : QT_BEGIN_NAMESPACE 23 : 24 : class Ui_AskPassphraseDialog 25 : { 26 : public: 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; 36 : QCheckBox *toggleShowPasswordButton; 37 : QLabel *capsLabel; 38 : QDialogButtonBox *buttonBox; 39 : 40 0 : void setupUi(QDialog *AskPassphraseDialog) 41 : { 42 0 : if (AskPassphraseDialog->objectName().isEmpty()) 43 0 : AskPassphraseDialog->setObjectName(QString::fromUtf8("AskPassphraseDialog")); 44 0 : AskPassphraseDialog->resize(598, 222); 45 0 : QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); 46 0 : sizePolicy.setHorizontalStretch(0); 47 0 : sizePolicy.setVerticalStretch(0); 48 0 : sizePolicy.setHeightForWidth(AskPassphraseDialog->sizePolicy().hasHeightForWidth()); 49 0 : AskPassphraseDialog->setSizePolicy(sizePolicy); 50 0 : AskPassphraseDialog->setMinimumSize(QSize(550, 0)); 51 0 : verticalLayout = new QVBoxLayout(AskPassphraseDialog); 52 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 53 0 : verticalLayout->setSizeConstraint(QLayout::SetMinimumSize); 54 0 : warningLabel = new QLabel(AskPassphraseDialog); 55 0 : warningLabel->setObjectName(QString::fromUtf8("warningLabel")); 56 0 : warningLabel->setText(QString::fromUtf8("Placeholder text")); 57 0 : warningLabel->setTextFormat(Qt::RichText); 58 0 : warningLabel->setWordWrap(true); 59 : 60 0 : verticalLayout->addWidget(warningLabel); 61 : 62 0 : formLayout = new QFormLayout(); 63 0 : formLayout->setObjectName(QString::fromUtf8("formLayout")); 64 0 : formLayout->setSizeConstraint(QLayout::SetMinimumSize); 65 0 : formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow); 66 0 : passLabel1 = new QLabel(AskPassphraseDialog); 67 0 : passLabel1->setObjectName(QString::fromUtf8("passLabel1")); 68 : 69 0 : formLayout->setWidget(0, QFormLayout::LabelRole, passLabel1); 70 : 71 0 : passEdit1 = new QLineEdit(AskPassphraseDialog); 72 0 : passEdit1->setObjectName(QString::fromUtf8("passEdit1")); 73 0 : passEdit1->setEchoMode(QLineEdit::Password); 74 : 75 0 : formLayout->setWidget(0, QFormLayout::FieldRole, passEdit1); 76 : 77 0 : passLabel2 = new QLabel(AskPassphraseDialog); 78 0 : passLabel2->setObjectName(QString::fromUtf8("passLabel2")); 79 : 80 0 : formLayout->setWidget(1, QFormLayout::LabelRole, passLabel2); 81 : 82 0 : passEdit2 = new QLineEdit(AskPassphraseDialog); 83 0 : passEdit2->setObjectName(QString::fromUtf8("passEdit2")); 84 0 : passEdit2->setEchoMode(QLineEdit::Password); 85 : 86 0 : formLayout->setWidget(1, QFormLayout::FieldRole, passEdit2); 87 : 88 0 : passLabel3 = new QLabel(AskPassphraseDialog); 89 0 : passLabel3->setObjectName(QString::fromUtf8("passLabel3")); 90 : 91 0 : formLayout->setWidget(2, QFormLayout::LabelRole, passLabel3); 92 : 93 0 : passEdit3 = new QLineEdit(AskPassphraseDialog); 94 0 : passEdit3->setObjectName(QString::fromUtf8("passEdit3")); 95 0 : passEdit3->setEchoMode(QLineEdit::Password); 96 : 97 0 : formLayout->setWidget(2, QFormLayout::FieldRole, passEdit3); 98 : 99 0 : toggleShowPasswordButton = new QCheckBox(AskPassphraseDialog); 100 0 : toggleShowPasswordButton->setObjectName(QString::fromUtf8("toggleShowPasswordButton")); 101 : 102 0 : formLayout->setWidget(3, QFormLayout::FieldRole, toggleShowPasswordButton); 103 : 104 0 : capsLabel = new QLabel(AskPassphraseDialog); 105 0 : capsLabel->setObjectName(QString::fromUtf8("capsLabel")); 106 0 : QFont font; 107 0 : font.setBold(true); 108 0 : font.setWeight(75); 109 0 : capsLabel->setFont(font); 110 0 : capsLabel->setAlignment(Qt::AlignCenter); 111 : 112 0 : formLayout->setWidget(4, QFormLayout::FieldRole, capsLabel); 113 : 114 : 115 0 : verticalLayout->addLayout(formLayout); 116 : 117 0 : buttonBox = new QDialogButtonBox(AskPassphraseDialog); 118 0 : buttonBox->setObjectName(QString::fromUtf8("buttonBox")); 119 0 : buttonBox->setOrientation(Qt::Horizontal); 120 0 : buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); 121 : 122 0 : verticalLayout->addWidget(buttonBox); 123 : 124 : 125 0 : retranslateUi(AskPassphraseDialog); 126 0 : QObject::connect(buttonBox, SIGNAL(accepted()), AskPassphraseDialog, SLOT(accept())); 127 0 : QObject::connect(buttonBox, SIGNAL(rejected()), AskPassphraseDialog, SLOT(reject())); 128 : 129 0 : QMetaObject::connectSlotsByName(AskPassphraseDialog); 130 0 : } // setupUi 131 : 132 0 : void retranslateUi(QDialog *AskPassphraseDialog) 133 : { 134 0 : AskPassphraseDialog->setWindowTitle(QCoreApplication::translate("AskPassphraseDialog", "Passphrase Dialog", nullptr)); 135 0 : passLabel1->setText(QCoreApplication::translate("AskPassphraseDialog", "Enter passphrase", nullptr)); 136 0 : passLabel2->setText(QCoreApplication::translate("AskPassphraseDialog", "New passphrase", nullptr)); 137 0 : passLabel3->setText(QCoreApplication::translate("AskPassphraseDialog", "Repeat new passphrase", nullptr)); 138 0 : toggleShowPasswordButton->setText(QCoreApplication::translate("AskPassphraseDialog", "Show passphrase", nullptr)); 139 0 : capsLabel->setText(QString()); 140 0 : } // retranslateUi 141 : 142 : }; 143 : 144 : namespace Ui { 145 : class AskPassphraseDialog: public Ui_AskPassphraseDialog {}; 146 : } // namespace Ui 147 : 148 : QT_END_NAMESPACE 149 : 150 : #endif // UI_ASKPASSPHRASEDIALOG_H