C++ main module for gpm Package  1.0
GPMG_ShowGraphMenuPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_ShowGraphMenuPanel_H
2 #define GPMG_ShowGraphMenuPanel_H
3 
4 
5 #include "GPMG_GraphMenuPanel.h"
6 #include "GUI_ToolBar.h"
7 
8 
9 
17 
18  SP_OBJECT(GPMG_ShowGraphMenuPanel);
19 
20  // ATTRIBUTES
21 private:
22 
23  // ASSOCIATIONS
24 private:
25 
26 
27 protected:
28  // METHODS
29 
30  // CONSTRUCTORS
31 
34 
35 
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~GPMG_ShowGraphMenuPanel(void);
44 
45 
46 
47 public:
48 
49  // CONSTRUCTOR
50  inline static SP::GPMG_ShowGraphMenuPanel New() {
51  SP::GPMG_ShowGraphMenuPanel p(new GPMG_ShowGraphMenuPanel(),
52  GPMG_ShowGraphMenuPanel::Delete());
53  p->setThis(p);
54 
55  return p;
56  };
57 
58  // SET methods
59 
60 
61  // GET methods
62 
63  // OTHERS
64 
67  virtual void createMenus(GUI_ToolBar* bar);
68 
69 
70 private:
71  void modifyFileMenu(GUI_ToolBar* bar);
72  void modifyEditMenu(GUI_ToolBar* bar);
73 
74 };
75 
76 #endif
virtual void createMenus(GUI_ToolBar *bar)
create the menus & put tools in tool bar
Definition: GPMG_ShowGraphMenuPanel.cpp:11
GPMG_ShowGraphMenuPanel()
create an menu panel
Definition: GPMG_ShowGraphMenuPanel.cpp:4
This class is the menu panel for graph draw window.
Definition: GPMG_GraphMenuPanel.h:16
virtual ~GPMG_ShowGraphMenuPanel(void)
destroy an menu panel.
Definition: GPMG_ShowGraphMenuPanel.cpp:8
static SP::GPMG_ShowGraphMenuPanel New()
Definition: GPMG_ShowGraphMenuPanel.h:50
This class is the menu panel for graph draw window.
Definition: GPMG_ShowGraphMenuPanel.h:16
DEFINE_SPTR(GPMG_ShowGraphMenuPanel)