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

#include <passwdomdlg.hxx>

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

Public Member Functions

 PasswordToOpenModifyDialog (weld::Window *pParent, sal_uInt16 nMaxPasswdLen, bool bIsPasswordToModify)
 
 ~PasswordToOpenModifyDialog ()
 
OUString GetPasswordToOpen () const
 
OUString GetPasswordToModify () const
 
bool IsRecommendToOpenReadonly () const
 
void AllowEmpty ()
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Private Member Functions

 DECL_LINK (OkBtnClickHdl, weld::Button &, void)
 
 DECL_LINK (ReadonlyOnOffHdl, weld::Toggleable &, void)
 
 DECL_LINK (ChangeHdl, weld::Entry &, void)
 
 PasswordToOpenModifyDialog (const PasswordToOpenModifyDialog &)=delete
 
PasswordToOpenModifyDialogoperator= (const PasswordToOpenModifyDialog &)=delete
 

Private Attributes

std::unique_ptr< weld::Entrym_xPasswdToOpenED
 
std::unique_ptr< weld::Labelm_xPasswdToOpenInd
 
std::unique_ptr< weld::Entrym_xReenterPasswdToOpenED
 
std::unique_ptr< weld::Labelm_xReenterPasswdToOpenInd
 
std::unique_ptr< weld::Expanderm_xOptionsExpander
 
std::unique_ptr< weld::Buttonm_xOk
 
std::unique_ptr< weld::CheckButtonm_xOpenReadonlyCB
 
std::unique_ptr< weld::Labelm_xPasswdToModifyFT
 
std::unique_ptr< weld::Entrym_xPasswdToModifyED
 
std::unique_ptr< weld::Labelm_xPasswdToModifyInd
 
std::unique_ptr< weld::Labelm_xReenterPasswdToModifyFT
 
std::unique_ptr< weld::Entrym_xReenterPasswdToModifyED
 
std::unique_ptr< weld::Labelm_xReenterPasswdToModifyInd
 
std::shared_ptr< weld::MessageDialogm_xErrorBox
 
OUString m_aOneMismatch
 
OUString m_aTwoMismatch
 
OUString m_aInvalidStateForOkButton
 
OUString m_aInvalidStateForOkButton_v2
 
int m_nMaxPasswdLen
 
bool m_bIsPasswordToModify
 
bool m_bAllowEmpty
 

Detailed Description

Definition at line 24 of file passwdomdlg.hxx.

Constructor & Destructor Documentation

◆ PasswordToOpenModifyDialog() [1/2]

PasswordToOpenModifyDialog::PasswordToOpenModifyDialog ( const PasswordToOpenModifyDialog )
privatedelete

◆ PasswordToOpenModifyDialog() [2/2]

PasswordToOpenModifyDialog::PasswordToOpenModifyDialog ( weld::Window pParent,
sal_uInt16  nMaxPasswdLen,
bool  bIsPasswordToModify 
)

◆ ~PasswordToOpenModifyDialog()

PasswordToOpenModifyDialog::~PasswordToOpenModifyDialog ( )

Definition at line 150 of file passwdomdlg.cxx.

References m_xErrorBox, and RET_CANCEL.

Member Function Documentation

◆ AllowEmpty()

void PasswordToOpenModifyDialog::AllowEmpty ( )

Definition at line 158 of file passwdomdlg.cxx.

References m_bAllowEmpty.

◆ DECL_LINK() [1/3]

