LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ListWindow.h
Go to the documentation of this file.
1 #ifndef EVDB_LISTWINDOW_H
10 #define EVDB_LISTWINDOW_H
11 #include <vector>
12 #include <string>
13 #include "TQObject.h"
14 #include "RQ_OBJECT.h"
15 class TGMainFrame;
16 namespace evdb {
17  class MenuBar;
18  class ButtonBar;
19  class StatusBar;
20  class ObjListCanvas;
21  typedef ObjListCanvas* (*ObjListCanvasCreator_t)(TGMainFrame* mf);
22 }
23 
24 //......................................................................
25 
26 namespace evdb {
28  class ListWindow {
29  RQ_OBJECT("evdb::ListWindow")
30 
31  public:
32  static void Register(const char* name,
33  const char* description,
34  unsigned int h,
35  unsigned int w,
36  ObjListCanvasCreator_t creator);
37  static const std::vector<std::string>& Names();
38  static int OpenWindow(int type=0);
39 
40  ListWindow(int window=0);
41  virtual ~ListWindow();
42 
43  virtual void Draw(const char* opt="");
44  virtual void CloseWindow();
45  void Raise();
46 
47  private:
48  TGMainFrame* fMain;
53  };
54 }
55 #endif
56 
MenuBar * fMenuBar
Top menu bar.
Definition: ListWindow.h:49
ButtonBar * fButtonBar
Top button bar.
Definition: ListWindow.h:50
A status bar on the bottom of the display.
Definition: StatusBar.h:15
ObjListCanvas *(* ObjListCanvasCreator_t)(TGMainFrame *mf)
Definition: ListWindow.h:21
virtual void CloseWindow()
Definition: ListWindow.cxx:139
Manage all things related to colors for the event display.
virtual void Draw(const char *opt="")
Definition: ListWindow.cxx:135
static const std::vector< std::string > & Names()
Definition: ListWindow.cxx:46
static void Register(const char *name, const char *description, unsigned int h, unsigned int w, ObjListCanvasCreator_t creator)
Definition: ListWindow.cxx:53
ListWindow(int window=0)
Definition: ListWindow.cxx:92
TGMainFrame * fMain
Main window.
Definition: ListWindow.h:48
An event display window.
Definition: ListWindow.h:28
virtual ~ListWindow()
Definition: ListWindow.cxx:143
static int OpenWindow(int type=0)
Definition: ListWindow.cxx:73
The pull down menu bar.
Definition: MenuBar.h:25
StatusBar * fStatusBar
Status bar running along the bottom.
Definition: ListWindow.h:51
Float_t w
Definition: plot.C:20
ObjListCanvas * fDisplay
Display of detector event information.
Definition: ListWindow.h:52