ALBA
albaGUIDialogProsthesisSelection.h
Go to the documentation of this file.
1/*=========================================================================
2Program: AssemblerPro
3Module: albaGUIDialogProsthesisSelection.h
4Language: C++
5Date: $Date: 2021-01-01 12:00:00 $
6Version: $Revision: 1.0.0.0 $
7Authors: Nicola Vanella
8==========================================================================
9Copyright (c) BIC-IOR 2021 (https://github.com/IOR-BIC)
10
11This software is distributed WITHOUT ANY WARRANTY; without even
12the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13PURPOSE. See the above copyright notice for more information.
14=========================================================================*/
15
16#ifndef __albaGUIDialogProsthesisSelection_H__
17#define __albaGUIDialogProsthesisSelection_H__
18
19//----------------------------------------------------------------------------
20// Include:
21//----------------------------------------------------------------------------
22#include "albaGUIDialog.h"
23//#include "appOpCreateProsthesis.h"
25
26//----------------------------------------------------------------------------
27// forward declarations
28//----------------------------------------------------------------------------
29class albaGUIButton;
30class albaGUILab;
34
36{
37public:
38
39 albaGUIDialogProsthesisSelection(const wxString& title, long style = albaCLOSEWINDOW);
41
42 void OnEvent(albaEventBase *alba_event);
43
45 void SetProducer(albaString producerName);
46
48 albaProDBProsthesis * GetProsthesis() { return m_CurrentProsthesis; };
49
50 bool OkClosed() { return m_IsChanged; };
51
52 void Show();
53
54protected:
55
58
60
62
65
68
73
77
79
80 wxBoxSizer *m_MainBoxSizer;
83
84 wxComboBox *m_ProducerComboBox;
87
88 wxStaticBoxSizer *m_ProsthesisBoxSizer;
90
92};
93#endif
@ albaCLOSEWINDOW
Definition: albaGUIDialog.h:34
Implementation of the message object for the Subject/Observer design pattern.
Definition: albaEventBase.h:49
albaGUIButton inherit from wxButton.
Definition: albaGUIButton.h:35
void OnEvent(albaEventBase *alba_event)
process the events sent by subjects
albaGUI * m_Gui
Gui variable used to plug custom widgets.
void SetProsthesis(albaProDBProsthesis *prosthesis)
albaGUIDialogProsthesisSelection(const wxString &title, long style=albaCLOSEWINDOW)
void SetProducer(albaProDBProducer *producer)
void SetProducer(albaString producerName)
albaGUIDialog is the base class for albaDialogs.
Definition: albaGUIDialog.h:76
albaGUILab is a Label that notify user-click using the normal wxEvents.
Definition: albaGUILab.h:30
albaGUIPicButton inherit from wxBitmapButton.
albaGUI is a panel with function to easily create GUI.
Definition: albaGUI.h:110
Class Name: ProProducer.
Class Name: albaProsthesesDBManager.
albaString - performs common string operations on c-strings.
Definition: albaString.h:43