Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
nutools
old
EventDisplayBase
FileMenu.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file FileMenu.h
3
/// \brief The file pull down menu
4
///
5
/// \version $Id: FileMenu.h,v 1.1.1.1 2010-12-22 16:18:52 p-nusoftart Exp $
6
/// \author messier@indiana.edu
7
////////////////////////////////////////////////////////////////////////
8
#ifndef EVDB_FILEMENU_H
9
#define EVDB_FILEMENU_H
10
#include "TQObject.h"
11
#include "RQ_OBJECT.h"
12
13
class
TGMainFrame;
14
class
TGMenuBar;
15
class
TGPopupMenu;
16
class
TGLayoutHints;
17
18
namespace
evdb
{
19
class
FileMenu
{
20
RQ_OBJECT(
"evdb::FileMenu"
)
21
22
public
:
23
FileMenu
(TGMenuBar* menubar, TGMainFrame*
mf
);
24
virtual
~FileMenu
();
25
26
// slots
27
void
HandleFileMenu
(
int
menu);
28
29
private
:
30
int
Open
();
31
int
Save
();
32
int
SaveAs
();
33
int
Close
();
34
int
Print
();
35
int
Quit
();
36
int
NoImpl
(
const
char
*
m
);
37
38
private
:
39
TGMainFrame*
fMainFrame
;
///< Main graphics frame
40
TGPopupMenu*
fFileMenu
;
///< The file menu
41
TGLayoutHints*
fLayout
;
///< How to layout the menu
42
43
};
44
}
45
#endif // EVDB_FILEMENU_H
46
////////////////////////////////////////////////////////////////////////
genie::units::m
static const double m
Definition:
Units.h:79
evdb::FileMenu
Definition:
FileMenu.h:19
evdb::FileMenu::Quit
int Quit()
Definition:
FileMenu.cxx:124
evdb::FileMenu::Close
int Close()
evdb::FileMenu::Print
int Print()
Definition:
FileMenu.cxx:116
evdb::FileMenu::fFileMenu
TGPopupMenu * fFileMenu
The file menu.
Definition:
FileMenu.h:40
mf
Definition:
MessageLogger.cc:50
evdb
Manage all things related to colors for the event display.
Definition:
Edge3DDrawer_tool.cc:10
evdb::FileMenu::Save
int Save()
Definition:
FileMenu.cxx:100
evdb::FileMenu::~FileMenu
virtual ~FileMenu()
Definition:
FileMenu.cxx:59
evdb::FileMenu::fLayout
TGLayoutHints * fLayout
How to layout the menu.
Definition:
FileMenu.h:41
evdb::FileMenu::fMainFrame
TGMainFrame * fMainFrame
Main graphics frame.
Definition:
FileMenu.h:39
evdb::FileMenu::Open
int Open()
Definition:
FileMenu.cxx:81
evdb::FileMenu::NoImpl
int NoImpl(const char *m)
Definition:
FileMenu.cxx:132
evdb::FileMenu::SaveAs
int SaveAs()
Definition:
FileMenu.cxx:108
evdb::FileMenu::HandleFileMenu
void HandleFileMenu(int menu)
Definition:
FileMenu.cxx:67
evdb::FileMenu::FileMenu
FileMenu(TGMenuBar *menubar, TGMainFrame *mf)
Definition:
FileMenu.cxx:35
Generated by
1.8.11