]>
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 * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | ||
10 | #ifndef ALIEVE_ITSScaledModuleEditor_H | |
11 | #define ALIEVE_ITSScaledModuleEditor_H | |
12 | ||
13 | #include <TGedFrame.h> | |
14 | #include <TEveRGBAPaletteEditor.h> | |
15 | ||
16 | class TGNumberEntry; | |
17 | class TGColorSelect; | |
18 | class TGComboBox; | |
19 | ||
20 | class TEveGValuator; | |
21 | class TEveGDoubleValuator; | |
22 | class TEveRGBAPalette; | |
23 | ||
24 | ||
25 | class AliEveDigitScaleInfo; | |
26 | class AliEveITSScaledModule; | |
27 | class AliITSsegmentation; | |
28 | ||
57ffa5fb | 29 | /******************************************************************************/ |
d810d0de | 30 | |
31 | class AliEveITSScaledModuleEditor : public TGedFrame | |
32 | { | |
33 | private: | |
34 | AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&); // Not implemented | |
35 | AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented | |
36 | ||
37 | void CreateInfoFrame(); | |
38 | ||
39 | protected: | |
40 | TGVerticalFrame* fInfoFrame; | |
41 | ||
42 | AliEveITSScaledModule* fModule; // fModel dynamic-casted to AliEveITSScaledModuleEditor | |
43 | ||
44 | TGNumberEntry* fScale; | |
51346b82 | 45 | TGComboBox* fStatistic; |
d810d0de | 46 | |
47 | TGLabel* fInfoLabel0; | |
48 | TGLabel* fInfoLabel1; | |
49 | ||
50 | public: | |
51 | AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
52 | virtual ~AliEveITSScaledModuleEditor(); | |
53 | ||
54 | virtual void SetModel(TObject* obj); | |
55 | ||
56 | void DoScale(); | |
57 | void DoStatType(Int_t t); | |
58 | ||
59 | ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule | |
60 | }; // endclass AliEveITSScaledModuleEditor | |
61 | ||
62 | #endif |