C++ main module for gpm Package  1.0
GPMG_GraphMenuPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_GraphMenuPanel_H
2 #define GPMG_GraphMenuPanel_H
3 
4 
5 #include "GUI2D_MenuPanel.h"
6 #include "GUI_ToolBar.h"
7 
8 
9 
16 class GPMG_GraphMenuPanel : public GUI2D_MenuPanel {
17 
18  SP_OBJECT(GPMG_GraphMenuPanel);
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_GraphMenuPanel(void);
44 
45 
46 
47 public:
48 
49  // CONSTRUCTOR
50  inline static SP::GPMG_GraphMenuPanel New() {
51  SP::GPMG_GraphMenuPanel p(new GPMG_GraphMenuPanel(),
52  GPMG_GraphMenuPanel::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 
71 #endif
static SP::GPMG_GraphMenuPanel New()
Definition: GPMG_GraphMenuPanel.h:50
This class is the menu panel for graph draw window.
Definition: GPMG_GraphMenuPanel.h:16
virtual void createMenus(GUI_ToolBar *bar)
create the menus & put tools in tool bar
Definition: GPMG_GraphMenuPanel.cpp:10
virtual ~GPMG_GraphMenuPanel(void)
destroy an menu panel.
Definition: GPMG_GraphMenuPanel.cpp:7
GPMG_GraphMenuPanel()
create an menu panel
Definition: GPMG_GraphMenuPanel.cpp:3
DEFINE_SPTR(GPMG_GraphMenuPanel)