3 #ifndef REVE_ZTransEditor_H
4 #define REVE_ZTransEditor_H
14 class RGTriVecValuator;
16 class ZTransSubEditor : public TGVerticalFrame
18 ZTransSubEditor(const ZTransSubEditor&); // Not implemented
19 ZTransSubEditor& operator=(const ZTransSubEditor&); // Not implemented
24 TGHorizontalFrame *fTopHorFrame;
26 TGCheckButton *fUseTrans;
27 TGCheckButton *fEditTrans;
29 TGVerticalFrame *fEditTransFrame;
31 RGTriVecValuator *fPos;
32 RGTriVecValuator *fRot;
33 RGTriVecValuator *fScale;
35 TGCheckButton *fAutoUpdate;
36 TGTextButton *fUpdate;
39 ZTransSubEditor(TGWindow* p);
40 virtual ~ZTransSubEditor() {}
42 void SetDataFromTrans(ZTrans* t);
43 void SetTransFromData();
45 void UseTrans(); //*SIGNAL*
46 void TransChanged(); //*SIGNAL*
50 void DoTransChanged();
52 ClassDef(ZTransSubEditor, 0)
55 class ZTransEditor : public TGedFrame
58 ZTransEditor(const ZTransEditor&); // Not implemented
59 ZTransEditor& operator=(const ZTransEditor&); // Not implemented
62 ZTrans* fM; // fModel dynamic-casted to ZTransEditor
65 // TGSomeWidget* fXYZZ;
68 ZTransEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
69 virtual ~ZTransEditor();
71 virtual void SetModel(TObject* obj);
73 // Declare callback/slot methods
76 ClassDef(ZTransEditor, 1); // Editor for ZTrans
77 }; // endclass ZTransEditor