]>
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 | ||
ee9d8eca | 10 | |
d810d0de | 11 | #include "AliEveTOFStripEditor.h" |
cb4245bb | 12 | #include <EveDet/AliEveTOFStrip.h> |
d810d0de | 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 | ||
57ffa5fb | 23 | //______________________________________________________________________________ |
d810d0de | 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 | ||
57ffa5fb | 46 | /******************************************************************************/ |
d810d0de | 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 | ||
57ffa5fb | 56 | /******************************************************************************/ |
d810d0de | 57 | |
58 | // Implements callback/slot methods | |
59 | ||
60 | // void AliEveTOFStripEditor::DoXYZZ() | |
61 | // { | |
62 | // fM->SetXYZZ(fXYZZ->GetValue()); | |
63 | // Update(); | |
64 | // } |