LibreOffice Module uui (master) 1
|
#include <logindlg.hxx>
Public Member Functions | |
LoginDialog (weld::Window *pParent, LoginFlags nFlags, OUString aServer, OUString aRealm) | |
virtual | ~LoginDialog () override |
OUString | GetName () const |
void | SetName (const OUString &rNewName) |
OUString | GetPassword () const |
void | SetPassword (const OUString &rNew) |
OUString | GetAccount () const |
bool | IsSavePassword () const |
void | SetSavePassword (bool bSave) |
void | SetSavePasswordText (const OUString &rTxt) |
bool | IsUseSystemCredentials () const |
void | SetUseSystemCredentials (bool bUse) |
void | SetErrorText (const OUString &rTxt) |
void | ClearPassword () |
void | ClearAccount () |
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 | |
void | HideControls_Impl (LoginFlags nFlags) |
void | EnableUseSysCredsControls_Impl (bool bUseSysCredsEnabled) |
void | SetRequest () |
DECL_LINK (OKHdl_Impl, weld::Button &, void) | |
DECL_LINK (UseSysCredsHdl_Impl, weld::Toggleable &, void) | |
Private Attributes | |
std::unique_ptr< weld::Label > | m_xErrorFT |
std::unique_ptr< weld::Label > | m_xErrorInfo |
std::unique_ptr< weld::Label > | m_xRequestInfo |
std::unique_ptr< weld::Label > | m_xNameFT |
std::unique_ptr< weld::Entry > | m_xNameED |
std::unique_ptr< weld::Label > | m_xPasswordFT |
std::unique_ptr< weld::Entry > | m_xPasswordED |
std::unique_ptr< weld::Label > | m_xAccountFT |
std::unique_ptr< weld::Entry > | m_xAccountED |
std::unique_ptr< weld::CheckButton > | m_xSavePasswdBtn |
std::unique_ptr< weld::CheckButton > | m_xUseSysCredsCB |
std::unique_ptr< weld::Button > | m_xOKBtn |
OUString | m_server |
OUString | m_realm |
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 39 of file logindlg.hxx.
LoginDialog::LoginDialog | ( | weld::Window * | pParent, |
LoginFlags | nFlags, | ||
OUString | aServer, | ||
OUString | aRealm | ||
) |
Definition at line 114 of file logindlg.cxx.
References _MAX_PATH, EnableUseSysCredsControls_Impl(), HideControls_Impl(), LINK, m_xNameED, m_xOKBtn, m_xUseSysCredsCB, NoUseSysCreds, and SetRequest().
|
overridevirtual |
Definition at line 31 of file logindlg.cxx.
void LoginDialog::ClearAccount | ( | ) |
Definition at line 163 of file logindlg.cxx.
References m_xAccountED.
void LoginDialog::ClearPassword | ( | ) |
Definition at line 153 of file logindlg.cxx.
References m_xNameED, and m_xPasswordED.
|
private |
|
private |
|
private |
Definition at line 69 of file logindlg.cxx.
References m_xAccountED, m_xAccountFT, m_xErrorFT, m_xErrorInfo, m_xNameED, m_xNameFT, m_xPasswordED, m_xPasswordFT, and m_xRequestInfo.
Referenced by LoginDialog(), and SetUseSystemCredentials().
|
inline |
Definition at line 72 of file logindlg.hxx.
References m_xAccountED.
|
inline |
Definition at line 68 of file logindlg.hxx.
References m_xNameED.
|
inline |
Definition at line 70 of file logindlg.hxx.
References m_xPasswordED.
|
private |
Definition at line 41 of file logindlg.cxx.
References m_xAccountED, m_xAccountFT, m_xErrorFT, m_xErrorInfo, m_xNameED, m_xSavePasswdBtn, m_xUseSysCredsCB, NoAccount, NoErrorText, NoSavePassword, NoUseSysCreds, and UsernameReadonly.
Referenced by LoginDialog().
|
inline |
Definition at line 73 of file logindlg.hxx.
References m_xSavePasswdBtn.
|
inline |
Definition at line 76 of file logindlg.hxx.
References m_xUseSysCredsCB.
|
inline |
Definition at line 78 of file logindlg.hxx.
References m_xErrorInfo.
|
inline |
Definition at line 69 of file logindlg.hxx.
References m_xNameED.
void LoginDialog::SetPassword | ( | const OUString & | rNew | ) |
Definition at line 35 of file logindlg.cxx.
References m_xPasswordED, and SetRequest().
|
private |
Definition at line 82 of file logindlg.cxx.
References m_realm, m_server, m_xAccountFT, weld::GenericDialogController::m_xBuilder, m_xPasswordED, and m_xRequestInfo.
Referenced by LoginDialog(), and SetPassword().
|
inline |
Definition at line 74 of file logindlg.hxx.
References m_xSavePasswdBtn.
|
inline |
Definition at line 75 of file logindlg.hxx.
References m_xSavePasswdBtn.
void LoginDialog::SetUseSystemCredentials | ( | bool | bUse | ) |
Definition at line 144 of file logindlg.cxx.
References EnableUseSysCredsControls_Impl(), and m_xUseSysCredsCB.
|
private |
Definition at line 54 of file logindlg.hxx.
Referenced by SetRequest().
|
private |
Definition at line 53 of file logindlg.hxx.
Referenced by SetRequest().
|
private |
Definition at line 49 of file logindlg.hxx.
Referenced by ClearAccount(), EnableUseSysCredsControls_Impl(), GetAccount(), and HideControls_Impl().
|
private |
Definition at line 48 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl(), HideControls_Impl(), and SetRequest().
|
private |
Definition at line 41 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl(), and HideControls_Impl().
|
private |
Definition at line 42 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl(), HideControls_Impl(), and SetErrorText().
|
private |
Definition at line 45 of file logindlg.hxx.
Referenced by ClearPassword(), EnableUseSysCredsControls_Impl(), GetName(), HideControls_Impl(), LoginDialog(), and SetName().
|
private |
Definition at line 44 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl().
|
private |
Definition at line 52 of file logindlg.hxx.
Referenced by LoginDialog().
|
private |
Definition at line 47 of file logindlg.hxx.
Referenced by ClearPassword(), EnableUseSysCredsControls_Impl(), GetPassword(), SetPassword(), and SetRequest().
|
private |
Definition at line 46 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl().
|
private |
Definition at line 43 of file logindlg.hxx.
Referenced by EnableUseSysCredsControls_Impl(), and SetRequest().
|
private |
Definition at line 50 of file logindlg.hxx.
Referenced by HideControls_Impl(), IsSavePassword(), SetSavePassword(), and SetSavePasswordText().
|
private |
Definition at line 51 of file logindlg.hxx.
Referenced by HideControls_Impl(), IsUseSystemCredentials(), LoginDialog(), and SetUseSystemCredentials().