EditMenu.h
Go to the documentation of this file.
1 ///
2 /// \file EditMenu.h
3 /// \brief The edit pull down menu
4 /// \author messier@indiana.edu
5 ///
6 #ifndef EVDB_EDITMENU_H
7 #define EVDB_EDITMENU_H
8 #include "TQObject.h"
9 #include "RQ_OBJECT.h"
10 class TGMainFrame;
11 class TGMenuBar;
12 class TGPopupMenu;
13 class TGLayoutHints;
14 
15 namespace evdb {
16  ///
17  /// \brief The edit pull down menu
18  ///
19  class EditMenu {
20  RQ_OBJECT("evdb::EditMenu")
21 
22  public:
23  EditMenu(TGMenuBar* menubar, TGMainFrame* mf);
24  virtual ~EditMenu();
25 
26  void SetServices();
27 
28  void MenuSelect(int which);
29  void WipeMenu(TGPopupMenu* m);
30 
31  private:
32  // TGMainFrame* fMainFrame; ///< Main graphics frame - apparently not used in .cxx
33  TGPopupMenu* fEditMenu; ///< The file menu
34  TGPopupMenu* fDrawingMenu; ///< Drawing options
35  TGPopupMenu* fExpMenu; ///< Experiment services
36  TGLayoutHints* fLayout; ///< How to layout the menu
37  };
38 }
39 
40 #endif // EVDB_EDITMENU_H
41 ////////////////////////////////////////////////////////////////////////
static const double m
Definition: Units.h:79
EditMenu(TGMenuBar *menubar, TGMainFrame *mf)
Definition: EditMenu.cxx:12
void WipeMenu(TGPopupMenu *m)
Definition: EditMenu.cxx:40
Manage all things related to colors for the event display.
TGPopupMenu * fExpMenu
Experiment services.
Definition: EditMenu.h:35
void SetServices()
Definition: EditMenu.cxx:51
The edit pull down menu.
Definition: EditMenu.h:19
void MenuSelect(int which)
Definition: EditMenu.cxx:76
TGLayoutHints * fLayout
How to layout the menu.
Definition: EditMenu.h:36
TGPopupMenu * fDrawingMenu
Drawing options.
Definition: EditMenu.h:34
virtual ~EditMenu()
Definition: EditMenu.cxx:30
TGPopupMenu * fEditMenu
The file menu.
Definition: EditMenu.h:33