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