qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
Public Types | Public Member Functions | Static Public Member Functions | Private Slots | Private Attributes | Static Private Attributes | List of all members
SetPasswordDialog Class Reference

#include <setpassworddialog.h>

Inheritance diagram for SetPasswordDialog:
Inheritance graph
Collaboration diagram for SetPasswordDialog:
Collaboration graph

Public Types

enum  ReturnCode { Rejected = QDialog::Rejected, Accepted = QDialog::Accepted, Tertiary }
 

Public Member Functions

 SetPasswordDialog (QString body, QString extraButton, QWidget *parent=nullptr)
 
 ~SetPasswordDialog ()
 
QString getPassword ()
 

Static Public Member Functions

static int getPasswordStrength (QString pass)
 

Private Slots

void onPasswordEdit ()
 

Private Attributes

Ui::SetPasswordDialog * ui
 
QString body
 

Static Private Attributes

static const double reasonablePasswordLength = 8.
 

Detailed Description

Definition at line 28 of file setpassworddialog.h.

Member Enumeration Documentation

◆ ReturnCode

Enumerator
Rejected 
Accepted 
Tertiary 

Definition at line 33 of file setpassworddialog.h.

Constructor & Destructor Documentation

◆ SetPasswordDialog()

SetPasswordDialog::SetPasswordDialog ( QString  body,
QString  extraButton,
QWidget *  parent = nullptr 
)
explicit

Definition at line 28 of file setpassworddialog.cpp.

Here is the call graph for this function:

◆ ~SetPasswordDialog()

SetPasswordDialog::~SetPasswordDialog ( )

Definition at line 52 of file setpassworddialog.cpp.

Member Function Documentation

◆ getPassword()

QString SetPasswordDialog::getPassword ( )

Definition at line 105 of file setpassworddialog.cpp.

Here is the caller graph for this function:

◆ getPasswordStrength()

int SetPasswordDialog::getPasswordStrength ( QString  pass)
static

Definition at line 78 of file setpassworddialog.cpp.

Here is the caller graph for this function:

◆ onPasswordEdit

void SetPasswordDialog::onPasswordEdit ( )
privateslot

Definition at line 57 of file setpassworddialog.cpp.

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

Member Data Documentation

◆ body

QString SetPasswordDialog::body
private

Definition at line 49 of file setpassworddialog.h.

◆ reasonablePasswordLength

const double SetPasswordDialog::reasonablePasswordLength = 8.
staticprivate

Definition at line 50 of file setpassworddialog.h.

◆ ui

Ui::SetPasswordDialog* SetPasswordDialog::ui
private

Definition at line 48 of file setpassworddialog.h.


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