Logo ROOT   6.10/09
Reference Guide
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 
24 {
25 private:
26  TEveProjectionAxesEditor(const TEveProjectionAxesEditor&); // Not implemented
28 
29 protected:
30  TEveProjectionAxes *fM; // Model object.
31 
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,
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
GUI editor for TEveProjectionAxes.
void DoAxesMode(Int_t type)
Slot for setting number of axes.
int Int_t
Definition: RtypesCore.h:41
Axes for non-linear projections.
Composite GUI element for single value selection (supports label, number-entry and slider)...
#define ClassDef(name, id)
Definition: Rtypes.h:297
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
void DoLabMode(Int_t type)
Slot for setting tick-mark step mode.
unsigned int UInt_t
Definition: RtypesCore.h:42
int type
Definition: TGX11.cxx:120
void DoDrawCenter()
Slot for setting draw of center.
Mother of all ROOT objects.
Definition: TObject.h:37
TEveProjectionAxesEditor & operator=(const TEveProjectionAxesEditor &)
void DoDrawOrigin()
Slot for setting draw of origin.
virtual void SetModel(TObject *obj)
Set model object.
TEveProjectionAxesEditor(const TEveProjectionAxesEditor &)