| 4 | #include "ui_DlgInputPassword.h" |
| 5 | |
| 6 | CDlgInputPassword::CDlgInputPassword(bool bShow, bool bStore, QWidget *parent) |
| 7 | : QDialog(parent), |
| 8 | ui(new Ui::CDlgInputPassword) |
| 9 | { |
| 10 | ui->setupUi(this); |
| 11 | ui->pbShow->setEnabled(bShow); |
| 12 | if(bStore) |
| 13 | setWindowTitle(tr("Store password")); |
| 14 | else |
| 15 | setWindowTitle(tr("Restore password")); |
| 16 | QString szDescript = tr("The encryption key is used to encrypt the password that is saved to the file."); |
| 17 | ui->lbDescript->setText(szDescript); |
| 18 | } |
| 19 | |
| 20 | CDlgInputPassword::~CDlgInputPassword() |
| 21 | { |