Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveStraightLineSetEditor.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveStraightLineSetEditor
13 #define ROOT_TEveStraightLineSetEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGCheckButton;
18 class TGNumberEntry;
19 class TGColorSelect;
20 
21 class TEveStraightLineSet;
22 
23 class TEveStraightLineSetEditor : public TGedFrame
24 {
25 private:
26  TEveStraightLineSetEditor(const TEveStraightLineSetEditor&); // Not implemented
27  TEveStraightLineSetEditor& operator=(const TEveStraightLineSetEditor&); // Not implemented
28 
29 protected:
30  TEveStraightLineSet* fM; // fModel dynamic-casted to TEveStraightLineSetEditor
31 
32  // Declare widgets
33  TGCheckButton* fRnrMarkers;
34  TGCheckButton* fRnrLines;
35 
36 public:
37  TEveStraightLineSetEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
38  virtual ~TEveStraightLineSetEditor() {}
39 
40  virtual void SetModel(TObject* obj);
41 
42  // Declare callback/slot methods
43  void DoRnrMarkers();
44  void DoRnrLines();
45 
46  ClassDef(TEveStraightLineSetEditor, 0); // Editor for TEveStraightLineSet class.
47 };
48 
49 #endif