]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveJetPlaneEditor.h
Fixed effc++ warnings.
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveJetPlaneEditor.h
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 #ifndef ALIEVE_JetPlaneEditor_H
11 #define ALIEVE_JetPlaneEditor_H
12
13 #include <TGedFrame.h>
14 #include <RQ_OBJECT.h>
15
16 class TGButton;
17 class TGCheckButton;
18 class TGNumberEntry;
19 class TGColorSelect;
20
21 class TEveGValuator;
22
23
24 // class TEveGValuator;
25
26 class AliEveJetPlane;
27
28 class AliEveJetPlaneEditor : public TGedFrame
29 {
30 private:
31   AliEveJetPlaneEditor(const AliEveJetPlaneEditor&);            // Not implemented
32   AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
33
34 protected:
35   AliEveJetPlane          *fM; // fModel dynamic-casted to AliEveJetPlaneEditor
36
37   // Declare widgets
38   // TGSomeWidget*   fXYZZ;
39   TGCheckButton*     fRnrJets;
40   TGCheckButton*     fRnrTracks;
41   TEveGValuator*  fEnergyScale;
42   TEveGValuator*  fEnergyColorScale;
43   TGButton          *fOneSelection, *fTwoSelection;
44   TGButton          *fInformationSetup;
45
46 public:
47   AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
48                  UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
49   virtual ~AliEveJetPlaneEditor();
50
51   virtual void SetModel(TObject* obj);
52
53   // Declare callback/slot methods
54   // void DoXYZZ();
55   void DoRnrJets();
56   void DoRnrTracks();
57   void DoEnergyColorScale();
58   void DoEnergyScale();
59   void DoOneSelection();
60   void DoTwoSelection();
61   void DoStaticDataWindow();
62
63
64   // --- Internal class for common settings
65 public:
66   class StaticDataWindow : public TGTransientFrame
67   {
68   private:
69     StaticDataWindow(const StaticDataWindow&);            // Not implemented
70     StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
71
72     TGCompositeFrame    *fFrame1, *fF2;
73     TGButton            *fOkButton, *fCancelButton;
74     TGLayoutHints       *fL1, *fL2, *fL3, *fL5;
75     TGTab               *fTab;
76     TGButton            *fChk1, *fChk2,*fChk3, *fChk4,*fChk5;
77
78   public:
79     StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
80                      UInt_t options = kVerticalFrame);
81     virtual ~StaticDataWindow();
82
83     // slots
84     void DoClose();
85     void DoOK();
86     void DoCancel();
87     void DoTab(Int_t id);
88
89     ClassDef(StaticDataWindow, 0);
90   };
91
92 protected:
93   static StaticDataWindow* fgStaticWindow;
94
95   ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane
96 }; // endclass AliEveJetPlaneEditor
97
98 #endif