3 #ifndef REVE_TrackRnrStyleEditor_H
4 #define REVE_TrackRnrStyleEditor_H
13 class TGLineWidthComboBox;
14 class TGLineStyleComboBox;
16 class TAttMarkerEditor;
23 class RGDoubleValuator;
24 class TrackRnrStyleSubEditor;
26 class TrackRnrStyleSubEditor : public TGVerticalFrame
28 friend class TrackRnrStyleEditor;
29 friend class TrackListEditor;
32 TrackRnrStyleSubEditor(const TrackRnrStyleSubEditor&); // Not implemented
33 TrackRnrStyleSubEditor& operator=(const TrackRnrStyleSubEditor&); // Not implemented
38 Reve::RGValuator *fMaxR;
39 Reve::RGValuator *fMaxZ;
40 Reve::RGValuator *fMaxOrbits;
41 Reve::RGValuator *fMinAng;
42 Reve::RGValuator *fDelta;
44 TGCheckButton *fRnrFV;
46 TGCompositeFrame *fPMFrame;
47 TGButton *fFitDaughters;
48 TGButton *fFitReferences;
50 TGButton *fRnrDaughters;
51 TGButton *fRnrReferences;
54 TGCompositeFrame *fRefsCont;
56 TAttMarkerEditor *fPMAtt;
57 TAttMarkerEditor *fFVAtt;
60 TrackRnrStyleSubEditor(const TGWindow* p);
61 virtual ~TrackRnrStyleSubEditor() {}
63 void SetModel(TrackRnrStyle* m);
65 void Changed(); //*SIGNAL*
78 void CreateRefsContainer(TGVerticalFrame* p);
80 ClassDef(TrackRnrStyleSubEditor, 0) // Sub-editor for TrackRnrStyle.
83 /**************************************************************************/
84 // TrackRnrStyleEditor
85 /**************************************************************************/
87 class TrackRnrStyleEditor : public TGedFrame
90 TrackRnrStyleEditor(const TrackRnrStyleEditor&); // Not implemented
91 TrackRnrStyleEditor& operator=(const TrackRnrStyleEditor&); // Not implemented
95 TrackRnrStyle *fM; // Model object.
96 TrackRnrStyleSubEditor *fRSSubEditor; // Render-style sub-editor.
99 TrackRnrStyleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
100 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
101 ~TrackRnrStyleEditor();
103 virtual void SetModel(TObject* obj);
105 ClassDef(TrackRnrStyleEditor, 1); // Editor for TrackRnrStyle.
106 }; // endclass TrackRnrStyleEditor