3 #include "TOFStripEditor.h"
4 #include <Alieve/TOFStrip.h>
6 #include <TVirtualPad.h>
11 #include <TGNumberEntry.h>
12 #include <TGColorSelect.h>
13 #include <TGDoubleSlider.h>
16 using namespace Alieve;
18 //______________________________________________________________________
22 ClassImp(TOFStripEditor)
24 TOFStripEditor::TOFStripEditor(const TGWindow *p, Int_t width, Int_t height,
25 UInt_t options, Pixel_t back) :
26 TGedFrame(p, width, height, options | kVerticalFrame, back),
28 // Initialize widget pointers to 0
30 MakeTitle("TOFStrip");
33 // fXYZZ = new TGSomeWidget(this, ...);
34 // AddFrame(fXYZZ, new TGLayoutHints(...));
35 // fXYZZ->Connect("SignalName()", "Alieve::TOFStripEditor", this, "DoXYZZ()");
38 TOFStripEditor::~TOFStripEditor()
41 /**************************************************************************/
43 void TOFStripEditor::SetModel(TObject* obj)
45 fM = dynamic_cast<TOFStrip*>(obj);
47 // Set values of widgets
48 // fXYZZ->SetValue(fM->GetXYZZ());
51 /**************************************************************************/
53 // Implements callback/slot methods
55 // void TOFStripEditor::DoXYZZ()
57 // fM->SetXYZZ(fXYZZ->GetValue());