3 #ifndef ALIEVE_JetPlaneEditor_H
4 #define ALIEVE_JetPlaneEditor_H
25 class JetPlaneEditor : public TGedFrame
28 JetPlaneEditor(const JetPlaneEditor&); // Not implemented
29 JetPlaneEditor& operator=(const JetPlaneEditor&); // Not implemented
32 JetPlane *fM; // fModel dynamic-casted to JetPlaneEditor
35 // TGSomeWidget* fXYZZ;
36 TGCheckButton* fRnrJets;
37 TGCheckButton* fRnrTracks;
38 Reve::RGValuator* fEnergyScale;
39 Reve::RGValuator* fEnergyColorScale;
40 TGButton *fOneSelection, *fTwoSelection;
41 TGButton *fInformationSetup;
44 JetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
45 UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
46 virtual ~JetPlaneEditor();
48 virtual void SetModel(TObject* obj);
50 // Declare callback/slot methods
54 void DoEnergyColorScale();
56 void DoOneSelection();
57 void DoTwoSelection();
58 void DoStaticDataWindow();
61 // --- Internal class for common settings
63 class StaticDataWindow : public TGTransientFrame
66 TGCompositeFrame *fFrame1, *fF2;
67 TGButton *fOkButton, *fCancelButton;
68 TGLayoutHints *fL1, *fL2, *fL3, *fL5;
70 TGButton *fChk1, *fChk2,*fChk3, *fChk4,*fChk5;
73 StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
74 UInt_t options = kVerticalFrame);
75 virtual ~StaticDataWindow();
83 ClassDef(StaticDataWindow, 0);
87 static StaticDataWindow* fgStaticWindow;
89 ClassDef(JetPlaneEditor, 1); // Editor for JetPlane
90 }; // endclass JetPlaneEditor