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);
103 capsLabel->setObjectName(QStringLiteral(
"capsLabel"));
108 capsLabel->setAlignment(Qt::AlignCenter);
123 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
124 buttonBox->setOrientation(Qt::Horizontal);
125 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
139 AskPassphraseDialog->setWindowTitle(QApplication::translate(
"AskPassphraseDialog",
"Passphrase Dialog", 0));
140 passLabel1->setText(QApplication::translate(
"AskPassphraseDialog",
"Enter passphrase", 0));
141 passLabel2->setText(QApplication::translate(
"AskPassphraseDialog",
"New passphrase", 0));
142 passLabel3->setText(QApplication::translate(
"AskPassphraseDialog",
"Repeat new passphrase", 0));
144 #ifndef QT_NO_TOOLTIP 145 mixingOnlyCheckBox->setToolTip(QApplication::translate(
"AskPassphraseDialog",
"Serves to disable the trivial sendmoney when OS account compromised. Provides no real security.", 0));
146 #endif // QT_NO_TOOLTIP 147 mixingOnlyCheckBox->setText(QApplication::translate(
"AskPassphraseDialog",
"Only for mixing via PrivateSend", 0));
158 #endif // UI_ASKPASSPHRASEDIALOG_H
void retranslateUi(QDialog *AskPassphraseDialog)
QDialogButtonBox * buttonBox
void setupUi(QDialog *AskPassphraseDialog)
QCheckBox * mixingOnlyCheckBox
QVBoxLayout * verticalLayout