AboutDialog Class Reference

Dialog for about window. More...

#include <AboutDialog.h>

List of all members.

Public Member Functions

 AboutDialog (wxWindow *parent)
 Constructor, read from xrc ressource.

Private Member Functions

void GetSystemInformation (wxFont *font)
 retrieves the system informations
void OnChangedTab (wxNotebookEvent &e)
 event handler for changing tab
void SetMode (int newMode)
 function to switch the logo image based on selected tab
void SetLogo (wxString newLogoFile)
 function to set the log image

Private Attributes

int m_mode
wxString m_logo_file
wxNotebook * m_about_notebook
wxStaticBitmap * m_logoImgCtrl
wxBitmap m_logo

Detailed Description

Dialog for about window.

make a bit more action possible in the window

Definition at line 40 of file AboutDialog.h.

Constructor & Destructor Documentation

AboutDialog::AboutDialog wxWindow *  parent  ) 

Constructor, read from xrc ressource.

Member Function Documentation

void AboutDialog::GetSystemInformation wxFont *  font  )  [private]

retrieves the system informations

Definition at line 123 of file AboutDialog.cpp.

References HuginBase::LensDB::LensDB::GetMainDBPath(), HuginBase::LensDB::LensDB::GetSingleton(), and HuginBase::LensDB::LensDB::GetUserDBPath().

void AboutDialog::OnChangedTab wxNotebookEvent &  e  )  [private]

event handler for changing tab

Definition at line 199 of file AboutDialog.cpp.

References SetMode().

void AboutDialog::SetLogo wxString  newLogoFile  )  [private]

function to set the log image

Definition at line 235 of file AboutDialog.cpp.

References m_logo, m_logo_file, and m_logoImgCtrl.

Referenced by SetMode().

void AboutDialog::SetMode int  newMode  )  [private]

function to switch the logo image based on selected tab

Definition at line 205 of file AboutDialog.cpp.

References m_mode, and SetLogo().

Referenced by OnChangedTab().

Member Data Documentation

wxNotebook* AboutDialog::m_about_notebook [private]

Definition at line 50 of file AboutDialog.h.

wxBitmap AboutDialog::m_logo [private]

Definition at line 52 of file AboutDialog.h.

Referenced by SetLogo().

wxString AboutDialog::m_logo_file [private]

Definition at line 49 of file AboutDialog.h.

Referenced by SetLogo().

wxStaticBitmap* AboutDialog::m_logoImgCtrl [private]

Definition at line 51 of file AboutDialog.h.

Referenced by SetLogo().

int AboutDialog::m_mode [private]

Definition at line 48 of file AboutDialog.h.

Referenced by SetMode().

The documentation for this class was generated from the following files:
Generated on Fri Sep 19 01:25:43 2014 for Hugintrunk by  doxygen