]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
7 | * full copyright notice. * | |
8 | **************************************************************************/ | |
9 | ||
10 | #ifndef ALIEVE_TPCSector2DEditor_H | |
11 | #define ALIEVE_TPCSector2DEditor_H | |
12 | ||
13 | #include <TGedFrame.h> | |
14 | ||
15 | class TGCheckButton; | |
16 | class TGComboBox; | |
17 | ||
18 | ||
19 | class AliEveTPCSector2D; | |
20 | ||
21 | class AliEveTPCSector2DEditor : public TGedFrame | |
22 | { | |
23 | AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&); // Not implemented | |
24 | AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented | |
25 | ||
26 | protected: | |
27 | AliEveTPCSector2D* fM; // fModel dynamic-casted to AliEveTPCSector2DEditor | |
28 | ||
29 | TGCheckButton* fShowMax; | |
30 | TGCheckButton* fAverage; | |
31 | ||
32 | TGCheckButton* fUseTexture; | |
33 | TGCheckButton* fPickEmpty; | |
34 | TGComboBox* fPickMode; | |
35 | ||
36 | public: | |
37 | AliEveTPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
38 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
39 | ~AliEveTPCSector2DEditor(); | |
40 | ||
41 | virtual void SetModel(TObject* obj); | |
42 | ||
43 | void DoShowMax(); | |
44 | void DoAverage(); | |
45 | void SetupAverage(); | |
46 | ||
47 | void DoUseTexture(); | |
48 | void DoPickEmpty(); | |
49 | void DoPickMode(Int_t mode); | |
50 | ||
51 | ClassDef(AliEveTPCSector2DEditor, 0); // Editor for AliEveTPCSector2D | |
52 | }; // endclass AliEveTPCSector2DEditor | |
53 | ||
54 | #endif |