Lot of password related changes all over the place.
Password is no longer saved with the connection list. Password is not entered along with other connection credentials. Password is now asked for when required. Still working on saving the password and auto retrieving it from the password manager.
This commit is contained in:
parent
6b9b602c64
commit
2230a4bd61
21 changed files with 508 additions and 195 deletions
32
pglab/PasswordPromptDialog.h
Normal file
32
pglab/PasswordPromptDialog.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef PASSWORDPROMPTDIALOG_H
|
||||
#define PASSWORDPROMPTDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class QCheckBox;
|
||||
class QLabel;
|
||||
class QLineEdit;
|
||||
|
||||
class PasswordPromptDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PasswordPromptDialog(QWidget *parent = nullptr);
|
||||
|
||||
void setConnectionDescription(const QString &description);
|
||||
|
||||
QString password() const;
|
||||
private:
|
||||
QLabel *m_connectionLabel = nullptr;
|
||||
QLabel *m_passwordLabel = nullptr;
|
||||
QLineEdit *m_passwordInput = nullptr;
|
||||
QCheckBox *m_saveCheck = nullptr;
|
||||
|
||||
void retranslateUi();
|
||||
|
||||
private slots:
|
||||
// void accept();
|
||||
// void reject();
|
||||
};
|
||||
|
||||
#endif // PASSWORDPROMPTDIALOG_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue