C++ main module for gpm Package  1.0
GPMG_MainPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_MainPanel_H
2 #define GPMG_MainPanel_H
3 
4 #include "GUI_RootPanel.h"
5 
6 
13 class GPMG_MainPanel : public GUI_RootPanel { // class
14  SP_OBJECT(GPMG_MainPanel);
15 
16  // ATTRIBUTES
17 
18 private:
19 
20 
21  // ASSOCIATIONS
22 
23 
24  // METHODS
25 
26 
27 protected:
28  // CONSTRUCTORS
31  GPMG_MainPanel();
32 
33 
34 
35 
36  // DESTRUCTORS
40  virtual ~GPMG_MainPanel(void);
41 
42 
43 
44 public:
45  // NEW
48  static inline SP::GPMG_MainPanel New() {
49  SP::GPMG_MainPanel obj(new GPMG_MainPanel(),
50  GPMG_MainPanel::Delete());
51  obj->setThis(obj);
52  return obj;
53  };
54  virtual void toDoAfterThisSetting() {
55  GUI_RootPanel::toDoAfterThisSetting();
56  initComponents();
57  };
58 
59  // SET
60 
61 
62 public:
63 
64 
65  // GET
66 
67 
68 
69  // OTHERS
70 
71  // SPECIALIZED Methods
72 
75  virtual void updateValues();
76 
79  virtual void componentClicked(GUI_ActionComponent& compo);
80 
81 
84  virtual void loadFromUIClass(const UI_Class& mclass);
87  virtual void saveToUIClass(UI_Class& mclass) const;
88 
89 
90 
91 private:
94  void initComponents();
95 
96 };
97 #endif
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: GPMG_MainPanel.cpp:35
virtual ~GPMG_MainPanel(void)
destroy a GPMG_MainPanel
Definition: GPMG_MainPanel.cpp:19
static SP::GPMG_MainPanel New()
create a root panel
Definition: GPMG_MainPanel.h:48
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a panel's component is clicked on
Definition: GPMG_MainPanel.cpp:48
virtual void updateValues()
method called for updating values of the panel
Definition: GPMG_MainPanel.cpp:41
this class describes the root panel of the main window
Definition: GPMG_MainPanel.h:13
GPMG_MainPanel()
build a GPMG_MainPanel
Definition: GPMG_MainPanel.cpp:15
DEFINE_SPTR(GPMG_MainPanel)
virtual void toDoAfterThisSetting()
Definition: GPMG_MainPanel.h:54
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: GPMG_MainPanel.cpp:32