SkyGI::PasswordDialogView Class Reference

Inheritance diagram for SkyGI::PasswordDialogView:
[legend]
Collaboration diagram for SkyGI::PasswordDialogView:
[legend]
List of all members.

Public Member Functions

 PasswordDialogView (Window *pParent, const String &szCaption, const String &szText, const Rect &rFrame)
 ~PasswordDialogView ()
Point GetSizeHint (enumSizeHint nSizeHint)
void OnCommand (const MessageCommand *pMessage)
virtual void OnCancel ()
virtual void OnAction ()
void SetUsername (const String &szName)
void SetPassword (const String &szPassword)
String GetUsername ()
String GetPassword ()
void AddCheckBox (const String &szText, bool bSet)
bool GetCheck ()
void SetCheck (bool bCheck)

Classes

class  Private

Constructor & Destructor Documentation

PasswordDialogView::PasswordDialogView ( Window pParent,
const String szCaption,
const String szText,
const Rect rFrame 
)

PasswordDialogView::~PasswordDialogView (  ) 


Member Function Documentation

Point PasswordDialogView::GetSizeHint ( enumSizeHint  nSizeHint  )  [virtual]

Get size hint

Description:
Overload this member function for derived classes to inform the GUI about size hints for your widget.
SIZE_HINT_PREFERRED
Return the preferred size of the widget (may depend on the actual content)
SIZE_HINT_MINIMUM
Return the minimum size the widget needs to display a proper content
Note:
If you want to get the minimum or preferred size of a window always use GetMinimumSize or GetPreferredSize. Don't call GetSizeHint directly
See also:
GetPreferredSize, GetMinimumSize, SetMinimumSize

Reimplemented from SkyGI::Window.

void PasswordDialogView::OnCommand ( const MessageCommand pMessage  )  [virtual]

Called when a command occured

Description:
Gets called whenever a window for which this window is the target post a command. For instance, when you press a Button the virtual Button::OnClicked method gets called. If not overloaded this OnClicked function will post a MSG_COMMAND to buttons window target. This message will then be processed by the target window which calls this OnCommand method.

Reimplemented from SkyGI::Window.

void PasswordDialogView::OnCancel (  )  [virtual]

void PasswordDialogView::OnAction (  )  [virtual]

void PasswordDialogView::SetUsername ( const String szName  ) 

void PasswordDialogView::SetPassword ( const String szPassword  ) 

String PasswordDialogView::GetUsername (  ) 

String PasswordDialogView::GetPassword (  ) 

void PasswordDialogView::AddCheckBox ( const String szText,
bool  bSet 
)

bool PasswordDialogView::GetCheck (  ) 

void PasswordDialogView::SetCheck ( bool  bCheck  ) 


Generated on Thu Dec 13 18:14:36 2007 for SkyGI by  doxygen 1.5.1-p1