HelpMenu.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file HelpMenu.h
3 /// \brief The help pull down menu
4 ///
5 /// \version $Id: HelpMenu.h,v 1.1.1.1 2010-12-22 16:18:52 p-nusoftart Exp $
6 /// \author messier@indiana.edu
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef EVDB_HELPMENU_H
9 #define EVDB_HELPMENU_H
10 #include "TQObject.h"
11 #include "RQ_OBJECT.h"
12 class TGMainFrame;
13 class TGMenuBar;
14 class TGPopupMenu;
15 class TGLayoutHints;
16 
17 namespace evdb {
18  class HelpMenu {
19  RQ_OBJECT("evdb::HelpMenu")
20 
21  public:
22  HelpMenu(TGMenuBar* menubar, TGMainFrame* mf);
23  virtual ~HelpMenu();
24 
25  // slots
26  void HandleMenu(int menu);
27 
28  private:
29  int Contents();
30  int ReleaseNotes();
31  int About();
32  int NoImpl(const char* m);
33 
34  private:
35  TGMainFrame* fMainFrame; // Main graphics frame
36  TGPopupMenu* fHelpMenu; // The file menu
37  TGLayoutHints* fLayout; // How to layout the menu
38  };
39 }
40 #endif // EVDB_FILEMENU_H
41 ////////////////////////////////////////////////////////////////////////
static const double m
Definition: Units.h:79
void HandleMenu(int menu)
Definition: HelpMenu.cxx:69
int ReleaseNotes()
Definition: HelpMenu.cxx:95
Manage all things related to colors for the event display.
TGMainFrame * fMainFrame
Definition: HelpMenu.h:35
TGPopupMenu * fHelpMenu
Definition: HelpMenu.h:36
int NoImpl(const char *m)
Definition: HelpMenu.cxx:141
virtual ~HelpMenu()
Definition: HelpMenu.cxx:58
HelpMenu(TGMenuBar *menubar, TGMainFrame *mf)
Definition: HelpMenu.cxx:34
int Contents()
Definition: HelpMenu.cxx:84
TGLayoutHints * fLayout
Definition: HelpMenu.h:37