]>
Commit | Line | Data |
---|---|---|
092578a7 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TPCSectorVizEditor_H | |
4 | #define ALIEVE_TPCSectorVizEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | class TGDoubleHSlider; | |
12 | class TGHSlider; | |
13 | ||
14 | ||
15 | namespace Alieve { | |
16 | ||
17 | class TPCSectorViz; | |
18 | ||
19 | class TPCSectorVizEditor : public TGedFrame | |
20 | { | |
21 | protected: | |
22 | TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor | |
23 | ||
24 | TGNumberEntry* fSectorID; | |
25 | ||
26 | TGCheckButton* fRnrInn; | |
27 | TGCheckButton* fRnrOut1; | |
28 | TGCheckButton* fRnrOut2; | |
29 | ||
30 | TGLabel* fThresholdLabel; | |
31 | TGLabel* fMaxValLabel; | |
32 | TGHSlider* fThreshold; | |
33 | TGHSlider* fMaxVal; | |
34 | ||
35 | TGNumberEntry* fMinTime; | |
36 | TGNumberEntry* fMaxTime; | |
37 | TGDoubleHSlider* fTime; | |
38 | ||
39 | public: | |
40 | TPCSectorVizEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()); | |
41 | ~TPCSectorVizEditor(); | |
42 | ||
43 | virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event); | |
44 | ||
45 | void DoSectorID(); | |
46 | ||
47 | void DoRnrInn(); | |
48 | void DoRnrOut1(); | |
49 | void DoRnrOut2(); | |
50 | ||
51 | void DoThreshold(); | |
52 | void DoMaxVal(); | |
53 | ||
54 | void DoMinTime(); | |
55 | void DoMaxTime(); | |
56 | void DoTime(); | |
57 | ||
58 | ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz | |
59 | }; // endclass TPCSectorVizEditor | |
60 | ||
61 | } | |
62 | ||
63 | #endif |