]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/AliEveHOMERManagerEditor.cxx
Put all classes in Alieve/ sub-module out of the Alieve namespace and
[u/mrichter/AliRoot.git] / EVE / Alieve / AliEveHOMERManagerEditor.cxx
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 "AliEveHOMERManagerEditor.h"
11 #include <Alieve/AliEveHOMERManager.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 // AliEveHOMERManagerEditor
23 //
24
25 ClassImp(AliEveHOMERManagerEditor)
26
27 AliEveHOMERManagerEditor::AliEveHOMERManagerEditor(const TGWindow *p, Int_t width, Int_t height,
28              UInt_t options, Pixel_t back) :
29   TGedFrame(p, width, height, options | kVerticalFrame, back),
30   fM(0),
31   fButt(0)
32   // Initialize widget pointers to 0
33 {
34   MakeTitle("AliEveHOMERManager");
35
36   // Create widgets
37   // fXYZZ = new TGSomeWidget(this, ...);
38   // AddFrame(fXYZZ, new TGLayoutHints(...));
39   // fXYZZ->Connect("SignalName()", "AliEveHOMERManagerEditor", this, "DoXYZZ()");
40   fButt = new TGTextButton(this, "Ooogadooga");
41   AddFrame(fButt); //, new TGLayoutHints(...));
42   fButt->Connect("Clicked()", "AliEveHOMERManagerEditor", this, "DoButt()");
43
44 }
45
46 AliEveHOMERManagerEditor::~AliEveHOMERManagerEditor()
47 {}
48
49 /**************************************************************************/
50
51 void AliEveHOMERManagerEditor::SetModel(TObject* obj)
52 {
53   fM = dynamic_cast<AliEveHOMERManager*>(obj);
54
55   // Set values of widgets
56   // fXYZZ->SetValue(fM->GetXYZZ());
57 }
58
59 /**************************************************************************/
60
61 // Implements callback/slot methods
62
63 // void AliEveHOMERManagerEditor::DoXYZZ()
64 // {
65 //   fM->SetXYZZ(fXYZZ->GetValue());
66 //   Update();
67 // }
68
69 void AliEveHOMERManagerEditor::DoButt()
70 {
71   fM->CreateHOMERSourcesList();
72 }