]>
Commit | Line | Data |
---|---|---|
8616d353 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TOFSectorEditor_H | |
4 | #define ALIEVE_TOFSectorEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | class TGDoubleHSlider; | |
12 | ||
13 | class TGHSlider; | |
14 | ||
15 | namespace Reve { | |
16 | class RGValuator; | |
17 | class RGDoubleValuator; | |
18 | class ZTransSubEditor; | |
19 | } | |
20 | ||
21 | namespace Alieve { | |
22 | ||
23 | class TOFSector; | |
24 | ||
25 | class TOFSectorEditor : public TGedFrame | |
26 | { | |
27 | //private: | |
28 | TOFSectorEditor(const TOFSectorEditor&); // Not implemented | |
29 | TOFSectorEditor& operator=(const TOFSectorEditor&); // Not implemented | |
30 | ||
31 | protected: | |
32 | TOFSector* fM; // fModel dynamic-casted to TOFSectorEditor | |
33 | ||
34 | Reve::RGValuator* fSectorID; | |
35 | ||
36 | TGCheckButton* fAutoTrans; | |
37 | ||
38 | TGCheckButton** fPlate; | |
39 | ||
40 | TGCheckButton* fPlate0; | |
41 | TGCheckButton* fPlate1; | |
42 | TGCheckButton* fPlate2; | |
43 | TGCheckButton* fPlate3; | |
44 | TGCheckButton* fPlate4; | |
45 | ||
46 | Reve::RGValuator* fThreshold; | |
47 | Reve::RGValuator* fMaxVal; | |
48 | ||
49 | ||
50 | // Declare widgets | |
51 | // TGSomeWidget* fXYZZ; | |
52 | ||
53 | public: | |
54 | TOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
55 | virtual ~TOFSectorEditor(); | |
56 | ||
57 | virtual void SetModel(TObject* obj); | |
58 | void DoSectorID(); | |
59 | void DoAutoTrans(); | |
60 | void DoPlate0(); | |
61 | void DoPlate1(); | |
62 | void DoPlate2(); | |
63 | void DoPlate3(); | |
64 | void DoPlate4(); | |
65 | ||
66 | void DoPlate(Int_t nPlate); | |
67 | void DoThreshold(); | |
68 | void DoMaxVal(); | |
69 | ||
70 | ||
71 | // Declare callback/slot methods | |
72 | // void DoXYZZ(); | |
73 | ||
74 | ClassDef(TOFSectorEditor, 0); // Editor for TOFSector | |
75 | }; // endclass TOFSectorEditor | |
76 | ||
77 | } | |
78 | ||
79 | #endif |