2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 **************************************************************************/
10 #include "AliEveTOFStripEditor.h"
11 #include <Alieve/AliEveTOFStrip.h>
13 #include <TVirtualPad.h>
18 #include <TGNumberEntry.h>
19 #include <TGColorSelect.h>
20 #include <TGDoubleSlider.h>
23 //______________________________________________________________________
24 // AliEveTOFStripEditor
27 ClassImp(AliEveTOFStripEditor)
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),
33 // Initialize widget pointers to 0
35 MakeTitle("AliEveTOFStrip");
38 // fXYZZ = new TGSomeWidget(this, ...);
39 // AddFrame(fXYZZ, new TGLayoutHints(...));
40 // fXYZZ->Connect("SignalName()", "AliEveTOFStripEditor", this, "DoXYZZ()");
43 AliEveTOFStripEditor::~AliEveTOFStripEditor()
46 /**************************************************************************/
48 void AliEveTOFStripEditor::SetModel(TObject* obj)
50 fM = dynamic_cast<AliEveTOFStrip*>(obj);
52 // Set values of widgets
53 // fXYZZ->SetValue(fM->GetXYZZ());
56 /**************************************************************************/
58 // Implements callback/slot methods
60 // void AliEveTOFStripEditor::DoXYZZ()
62 // fM->SetXYZZ(fXYZZ->GetValue());