]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_TrackEditors_H | |
4 | #define REVE_TrackEditors_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
2074deef | 11 | class TGLineWidthComboBox; |
5a5a1232 | 12 | |
13 | namespace Reve { | |
14 | ||
a3912979 | 15 | class RGValuator; |
16 | class RGDoubleValuator; | |
17 | ||
5a5a1232 | 18 | class TrackList; |
19 | ||
20 | class TrackListEditor : public TGedFrame | |
21 | { | |
265ecb21 | 22 | TrackListEditor(const TrackListEditor&); // Not implemented |
23 | TrackListEditor& operator=(const TrackListEditor&); // Not implemented | |
24 | ||
5a5a1232 | 25 | protected: |
26 | TrackList* fTC; // fModel dynamic-casted to TrackListEditor | |
27 | ||
28 | TGNumberEntry* fMaxR; | |
29 | TGNumberEntry* fMaxZ; | |
30 | TGNumberEntry* fMaxOrbits; | |
31 | TGNumberEntry* fMinAng; | |
32 | TGNumberEntry* fDelta; | |
33 | ||
2074deef | 34 | TGLineWidthComboBox* fWidthCombo; |
35 | ||
5a5a1232 | 36 | TGCheckButton* fRnrTracks; |
37 | TGCheckButton* fRnrMarkers; | |
38 | ||
39 | TGCheckButton* fFitDaughters; | |
40 | TGCheckButton* fFitDecay; | |
41 | ||
a3912979 | 42 | RGDoubleValuator* fPtRange; |
43 | ||
5a5a1232 | 44 | public: |
a8600b56 | 45 | TrackListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
46 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
5a5a1232 | 47 | ~TrackListEditor(); |
48 | ||
a8600b56 | 49 | virtual void SetModel(TObject* obj); |
5a5a1232 | 50 | |
51 | void DoMaxR(); | |
52 | void DoMaxZ(); | |
53 | void DoMaxOrbits(); | |
54 | void DoMinAng(); | |
55 | void DoDelta(); | |
56 | ||
2074deef | 57 | void DoLineWidth(Int_t width); |
58 | ||
5a5a1232 | 59 | void DoRnrTracks(); |
60 | void DoRnrMarkers(); | |
61 | ||
62 | void DoFitDaughters(); | |
63 | void DoFitDecay(); | |
64 | ||
a3912979 | 65 | void DoPtRange(); |
5a5a1232 | 66 | |
67 | ClassDef(TrackListEditor, 1); // Editor for TrackList | |
68 | }; // endclass TrackListEditor | |
69 | ||
70 | } | |
71 | ||
72 | #endif |