]>
Commit | Line | Data |
---|---|---|
8616d353 | 1 | // $Header$ |
2 | ||
3 | #include "TOFDigitsInfoEditor.h" | |
4 | #include <Alieve/TOFDigitsInfo.h> | |
5 | ||
6 | #include <TVirtualPad.h> | |
7 | #include <TColor.h> | |
8 | ||
9 | #include <TGLabel.h> | |
10 | #include <TGButton.h> | |
11 | #include <TGNumberEntry.h> | |
12 | #include <TGColorSelect.h> | |
13 | #include <TGDoubleSlider.h> | |
14 | ||
15 | using namespace Reve; | |
16 | using namespace Alieve; | |
17 | ||
18 | //______________________________________________________________________ | |
19 | // TOFDigitsInfoEditor | |
20 | // | |
21 | ||
22 | ClassImp(TOFDigitsInfoEditor) | |
23 | ||
24 | TOFDigitsInfoEditor::TOFDigitsInfoEditor(const TGWindow *p, Int_t width, Int_t height, | |
25 | UInt_t options, Pixel_t back) : | |
26 | TGedFrame(p, width, height, options | kVerticalFrame, back), | |
27 | fM(0) | |
28 | // Initialize widget pointers to 0 | |
29 | { | |
30 | MakeTitle("TOFDigitsInfo"); | |
31 | ||
32 | // Create widgets | |
33 | // fXYZZ = new TGSomeWidget(this, ...); | |
34 | // AddFrame(fXYZZ, new TGLayoutHints(...)); | |
35 | // fXYZZ->Connect("SignalName()", "Alieve::TOFDigitsInfoEditor", this, "DoXYZZ()"); | |
36 | } | |
37 | ||
38 | TOFDigitsInfoEditor::~TOFDigitsInfoEditor() | |
39 | {} | |
40 | ||
41 | /**************************************************************************/ | |
42 | ||
43 | void TOFDigitsInfoEditor::SetModel(TObject* obj) | |
44 | { | |
45 | fM = dynamic_cast<TOFDigitsInfo*>(obj); | |
46 | ||
47 | // Set values of widgets | |
48 | // fXYZZ->SetValue(fM->GetXYZZ()); | |
49 | } | |
50 | ||
51 | /**************************************************************************/ | |
52 | ||
53 | // Implements callback/slot methods | |
54 | ||
55 | // void TOFDigitsInfoEditor::DoXYZZ() | |
56 | // { | |
57 | // fM->SetXYZZ(fXYZZ->GetValue()); | |
58 | // Update(); | |
59 | // } |