NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
Table.h
1 #ifndef TABLE_H_
2 #define TABLE_H_
3 #include "TGWindow.h"
4 #include "TGFrame.h"
5 #include "TGTextEntry.h"
6 #include "TGNumberEntry.h"
7 #include "TGLabel.h"
8 #include "TG3DLine.h"
9 #include <iostream>
10 
11 using namespace std;
12 
13 
14 class Table:public TGTransientFrame
15 {
16 public:
17  Table(const TGWindow * p, const TGWindow * main, int columns,
18  int rows,/*char **/string name,int NumModules=13);
19  virtual ~Table();
20  TGVerticalFrame* mn_vert;
21  TGHorizontalFrame* mn;
22  int Rows;
23  TGVerticalFrame **Column;
24  TGTextEntry *cl0;//label for the title of the column[0]
25  TGTextEntry **CLabel;//labels for the numeric columns
26  TGNumberEntryField ***NumEntry;//numeric entries [column][row],
27  //column[0] has the labels
28  TGTextEntry **Labels; //labels in the left most column
29 
30  int numModules;
31  TGNumberEntry *numericMod;
32  TGHorizontalFrame* Buttons ;
33 virtual int LoadInfo (Long_t mod, TGNumberEntryField *** NumEntry, int column,
34  char *parameter);
35  enum Commands
36  {
37  LOAD,
38  APPLY,
39  CANCEL,
40  MODNUMBER,
41  FILTER,
42  COPYBUTTON
43  };
44 
45 //virtual int ChangeValues (Long_t mod);
46 };
47 
48 #endif /*TABLE_H_*/
Definition: ddaschannelDictionary.cpp:37
Definition: Table.h:14