PasswordToOpenModifyDialog::DECL_LINK ( ChangeHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [2/3]

PasswordToOpenModifyDialog::DECL_LINK ( OkBtnClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

PasswordToOpenModifyDialog::DECL_LINK ( ReadonlyOnOffHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetPasswordToModify()

OUString PasswordToOpenModifyDialog::GetPasswordToModify ( ) const

Definition at line 172 of file passwdomdlg.cxx.

References m_xPasswdToModifyED, and m_xReenterPasswdToModifyED.

◆ GetPasswordToOpen()

OUString PasswordToOpenModifyDialog::GetPasswordToOpen ( ) const

Definition at line 163 of file passwdomdlg.cxx.

References m_xPasswdToOpenED, and m_xReenterPasswdToOpenED.

◆ IsRecommendToOpenReadonly()

bool PasswordToOpenModifyDialog::IsRecommendToOpenReadonly ( ) const

Definition at line 181 of file passwdomdlg.cxx.

References m_xOpenReadonlyCB.

◆ operator=()

PasswordToOpenModifyDialog & PasswordToOpenModifyDialog::operator= ( const PasswordToOpenModifyDialog )
privatedelete

Member Data Documentation

◆ m_aInvalidStateForOkButton

OUString PasswordToOpenModifyDialog::m_aInvalidStateForOkButton
private

Definition at line 43 of file passwdomdlg.hxx.

◆ m_aInvalidStateForOkButton_v2

OUString PasswordToOpenModifyDialog::m_aInvalidStateForOkButton_v2
private

Definition at line 44 of file passwdomdlg.hxx.

◆ m_aOneMismatch

OUString PasswordToOpenModifyDialog::m_aOneMismatch
private

Definition at line 41 of file passwdomdlg.hxx.

◆ m_aTwoMismatch

OUString PasswordToOpenModifyDialog::m_aTwoMismatch
private

Definition at line 42 of file passwdomdlg.hxx.

◆ m_bAllowEmpty

bool PasswordToOpenModifyDialog::m_bAllowEmpty
private

Definition at line 48 of file passwdomdlg.hxx.

Referenced by AllowEmpty().

◆ m_bIsPasswordToModify

bool PasswordToOpenModifyDialog::m_bIsPasswordToModify
private

Definition at line 47 of file passwdomdlg.hxx.

◆ m_nMaxPasswdLen

int PasswordToOpenModifyDialog::m_nMaxPasswdLen
private

Definition at line 46 of file passwdomdlg.hxx.

◆ m_xErrorBox

std::shared_ptr<weld::MessageDialog> PasswordToOpenModifyDialog::m_xErrorBox
private

Definition at line 39 of file passwdomdlg.hxx.

Referenced by ~PasswordToOpenModifyDialog().

◆ m_xOk

std::unique_ptr<weld::Button> PasswordToOpenModifyDialog::m_xOk
private

Definition at line 31 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

◆ m_xOpenReadonlyCB

std::unique_ptr<weld::CheckButton> PasswordToOpenModifyDialog::m_xOpenReadonlyCB
private

Definition at line 32 of file passwdomdlg.hxx.

Referenced by IsRecommendToOpenReadonly(), and PasswordToOpenModifyDialog().

◆ m_xOptionsExpander

std::unique_ptr<weld::Expander> PasswordToOpenModifyDialog::m_xOptionsExpander
private

Definition at line 30 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

◆ m_xPasswdToModifyED

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xPasswdToModifyED
private

Definition at line 34 of file passwdomdlg.hxx.

Referenced by GetPasswordToModify(), and PasswordToOpenModifyDialog().

◆ m_xPasswdToModifyFT

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xPasswdToModifyFT
private

Definition at line 33 of file passwdomdlg.hxx.

◆ m_xPasswdToModifyInd

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xPasswdToModifyInd
private

Definition at line 35 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

◆ m_xPasswdToOpenED

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xPasswdToOpenED
private

Definition at line 26 of file passwdomdlg.hxx.

Referenced by GetPasswordToOpen(), and PasswordToOpenModifyDialog().

◆ m_xPasswdToOpenInd

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xPasswdToOpenInd
private

Definition at line 27 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

◆ m_xReenterPasswdToModifyED

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xReenterPasswdToModifyED
private

Definition at line 37 of file passwdomdlg.hxx.

Referenced by GetPasswordToModify(), and PasswordToOpenModifyDialog().

◆ m_xReenterPasswdToModifyFT

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xReenterPasswdToModifyFT
private

Definition at line 36 of file passwdomdlg.hxx.

◆ m_xReenterPasswdToModifyInd

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xReenterPasswdToModifyInd
private

Definition at line 38 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().

◆ m_xReenterPasswdToOpenED

std::unique_ptr<weld::Entry> PasswordToOpenModifyDialog::m_xReenterPasswdToOpenED
private

Definition at line 28 of file passwdomdlg.hxx.

Referenced by GetPasswordToOpen(), and PasswordToOpenModifyDialog().

◆ m_xReenterPasswdToOpenInd

std::unique_ptr<weld::Label> PasswordToOpenModifyDialog::m_xReenterPasswdToOpenInd
private

Definition at line 29 of file passwdomdlg.hxx.

Referenced by PasswordToOpenModifyDialog().


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