3#ifndef SRC_PASSWORDDIALOG_H_
4#define SRC_PASSWORDDIALOG_H_
90 QWidget *parent =
nullptr);
91 PasswordDialog(QString file,
const bool &isNew, QWidget *parent =
nullptr);
110 void setTemplate(
const QString &rawFields,
bool useTemplate);
118 void setPass(
const QString &output);
121 void on_checkBoxShow_stateChanged(
int arg1);
122 void on_createPasswordButton_clicked();
127 Ui::PasswordDialog *ui;
129 QStringList m_fields;
134 QList<QLineEdit *> templateLines;
135 QList<QLineEdit *> otherLines;
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(PasswordConfiguration passConfig, QWidget *parent=nullptr)
PasswordDialog::PasswordDialog basic constructor.
~PasswordDialog() override
PasswordDialog::~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)
Sets the password from pass show output.
auto getPassword() -> QString
Returns the password as set in the password field in the interface.
Holds the Password configuration settings.