Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveProjectionAxesEditor.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 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_TEveProjectionAxesEditor
13 #define ROOT_TEveProjectionAxesEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGCheckButton;
18 class TGComboBox;
19 class TEveGValuator;
20 
21 class TEveProjectionAxes;
22 
23 class TEveProjectionAxesEditor : public TGedFrame
24 {
25 private:
26  TEveProjectionAxesEditor(const TEveProjectionAxesEditor&); // Not implemented
27  TEveProjectionAxesEditor& operator=(const TEveProjectionAxesEditor&); // Not implemented
28 
29 protected:
30  TEveProjectionAxes *fM; // Model object.
31 
32  TGComboBox *fLabMode;
33  TGComboBox *fAxesMode;
34 
35  TGVerticalFrame *fCenterFrame; // Parent frame for Center tab.
36  TGCheckButton *fDrawCenter; // draw center widget
37  TGCheckButton *fDrawOrigin; // draw origin widget
38 
39 public:
40  TEveProjectionAxesEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
41  UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
42  virtual ~TEveProjectionAxesEditor() {}
43 
44  virtual void SetModel(TObject* obj);
45 
46  // Declare callback/slot methods
47 
48  void DoLabMode(Int_t type);
49  void DoAxesMode(Int_t type);
50 
51  void DoDrawCenter();
52  void DoDrawOrigin();
53 
54  ClassDef(TEveProjectionAxesEditor, 0); // GUI editor for TEveProjectionAxes.
55 };
56 
57 #endif