]>
Commit | Line | Data |
---|---|---|
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 AliEveITSScaledModuleEditor_H | |
11 | #define AliEveITSScaledModuleEditor_H | |
12 | ||
13 | #include <TGedFrame.h> | |
14 | ||
15 | class TGNumberEntry; | |
16 | class TGColorSelect; | |
17 | class TGComboBox; | |
18 | ||
19 | class TEveGValuator; | |
20 | class TEveGDoubleValuator; | |
21 | class TEveRGBAPalette; | |
22 | ||
23 | class AliEveDigitScaleInfo; | |
24 | class AliEveITSScaledModule; | |
25 | class AliITSsegmentation; | |
26 | ||
27 | /******************************************************************************/ | |
28 | ||
29 | class AliEveITSScaledModuleEditor : public TGedFrame | |
30 | { | |
31 | public: | |
32 | AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
33 | virtual ~AliEveITSScaledModuleEditor() {} | |
34 | ||
35 | virtual void SetModel(TObject* obj); | |
36 | ||
37 | void DoScale(); | |
38 | void DoStatType(Int_t t); | |
39 | ||
40 | protected: | |
41 | AliEveITSScaledModule *fModule; // Model object. | |
42 | ||
43 | TGNumberEntry *fScale; // Number-entry for digit-scale. | |
44 | TGComboBox *fStatistic; // Selection of scaling algorithm. | |
45 | ||
46 | TGVerticalFrame *fInfoFrame; // Frame in "Info" tab. | |
47 | TGLabel *fInfoLabel0; // Info text. | |
48 | TGLabel *fInfoLabel1; // Info text. | |
49 | ||
50 | private: | |
51 | void CreateInfoFrame(); | |
52 | ||
53 | AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&); // Not implemented | |
54 | AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented | |
55 | ||
56 | ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule. | |
57 | }; | |
58 | ||
59 | #endif |