LibreOffice Module uui (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PasswordDialog Class Reference

#include <passworddlg.hxx>

Inheritance diagram for PasswordDialog:
[legend]
Collaboration diagram for PasswordDialog:
[legend]

Public Member Functions

 PasswordDialog (weld::Window *pParent, css::task::PasswordRequestMode nDlgMode, const std::locale &rLocale, const OUString &aDocURL, bool bOpenToModify, bool bIsSimplePasswordRequest)
 
void SetMinLen (sal_uInt16 nMin)
 
OUString GetPassword () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (OKHdl_Impl, weld::Button &, void)
 

Private Attributes

std::unique_ptr< weld::Labelm_xFTPassword
 
std::unique_ptr< weld::Entrym_xEDPassword
 
std::unique_ptr< weld::Labelm_xFTConfirmPassword
 
std::unique_ptr< weld::Entrym_xEDConfirmPassword
 
std::unique_ptr< weld::Buttonm_xOKBtn
 
sal_uInt16 nMinLen
 
OUString aPasswdMismatch
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 25 of file passworddlg.hxx.

Constructor & Destructor Documentation

◆ PasswordDialog()

PasswordDialog::PasswordDialog ( weld::Window pParent,
css::task::PasswordRequestMode  nDlgMode,
const std::locale &  rLocale,
const OUString &  aDocURL,
bool  bOpenToModify,
bool  bIsSimplePasswordRequest 
)

Member Function Documentation

◆ DECL_LINK()

PasswordDialog::DECL_LINK ( OKHdl_Impl  ,
weld::Button ,
void   
)
private

◆ GetPassword()

OUString PasswordDialog::GetPassword ( ) const
inline

Definition at line 43 of file passworddlg.hxx.

References m_xEDPassword.

◆ SetMinLen()

void PasswordDialog::SetMinLen ( sal_uInt16  nMin)
inline

Definition at line 42 of file passworddlg.hxx.

References nMinLen.

Member Data Documentation

◆ aPasswdMismatch

OUString PasswordDialog::aPasswdMismatch
private

Definition at line 33 of file passworddlg.hxx.

◆ m_xEDConfirmPassword

std::unique_ptr<weld::Entry> PasswordDialog::m_xEDConfirmPassword
private

Definition at line 30 of file passworddlg.hxx.

Referenced by PasswordDialog().

◆ m_xEDPassword

std::unique_ptr<weld::Entry> PasswordDialog::m_xEDPassword
private

Definition at line 28 of file passworddlg.hxx.

Referenced by GetPassword().

◆ m_xFTConfirmPassword

std::unique_ptr<weld::Label> PasswordDialog::m_xFTConfirmPassword
private

Definition at line 29 of file passworddlg.hxx.

Referenced by PasswordDialog().

◆ m_xFTPassword

std::unique_ptr<weld::Label> PasswordDialog::m_xFTPassword
private

Definition at line 27 of file passworddlg.hxx.

Referenced by PasswordDialog().

◆ m_xOKBtn

std::unique_ptr<weld::Button> PasswordDialog::m_xOKBtn
private

Definition at line 31 of file passworddlg.hxx.

Referenced by PasswordDialog().

◆ nMinLen

sal_uInt16 PasswordDialog::nMinLen
private

Definition at line 32 of file passworddlg.hxx.

Referenced by SetMinLen().


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