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

#include <albaGUISettingsAdvanced.h>

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

Public Types

enum  MEASURE_UNIT_WIDGET_ID { ID_CONVERSION_UNITS = MINID }
 
enum  CONVERSION_UNITS { NONE = 0 , mm2m }
 

Public Member Functions

 albaGUISettingsAdvanced (albaObserver *Listener, const albaString &label=_("Advanced"))
 
 ~albaGUISettingsAdvanced ()
 
void OnEvent (albaEventBase *alba_event)
 
int GetConversionType ()
 
void SetConversionType (int conversion)
 
- Public Member Functions inherited from albaGUISettings
 albaGUISettings (albaObserver *Listener, const albaString &label=_("Settings"))
 
 ~albaGUISettings ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
void SetListener (albaObserver *Listener)
 
albaGUIGetGui ()
 
const char * GetLabel ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 

Protected Member Functions

void CreateGui ()
 
void InitializeSettings ()
 
virtual void CreateGui ()
 
virtual void InitializeSettings ()
 

Protected Attributes

int m_ConversionUnits
 
- Protected Attributes inherited from albaGUISettings
albaGUIm_Gui
 
albaString m_Label
 
wxConfig * m_Config
 
albaObserverm_Listener
 

Detailed Description

Class Name: albaGUISettingsAdvanced.

Represents advanced settings which can be modified accessing to option menu.

Definition at line 38 of file albaGUISettingsAdvanced.h.

Member Enumeration Documentation

◆ MEASURE_UNIT_WIDGET_ID

GUI IDs.

Enumerator
ID_CONVERSION_UNITS 

Definition at line 47 of file albaGUISettingsAdvanced.h.

◆ CONVERSION_UNITS

Conversion IDs.

Enumerator
NONE 
mm2m 

Definition at line 53 of file albaGUISettingsAdvanced.h.

Constructor & Destructor Documentation

◆ albaGUISettingsAdvanced()

albaGUISettingsAdvanced::albaGUISettingsAdvanced ( albaObserver Listener,
const albaString label = _("Advanced") 
)

constructor.


◆ ~albaGUISettingsAdvanced()

albaGUISettingsAdvanced::~albaGUISettingsAdvanced ( )

destructor.


Member Function Documentation

◆ OnEvent()

void albaGUISettingsAdvanced::OnEvent ( albaEventBase alba_event)
virtual

Answer to the messages coming from interface.

Reimplemented from albaGUISettings.

◆ GetConversionType()

int albaGUISettingsAdvanced::GetConversionType ( )
inline

Retrieve conversion unit parameter.

Definition at line 63 of file albaGUISettingsAdvanced.h.

◆ SetConversionType()

void albaGUISettingsAdvanced::SetConversionType ( int  conversion)

Set conversion unit parameter.

◆ CreateGui()

void albaGUISettingsAdvanced::CreateGui ( )
protectedvirtual

Create the GUI for the setting panel.

Reimplemented from albaGUISettings.

◆ InitializeSettings()

void albaGUISettingsAdvanced::InitializeSettings ( )
protectedvirtual

Initialize measure unit used into the application.

Reimplemented from albaGUISettings.

Member Data Documentation

◆ m_ConversionUnits

int albaGUISettingsAdvanced::m_ConversionUnits
protected

Definition at line 75 of file albaGUISettingsAdvanced.h.


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