]>
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 | ||
10 | #include "AliEveTOFDigitsInfoEditor.h" | |
cb4245bb | 11 | #include <EveDet/AliEveTOFDigitsInfo.h> |
d810d0de | 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 | ||
57ffa5fb | 23 | //______________________________________________________________________________ |
d810d0de | 24 | // AliEveTOFDigitsInfoEditor |
25 | // | |
26 | ||
27 | ClassImp(AliEveTOFDigitsInfoEditor) | |
28 | ||
29 | AliEveTOFDigitsInfoEditor::AliEveTOFDigitsInfoEditor(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("AliEveTOFDigitsInfo"); | |
36 | ||
37 | // Create widgets | |
38 | // fXYZZ = new TGSomeWidget(this, ...); | |
39 | // AddFrame(fXYZZ, new TGLayoutHints(...)); | |
40 | // fXYZZ->Connect("SignalName()", "AliEveTOFDigitsInfoEditor", this, "DoXYZZ()"); | |
41 | } | |
42 | ||
57ffa5fb | 43 | /******************************************************************************/ |
d810d0de | 44 | |
45 | void AliEveTOFDigitsInfoEditor::SetModel(TObject* obj) | |
46 | { | |
47 | fM = dynamic_cast<AliEveTOFDigitsInfo*>(obj); | |
48 | ||
49 | // Set values of widgets | |
50 | // fXYZZ->SetValue(fM->GetXYZZ()); | |
51 | } | |
52 | ||
57ffa5fb | 53 | /******************************************************************************/ |
d810d0de | 54 | |
55 | // Implements callback/slot methods | |
56 | ||
57 | // void AliEveTOFDigitsInfoEditor::DoXYZZ() | |
58 | // { | |
59 | // fM->SetXYZZ(fXYZZ->GetValue()); | |
60 | // Update(); | |
61 | // } |