ALBA
albaGUISettingsAdvanced.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUISettingsAdvanced
5 Authors: Matteo Giacomoni
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaGUISettingsAdvanced_H__
18#define __albaGUISettingsAdvanced_H__
19
20//----------------------------------------------------------------------------
21// Include:
22//----------------------------------------------------------------------------
23#include "albaDefines.h"
24#include "albaGUISettings.h"
25
26//----------------------------------------------------------------------------
27// forward reference
28//----------------------------------------------------------------------------
29
30//----------------------------------------------------------------------------
31// albaGUISettingsAdvanced :
32//----------------------------------------------------------------------------
38class ALBA_EXPORT albaGUISettingsAdvanced : public albaGUISettings
39{
40public:
42 albaGUISettingsAdvanced(albaObserver *Listener, const albaString &label = _("Advanced"));
45
48 {
49 ID_CONVERSION_UNITS = MINID,
50 };
51
54 {
55 NONE = 0,
57 };
58
60 void OnEvent(albaEventBase *alba_event);
61
63 int GetConversionType(){return m_ConversionUnits;};
64
66 void SetConversionType(int conversion);
67
68protected:
70 void CreateGui();
71
74
76
77};
78#endif
MINID
Definition: albaDecl.h:420
Implementation of the message object for the Subject/Observer design pattern.
Definition: albaEventBase.h:49
Class Name: albaGUISettingsAdvanced.
void CreateGui()
Create the GUI for the setting panel.
albaGUISettingsAdvanced(albaObserver *Listener, const albaString &label=_("Advanced"))
constructor.
void InitializeSettings()
Initialize measure unit used into the application.
void OnEvent(albaEventBase *alba_event)
Answer to the messages coming from interface.
int GetConversionType()
Retrieve conversion unit parameter.
void SetConversionType(int conversion)
Set conversion unit parameter.
~albaGUISettingsAdvanced()
destructor.
class name: albaGUISettings base class for more complex specified classes regarding the setting of ap...
Interface implementing the Observer of the Subject/Observer design pattern.
Definition: albaObserver.h:36
albaString - performs common string operations on c-strings.
Definition: albaString.h:43