]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveTOFStripEditor.cxx
60585b63b8d48b81b8403d377f6e6418e4b37de7
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTOFStripEditor.cxx
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
11 #include "AliEveTOFStripEditor.h"
12 #include <EveDet/AliEveTOFStrip.h>
13
14 #include <TVirtualPad.h>
15 #include <TColor.h>
16
17 #include <TGLabel.h>
18 #include <TGButton.h>
19 #include <TGNumberEntry.h>
20 #include <TGColorSelect.h>
21 #include <TGDoubleSlider.h>
22
23 //______________________________________________________________________________
24 // AliEveTOFStripEditor
25 //
26
27 ClassImp(AliEveTOFStripEditor)
28
29 AliEveTOFStripEditor::AliEveTOFStripEditor(const TGWindow *p, Int_t width, Int_t height,
30              UInt_t options, Pixel_t back) :
31   TGedFrame(p, width, height, options | kVerticalFrame, back),
32   fM(0)
33   // Initialize widget pointers to 0
34 {
35   MakeTitle("AliEveTOFStrip");
36
37   // Create widgets
38   // fXYZZ = new TGSomeWidget(this, ...);
39   // AddFrame(fXYZZ, new TGLayoutHints(...));
40   // fXYZZ->Connect("SignalName()", "AliEveTOFStripEditor", this, "DoXYZZ()");
41 }
42
43 AliEveTOFStripEditor::~AliEveTOFStripEditor()
44 {}
45
46 /******************************************************************************/
47
48 void AliEveTOFStripEditor::SetModel(TObject* obj)
49 {
50   fM = dynamic_cast<AliEveTOFStrip*>(obj);
51
52   // Set values of widgets
53   // fXYZZ->SetValue(fM->GetXYZZ());
54 }
55
56 /******************************************************************************/
57
58 // Implements callback/slot methods
59
60 // void AliEveTOFStripEditor::DoXYZZ()
61 // {
62 //   fM->SetXYZZ(fXYZZ->GetValue());
63 //   Update();
64 // }