]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEvePMDModuleEditor.h
Merge changes from branches/dev/EVE. This branch was following development in ROOT...
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEvePMDModuleEditor.h
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 AliEvePMDModuleEditor_H
11 #define AliEvePMDModuleEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18
19 class AliEvePMDModule;
20
21 class AliEvePMDModuleEditor : public TGedFrame
22 {
23 private:
24   AliEvePMDModuleEditor(const AliEvePMDModuleEditor&);            // Not implemented
25   AliEvePMDModuleEditor& operator=(const AliEvePMDModuleEditor&); // Not implemented
26
27   void CreateInfoFrame();
28
29 protected:
30   AliEvePMDModule* fM; // Model object.
31
32   TGVerticalFrame*  fInfoFrame; // Top frame for info labels.
33
34   TGLabel*   fInfoLabel0; // label
35   TGLabel*   fInfoLabel1; // label
36   TGLabel*   fInfoLabel2; // label
37   TGLabel*   fInfoLabel3; // label
38   TGLabel*   fInfoLabel4; // label
39   TGLabel*   fInfoLabel5; // label
40
41 public:
42   AliEvePMDModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
43   virtual ~AliEvePMDModuleEditor() {}
44
45   virtual void SetModel(TObject* obj);
46   void DisplayHistos();
47
48   ClassDef(AliEvePMDModuleEditor, 0); // Editor for AliEvePMDModule
49 };
50
51 #endif