3#ifndef SRC_PASSWORDDIALOG_H_
4#define SRC_PASSWORDDIALOG_H_
27 QWidget *parent =
nullptr);
28 PasswordDialog(QString file,
const bool &isNew, QWidget *parent =
nullptr);
47 void setTemplate(
const QString &rawFields,
bool useTemplate);
55 void setPass(
const QString &output);
58 void on_checkBoxShow_stateChanged(
int arg1);
59 void on_createPasswordButton_clicked();
64 Ui::PasswordDialog *ui;
71 QList<QLineEdit *> templateLines;
72 QList<QLineEdit *> otherLines;
PasswordDialog Handles the inserting and editing of passwords.
void setPasswordCharTemplate(int t)
PasswordDialog::setPasswordCharTemplate PasswordDialog::setPasswordCharTemplate chose the template st...
void setPassword(const QString &password)
Sets content in the password field in the interface.
~PasswordDialog()
Pass{}{}wordDialog::~PasswordDialog basic destructor.
void usePwgen(bool usePwgen)
PasswordDialog::usePwgen PasswordDialog::usePwgen don't use own password generator.
void setTemplate(const QString &rawFields, bool useTemplate)
Sets content in the template for the interface.
void templateAll(bool templateAll)
PasswordDialog::templateAll basic setter for use in PasswordDialog::setPassword templating all tokeni...
void setLength(int l)
PasswordDialog::setLength PasswordDialog::setLength password length.
void setPass(const QString &output)
auto getPassword() -> QString
Returns the password as set in the password field in the interface.
Holds the Password configuration settings.