ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaGUIDialogLogin Class Reference

#include <albaGUIDialogLogin.h>

Inheritance diagram for albaGUIDialogLogin:
Inheritance graph
[legend]
Collaboration diagram for albaGUIDialogLogin:
Collaboration graph
[legend]

Public Member Functions

 albaGUIDialogLogin (const wxString &title, long style=albaCLOSEWINDOW|albaOK|albaCANCEL)
 
virtual ~albaGUIDialogLogin ()
 
void OnEvent (albaEventBase *alba_event)
 
void SetUserCredentials (albaString &usename, albaString &pwd, int &proxyFlag, albaString &proxyHost, int &proxyPort, int &remember_me)
 
albaStringGetUser ()
 
albaStringGetPwd ()
 
int GetProxyFlag ()
 
albaStringGetProxyHost ()
 
int GetProxyPort ()
 
void SetRememberUserCredentials (int remember=1)
 
int GetRememberUserCredentials ()
 
- Public Member Functions inherited from albaGUIDialog
 albaGUIDialog (const wxString &title, long style=albaCLOSEWINDOW|albaRESIZABLE|albaCLOSE)
 
virtual ~albaGUIDialog ()
 
void SetListener (albaObserver *Listener)
 
void OnEvent (albaEventBase *alba_event)
 
void Add (wxWindow *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (albaGUI *window, int option=0, int flag=wxEXPAND, int border=0)
 
void Add (wxSizer *sizer, int option=0, int flag=wxEXPAND, int border=0)
 
bool Remove (wxWindow *window)
 
bool Remove (wxSizer *sizer)
 
int ShowModal ()
 
void EnableOk (bool enable)
 
void EnableCancel (bool enable)
 
void EnableClose (bool enable)
 
virtual void WXSetInitialFittingClientSize (int flags, wxSizer *sizer=NULL)
 
virtual void OnOK (wxCommandEvent &event)
 
virtual void OnCancel (wxCommandEvent &event)
 
virtual void OnCloseWindow (wxCloseEvent &event)
 
virtual void OnSize (wxSizeEvent &event)
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void EnableItems ()
 

Protected Attributes

albaGUIm_Gui
 
albaString m_Username
 
albaString m_Pwd
 
albaString m_UsernameOld
 
albaString m_PwdOld
 
albaString m_ProxyHost
 
int m_ProxyFlag
 
int m_ProxyPort
 
bool m_InformationsInserted
 
int m_RememberMe
 

Additional Inherited Members

- Public Attributes inherited from albaGUIDialog
wxBoxSizer * m_GuiSizer
 
wxBoxSizer * m_ButtonsSizer
 
wxBoxSizer * m_DialogSizer
 
wxButton * m_OkButton
 
wxButton * m_CancelButton
 
wxButton * m_CloseButton
 
albaObserverm_Listener
 

Detailed Description

albaGUIDialogLogin - a dialog widget with a find VME GUI.

See also
albaGUIDialog

Definition at line 31 of file albaGUIDialogLogin.h.

Constructor & Destructor Documentation

◆ albaGUIDialogLogin()

albaGUIDialogLogin::albaGUIDialogLogin ( const wxString &  title,
long  style = albaCLOSEWINDOW|albaOK|albaCANCEL 
)

◆ ~albaGUIDialogLogin()

virtual albaGUIDialogLogin::~albaGUIDialogLogin ( )
virtual

Member Function Documentation

◆ OnEvent()

void albaGUIDialogLogin::OnEvent ( albaEventBase e)
virtual

process the events sent by subjects

Reimplemented from albaGUIDialog.

◆ SetUserCredentials()

void albaGUIDialogLogin::SetUserCredentials ( albaString usename,
albaString pwd,
int &  proxyFlag,
albaString proxyHost,
int &  proxyPort,
int &  remember_me 
)

Set the user credentials.

◆ GetUser()

albaString & albaGUIDialogLogin::GetUser ( )

Return the username information.

◆ GetPwd()

albaString & albaGUIDialogLogin::GetPwd ( )

Return the password information.

◆ GetProxyFlag()

int albaGUIDialogLogin::GetProxyFlag ( )
inline

Select image type during saving of the views.

Definition at line 49 of file albaGUIDialogLogin.h.

References m_ProxyFlag.

◆ GetProxyHost()

albaString & albaGUIDialogLogin::GetProxyHost ( )

Select image type during saving of the views.

◆ GetProxyPort()

int albaGUIDialogLogin::GetProxyPort ( )

Get Port in proxy connection.

◆ SetRememberUserCredentials()

void albaGUIDialogLogin::SetRememberUserCredentials ( int  remember = 1)
inline

Set the flag to store user credentials.

Definition at line 58 of file albaGUIDialogLogin.h.

References m_RememberMe.

◆ GetRememberUserCredentials()

int albaGUIDialogLogin::GetRememberUserCredentials ( )
inline

Return information to allow saving or not users' information.

Definition at line 61 of file albaGUIDialogLogin.h.

References m_RememberMe.

◆ EnableItems()

void albaGUIDialogLogin::EnableItems ( )
protected

Used to enable/disable items according to the current widgets state.

Member Data Documentation

◆ m_Gui

albaGUI* albaGUIDialogLogin::m_Gui
protected

Gui variable used to plug custom widgets.

Definition at line 68 of file albaGUIDialogLogin.h.

◆ m_Username

albaString albaGUIDialogLogin::m_Username
protected

Current username inserted into the dialog.

Definition at line 69 of file albaGUIDialogLogin.h.

◆ m_Pwd

albaString albaGUIDialogLogin::m_Pwd
protected

Current password inserted into the dialog.

Definition at line 70 of file albaGUIDialogLogin.h.

◆ m_UsernameOld

albaString albaGUIDialogLogin::m_UsernameOld
protected

Last username inserted.

Definition at line 71 of file albaGUIDialogLogin.h.

◆ m_PwdOld

albaString albaGUIDialogLogin::m_PwdOld
protected

Last password inserted.

Definition at line 72 of file albaGUIDialogLogin.h.

◆ m_ProxyHost

albaString albaGUIDialogLogin::m_ProxyHost
protected

Proxy Host.

Definition at line 73 of file albaGUIDialogLogin.h.

◆ m_ProxyFlag

int albaGUIDialogLogin::m_ProxyFlag
protected

Flag used to for enable proxy.

Definition at line 74 of file albaGUIDialogLogin.h.

Referenced by GetProxyFlag().

◆ m_ProxyPort

int albaGUIDialogLogin::m_ProxyPort
protected

Proxy Host.

Definition at line 75 of file albaGUIDialogLogin.h.

◆ m_InformationsInserted

bool albaGUIDialogLogin::m_InformationsInserted
protected

Flag used to check if the user insert some information or not.

Definition at line 76 of file albaGUIDialogLogin.h.

◆ m_RememberMe

int albaGUIDialogLogin::m_RememberMe
protected

Definition at line 77 of file albaGUIDialogLogin.h.

Referenced by GetRememberUserCredentials(), and SetRememberUserCredentials().


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