|
LibreOffice Module sfx2 (master) 1
|
#include <passwd.hxx>
Public Member Functions | |
| SfxPasswordDialog (weld::Widget *pParent, const OUString *pGroupText=nullptr) | |
| OUString | GetUser () const |
| OUString | GetPassword () const |
| OUString | GetConfirm () const |
| OUString | GetPassword2 () const |
| void | SetGroup2Text (const OUString &i_rText) |
| void | SetMinLen (sal_uInt16 Len) |
| void | SetEditHelpId (const OUString &rId) |
| void | SetConfirmHelpId (const OUString &rId) |
| void | ShowExtras (SfxShowExtras nExtras) |
| void | AllowAsciiOnly () |
| void | ShowMinLengthText (bool bShow) |
| void | PreRun () |
| virtual short | run () override |
| ~SfxPasswordDialog () | |
Public Member Functions inherited from weld::GenericDialogController | |
| GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
| virtual Dialog * | getDialog () override |
| virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
| virtual Dialog * | getDialog ()=0 |
| const Dialog * | getConstDialog () 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_DLLPRIVATE_LINK (OKHdl, weld::Button &, void) | |
| DECL_DLLPRIVATE_LINK (InsertTextHdl, OUString &, bool) | |
| DECL_DLLPRIVATE_LINK (EditModifyHdl, weld::Entry &, void) | |
| void | ModifyHdl () |
| void | SetPasswdText () |
Private Attributes | |
| std::unique_ptr< weld::Frame > | m_xPassword1Box |
| std::unique_ptr< weld::Label > | m_xUserFT |
| std::unique_ptr< weld::Entry > | m_xUserED |
| std::unique_ptr< weld::Label > | m_xPassword1FT |
| std::unique_ptr< weld::Entry > | m_xPassword1ED |
| std::unique_ptr< weld::Label > | m_xConfirm1FT |
| std::unique_ptr< weld::Entry > | m_xConfirm1ED |
| std::unique_ptr< weld::Frame > | m_xPassword2Box |
| std::unique_ptr< weld::Label > | m_xPassword2FT |
| std::unique_ptr< weld::Entry > | m_xPassword2ED |
| std::unique_ptr< weld::Label > | m_xConfirm2FT |
| std::unique_ptr< weld::Entry > | m_xConfirm2ED |
| std::unique_ptr< weld::Label > | m_xMinLengthFT |
| std::unique_ptr< weld::Label > | m_xOnlyAsciiFT |
| std::unique_ptr< weld::Button > | m_xOKBtn |
| std::shared_ptr< weld::MessageDialog > | m_xConfirmFailedDialog |
| OUString | maMinLenPwdStr |
| OUString | maMinLenPwdStr1 |
| OUString | maEmptyPwdStr |
| OUString | maMainPwdStr |
| sal_uInt16 | mnMinLen |
| SfxShowExtras | mnExtras |
| bool | mbAsciiOnly |
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::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 45 of file passwd.hxx.
| SfxPasswordDialog::SfxPasswordDialog | ( | weld::Widget * | pParent, |
| const OUString * | pGroupText = nullptr |
||
| ) |
Definition at line 96 of file passwd.cxx.
References LINK, m_xConfirm1ED, m_xConfirm2ED, m_xOKBtn, m_xPassword1Box, m_xPassword1ED, m_xPassword2ED, NONE, and SetPasswdText().
| SfxPasswordDialog::~SfxPasswordDialog | ( | ) |
Definition at line 220 of file passwd.cxx.
References m_xConfirmFailedDialog, and RET_CANCEL.
| void SfxPasswordDialog::AllowAsciiOnly | ( | ) |
Definition at line 168 of file passwd.cxx.
References m_xOnlyAsciiFT, and mbAsciiOnly.
|
private |
|
private |
|
private |
|
inline |
Definition at line 95 of file passwd.hxx.
|
inline |
Definition at line 91 of file passwd.hxx.
Referenced by sfx2::IMPL_LINK_NOARG(), and lcl_GetPassword().
|
inline |
Definition at line 99 of file passwd.hxx.
|
inline |
Definition at line 87 of file passwd.hxx.
|
private |
Definition at line 32 of file passwd.cxx.
References m_xOKBtn, m_xPassword1ED, m_xPassword2ED, and mnMinLen.
Referenced by SetMinLen().
| void SfxPasswordDialog::PreRun | ( | ) |
Definition at line 174 of file passwd.cxx.
References CONFIRM, CONFIRM2, m_xConfirm1ED, m_xConfirm1FT, m_xConfirm2ED, m_xConfirm2FT, m_xPassword1FT, m_xPassword2Box, m_xPassword2ED, m_xPassword2FT, m_xUserED, m_xUserFT, mnExtras, NONE, PASSWORD2, and USER.
Referenced by run().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 213 of file passwd.cxx.
References PreRun().
Referenced by sfx2::IMPL_LINK_NOARG(), and lcl_GetPassword().
|
inline |
Definition at line 114 of file passwd.hxx.
|
inline |
Definition at line 108 of file passwd.hxx.
|
inline |
Definition at line 103 of file passwd.hxx.
| void SfxPasswordDialog::SetMinLen | ( | sal_uInt16 | Len | ) |
Definition at line 156 of file passwd.cxx.
References mnMinLen, ModifyHdl(), and SetPasswdText().
Referenced by lcl_GetPassword().
|
private |
Definition at line 137 of file passwd.cxx.
References m_xMinLengthFT, maEmptyPwdStr, maMainPwdStr, maMinLenPwdStr, maMinLenPwdStr1, and mnMinLen.
Referenced by SetMinLen(), and SfxPasswordDialog().
|
inline |
Definition at line 119 of file passwd.hxx.
Referenced by sfx2::IMPL_LINK_NOARG(), and lcl_GetPassword().
| void SfxPasswordDialog::ShowMinLengthText | ( | bool | bShow | ) |
Definition at line 163 of file passwd.cxx.
References m_xMinLengthFT.
|
private |
Definition at line 54 of file passwd.hxx.
Referenced by PreRun(), and SfxPasswordDialog().
|
private |
Definition at line 53 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 60 of file passwd.hxx.
Referenced by PreRun(), and SfxPasswordDialog().
|
private |
Definition at line 59 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 67 of file passwd.hxx.
Referenced by ~SfxPasswordDialog().
|
private |
Definition at line 62 of file passwd.hxx.
Referenced by SetPasswdText(), and ShowMinLengthText().
|
private |
Definition at line 65 of file passwd.hxx.
Referenced by ModifyHdl(), and SfxPasswordDialog().
|
private |
Definition at line 63 of file passwd.hxx.
Referenced by AllowAsciiOnly().
|
private |
Definition at line 48 of file passwd.hxx.
Referenced by SfxPasswordDialog().
|
private |
Definition at line 52 of file passwd.hxx.
Referenced by ModifyHdl(), and SfxPasswordDialog().
|
private |
Definition at line 51 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 56 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 58 of file passwd.hxx.
Referenced by ModifyHdl(), PreRun(), and SfxPasswordDialog().
|
private |
Definition at line 57 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 50 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 49 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 71 of file passwd.hxx.
Referenced by SetPasswdText().
|
private |
Definition at line 72 of file passwd.hxx.
Referenced by SetPasswdText().
|
private |
Definition at line 69 of file passwd.hxx.
Referenced by SetPasswdText().
|
private |
Definition at line 70 of file passwd.hxx.
Referenced by SetPasswdText().
|
private |
Definition at line 76 of file passwd.hxx.
Referenced by AllowAsciiOnly().
|
private |
Definition at line 74 of file passwd.hxx.
Referenced by PreRun().
|
private |
Definition at line 73 of file passwd.hxx.
Referenced by ModifyHdl(), SetMinLen(), and SetPasswdText().