]>
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 * | |
7 | * full copyright notice. * | |
8 | **************************************************************************/ | |
9 | ||
10 | #include "AliEveTOFStripEditor.h" | |
11 | #include <Alieve/AliEveTOFStrip.h> | |
12 | ||
13 | #include <TVirtualPad.h> | |
14 | #include <TColor.h> | |
15 | ||
16 | #include <TGLabel.h> | |
17 | #include <TGButton.h> | |
18 | #include <TGNumberEntry.h> | |
19 | #include <TGColorSelect.h> | |
20 | #include <TGDoubleSlider.h> | |
21 | ||
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 | // } |