Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
AboutDialog Class Reference

Dialog for about window. More...

#include <AboutDialog.h>

Inheritance diagram for AboutDialog:
Inheritance graph

Public Member Functions

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

Private Member Functions

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

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)
explicit

Constructor, read from xrc ressource.

Definition at line 57 of file AboutDialog.cpp.

References DEBUG_INFO, DEBUG_TRACE, huginApp::Get(), hugin_utils::GetHuginVersion(), huginApp::GetLocale(), and huginApp::GetXRCPath().

Member Function Documentation

void AboutDialog::GetSystemInformation ( wxFont *  font)
private
void AboutDialog::OnChangedTab ( wxNotebookEvent &  e)
private

event handler for changing tab

Definition at line 225 of file AboutDialog.cpp.

References SetMode().

void AboutDialog::SetLogo ( wxString  newLogoFile)
private

function to set the log image

Definition at line 261 of file AboutDialog.cpp.

References huginApp::Get(), huginApp::GetXRCPath(), 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 231 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: