QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
Public Slots | Public Member Functions | List of all members
PasswordDialog Class Reference

PasswordDialog Handles the inserting and editing of passwords. More...

#include <passworddialog.h>

+ Inheritance diagram for PasswordDialog:
+ Collaboration diagram for PasswordDialog:

Public Slots

void setPass (const QString &output)
 

Public Member Functions

 PasswordDialog (PasswordConfiguration passConfig, QWidget *parent=nullptr)
 PasswordDialog::PasswordDialog basic constructor.
 
 PasswordDialog (QString file, const bool &isNew, QWidget *parent=nullptr)
 PasswordDialog::PasswordDialog complete constructor.
 
 ~PasswordDialog ()
 Pass{}{}wordDialog::~PasswordDialog basic destructor.
 
void setPassword (const QString &password)
 Sets content in the password field in the interface.
 
auto getPassword () -> QString
 Returns the password as set in the password field in the interface.
 
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 tokenisable lines.
 
void setLength (int l)
 PasswordDialog::setLength PasswordDialog::setLength password length.
 
void setPasswordCharTemplate (int t)
 PasswordDialog::setPasswordCharTemplate PasswordDialog::setPasswordCharTemplate chose the template style.
 
void usePwgen (bool usePwgen)
 PasswordDialog::usePwgen PasswordDialog::usePwgen don't use own password generator.
 

Detailed Description

PasswordDialog Handles the inserting and editing of passwords.

Includes templated views.

Definition at line 22 of file passworddialog.h.

Constructor & Destructor Documentation

◆ PasswordDialog() [1/2]

PasswordDialog::PasswordDialog ( PasswordConfiguration  passConfig,
QWidget *  parent = nullptr 
)
explicit

PasswordDialog::PasswordDialog basic constructor.

Parameters
passConfigconfiguration constant
parent

Definition at line 24 of file passworddialog.cpp.

+ Here is the call graph for this function:

◆ PasswordDialog() [2/2]

PasswordDialog::PasswordDialog ( QString  file,
const bool &  isNew,
QWidget *  parent = nullptr 
)

PasswordDialog::PasswordDialog complete constructor.

Parameters
file
isNew
parentpointer

Definition at line 46 of file passworddialog.cpp.

+ Here is the call graph for this function:

◆ ~PasswordDialog()

PasswordDialog::~PasswordDialog ( )

Pass{}{}wordDialog::~PasswordDialog basic destructor.

Definition at line 77 of file passworddialog.cpp.

Member Function Documentation

◆ getPassword()

auto PasswordDialog::getPassword ( ) -> QString

Returns the password as set in the password field in the interface.

PasswordDialog::getPassword join the (templated) fields to a QString for writing back.

Returns
password as a QString
See also
setPassword
Returns
collappsed password.

Definition at line 165 of file passworddialog.cpp.

◆ setLength()

void PasswordDialog::setLength ( int  l)

PasswordDialog::setLength PasswordDialog::setLength password length.

Parameters
l

Definition at line 219 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setPass

void PasswordDialog::setPass ( const QString &  output)
slot

Definition at line 240 of file passworddialog.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPassword()

void PasswordDialog::setPassword ( const QString &  password)

Sets content in the password field in the interface.

PasswordDialog::setPassword populate the (templated) fields.

Parameters
passwordthe password as a QString
See also
getPassword
Parameters
password

Definition at line 133 of file passworddialog.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPasswordCharTemplate()

void PasswordDialog::setPasswordCharTemplate ( int  t)

PasswordDialog::setPasswordCharTemplate PasswordDialog::setPasswordCharTemplate chose the template style.

Parameters
t

Definition at line 226 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ setTemplate()

void PasswordDialog::setTemplate ( const QString &  rawFields,
bool  useTemplate 
)

Sets content in the template for the interface.

PasswordDialog::setTemplate set the template and create the fields.

Parameters
rawFieldsis the template as a QString
useTemplatewhether the template is used
rawFields

Definition at line 184 of file passworddialog.cpp.

+ Here is the caller graph for this function:

◆ templateAll()

void PasswordDialog::templateAll ( bool  templateAll)

PasswordDialog::templateAll basic setter for use in PasswordDialog::setPassword templating all tokenisable lines.

Parameters
templateAll

Definition at line 210 of file passworddialog.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ usePwgen()

void PasswordDialog::usePwgen ( bool  usePwgen)

PasswordDialog::usePwgen PasswordDialog::usePwgen don't use own password generator.

Parameters
usePwgen

Definition at line 235 of file passworddialog.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: