]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSector2DEditor.h
Adapt to new QuadSet implementation.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2DEditor.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSector2DEditor_H
4 #define ALIEVE_TPCSector2DEditor_H
5
6 #include <TGedFrame.h>
7
8 class TGCheckButton;
9 class TGComboBox;
10
11
12 namespace Alieve {
13
14 class TPCSector2D;
15
16 class TPCSector2DEditor : public TGedFrame
17 {
18   TPCSector2DEditor(const TPCSector2DEditor&);            // Not implemented
19   TPCSector2DEditor& operator=(const TPCSector2DEditor&); // Not implemented
20
21 protected:
22   TPCSector2D* fM; // fModel dynamic-casted to TPCSector2DEditor
23
24   TGCheckButton*   fShowMax;
25   TGCheckButton*   fAverage;
26
27   TGCheckButton*   fUseTexture;
28   TGCheckButton*   fPickEmpty;
29   TGComboBox*      fPickMode;
30
31 public:
32   TPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
33                     UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
34   ~TPCSector2DEditor();
35
36   virtual void SetModel(TObject* obj);
37
38   void DoShowMax();
39   void DoAverage();
40   void SetupAverage();
41
42   void DoUseTexture();
43   void DoPickEmpty();
44   void DoPickMode(Int_t mode);
45
46   ClassDef(TPCSector2DEditor, 0); // Editor for TPCSector2D
47 }; // endclass TPCSector2DEditor
48
49 }
50
51 #endif