]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/ZTransEditor.h
Add Getters and Setters in TrackRnrStyle and TrackList to define rendering of path...
[u/mrichter/AliRoot.git] / EVE / Reve / ZTransEditor.h
CommitLineData
76082cd6 1// $Header$
2
3#ifndef REVE_ZTransEditor_H
4#define REVE_ZTransEditor_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGTextButton;
10
11namespace Reve {
12
13class ZTrans;
14class RGTriVecValuator;
15
16class ZTransSubEditor : public TGVerticalFrame
17{
3c67f72c 18 ZTransSubEditor(const ZTransSubEditor&); // Not implemented
19 ZTransSubEditor& operator=(const ZTransSubEditor&); // Not implemented
20
76082cd6 21protected:
22 ZTrans *fTrans;
23
24 TGHorizontalFrame *fTopHorFrame;
25
26 TGCheckButton *fUseTrans;
27 TGCheckButton *fEditTrans;
28
29 TGVerticalFrame *fEditTransFrame;
30
31 RGTriVecValuator *fPos;
32 RGTriVecValuator *fRot;
33 RGTriVecValuator *fScale;
34
35 TGCheckButton *fAutoUpdate;
3c67f72c 36 TGTextButton *fUpdate;
76082cd6 37
38public:
39 ZTransSubEditor(TGWindow* p);
40 virtual ~ZTransSubEditor() {}
41
42 void SetDataFromTrans(ZTrans* t);
43 void SetTransFromData();
44
45 void UseTrans(); //*SIGNAL*
46 void TransChanged(); //*SIGNAL*
47
48 void DoUseTrans();
49 void DoEditTrans();
50 void DoTransChanged();
51
52 ClassDef(ZTransSubEditor, 0)
53};
54
55class ZTransEditor : public TGedFrame
56{
57private:
58 ZTransEditor(const ZTransEditor&); // Not implemented
59 ZTransEditor& operator=(const ZTransEditor&); // Not implemented
60
61protected:
62 ZTrans* fM; // fModel dynamic-casted to ZTransEditor
63
64 // Declare widgets
65 // TGSomeWidget* fXYZZ;
66
67public:
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();
70
71 virtual void SetModel(TObject* obj);
72
73 // Declare callback/slot methods
74 // void DoXYZZ();
75
76 ClassDef(ZTransEditor, 1); // Editor for ZTrans
77}; // endclass ZTransEditor
78
79}
80
81#endif