CAboutDlg Class Reference

Search Toolkit Book for CAboutDlg

#include <aboutdlg.hpp>

List of all members.


Detailed Description

control identifiers

Definition at line 58 of file aboutdlg.hpp.

Public Member Functions

 CAboutDlg ()
 Constructors.
 CAboutDlg (wxWindow *parent, wxWindowID id=10021, const wxString &caption=_("About Genome Workbench"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
bool Create (wxWindow *parent, wxWindowID id=10021, const wxString &caption=_("About Genome Workbench"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation.
 ~CAboutDlg ()
 Destructor.
void Init ()
 Initialises member variables.
void CreateControls ()
 Creates the controls and sizers.
void OnVisitWebsite (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for m_BUTTON
void OnOK (wxCommandEvent &event)
 wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources.
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources.

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips?

Public Attributes

wxStaticBitmap * m_Image
wxStaticText * m_VersionString
wxStaticText * m_BuildDate


Constructor & Destructor Documentation

CAboutDlg::CAboutDlg  ) 
 

Constructors.

CAboutDlg constructors

Definition at line 84 of file aboutdlg.cpp.

CAboutDlg::CAboutDlg wxWindow *  parent,
wxWindowID  id = 10021,
const wxString &  caption = _("About Genome Workbench"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
 

Definition at line 89 of file aboutdlg.cpp.

References Create(), and Init().

CAboutDlg::~CAboutDlg  ) 
 

Destructor.

CAboutDlg destructor

Definition at line 121 of file aboutdlg.cpp.


Member Function Documentation

bool CAboutDlg::Create wxWindow *  parent,
wxWindowID  id = 10021,
const wxString &  caption = _("About Genome Workbench"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
 

Creation.

CAboutDlg creator

Definition at line 100 of file aboutdlg.cpp.

References CreateControls().

Referenced by CAboutDlg().

void CAboutDlg::CreateControls  ) 
 

Creates the controls and sizers.

Control creation for CAboutDlg

Definition at line 146 of file aboutdlg.cpp.

References CGBenchVersionInfo_Base::GetBuild_date(), GetGBenchVersionInfo(), CGBenchVersionInfo_Base::GetVer_major(), CGBenchVersionInfo_Base::GetVer_minor(), CGBenchVersionInfo_Base::GetVer_patch(), ID_BUTTON, NStr::IntToString(), m_BuildDate, m_BUTTON, m_Image, m_VersionString, CSystemPath::ResolvePathExisting(), and ToWxString().

Referenced by Create().

wxBitmap CAboutDlg::GetBitmapResource const wxString &  name  ) 
 

Retrieves bitmap resources.

Get bitmap resources

Definition at line 216 of file aboutdlg.cpp.

wxIcon CAboutDlg::GetIconResource const wxString &  name  ) 
 

Retrieves icon resources.

Get icon resources

Definition at line 229 of file aboutdlg.cpp.

void CAboutDlg::Init void   ) 
 

Initialises member variables.

Member initialisation

Definition at line 132 of file aboutdlg.cpp.

References m_BuildDate, m_Image, and m_VersionString.

Referenced by CAboutDlg().

void CAboutDlg::OnOK wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON

Definition at line 243 of file aboutdlg.cpp.

void CAboutDlg::OnVisitWebsite wxCommandEvent &  event  ) 
 

wxEVT_COMMAND_BUTTON_CLICKED event handler for m_BUTTON

wxEVT_COMMAND_BUTTON_CLICKED event handler for m_BUTTON

Definition at line 254 of file aboutdlg.cpp.

References CAppPopup::PopupURL().

bool CAboutDlg::ShowToolTips  )  [static]
 

Should we show tooltips?

Should we show tooltips?

Definition at line 207 of file aboutdlg.cpp.


Member Data Documentation

wxStaticText* CAboutDlg::m_BuildDate
 

Definition at line 105 of file aboutdlg.hpp.

Referenced by CreateControls(), and Init().

wxStaticBitmap* CAboutDlg::m_Image
 

Definition at line 103 of file aboutdlg.hpp.

Referenced by CreateControls(), and Init().

wxStaticText* CAboutDlg::m_VersionString
 

Definition at line 104 of file aboutdlg.hpp.

Referenced by CreateControls(), and Init().


The documentation for this class was generated from the following files:
Generated on Mon Dec 7 09:51:04 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:22:22 2009 by modify_doxy.py rev. 173732