Logo ROOT   6.14/05
Reference Guide
TEveGridStepperEditor.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_TEveGridStepperEditor
13 #define ROOT_TEveGridStepperEditor
14 
15 #include "TGedFrame.h"
16 
17 class TGButton;
18 class TGCheckButton;
19 class TGNumberEntry;
20 class TGColorSelect;
21 
22 class TEveGridStepper;
23 class TEveGValuator;
24 
26 {
27 private:
28  TEveGridStepperSubEditor(const TEveGridStepperSubEditor&); // Not implemented
30 
31 protected:
32  TEveGridStepper *fM; // Model object.
33 
34  TEveGValuator *fNx; // Number of slots along x.
35  TEveGValuator *fNy; // Number of slots along y.
36  TEveGValuator *fNz; // Number of slots along z.
37  TEveGValuator *fDx; // Step in the x direction.
38  TEveGValuator *fDy; // Step in the y direction.
39  TEveGValuator *fDz; // Step in the z direction.
40 
41 public:
44 
45  void SetModel(TEveGridStepper* m);
46 
47  void Changed(); //*SIGNAL*
48 
49  void DoNs();
50  void DoDs();
51 
52  ClassDef(TEveGridStepperSubEditor, 0); // Sub-editor for TEveGridStepper class.
53 };
54 
55 
57 {
58 private:
59  TEveGridStepperEditor(const TEveGridStepperEditor&); // Not implemented
60  TEveGridStepperEditor& operator=(const TEveGridStepperEditor&); // Not implemented
61 
62 protected:
63  TEveGridStepper *fM; // Model object.
64  TEveGridStepperSubEditor *fSE; // Sub-editor containg GUI controls.
65 
66 public:
69 
70  virtual void SetModel(TObject* obj);
71 
72  ClassDef(TEveGridStepperEditor, 0); // Editor for TEveGridStepper class.
73 };
74 
75 #endif
auto * m
Definition: textangle.C:8
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
TEveGridStepperSubEditor(const TEveGridStepperSubEditor &)
TEveGridStepperSubEditor * fSE
int Int_t
Definition: RtypesCore.h:41
void DoDs()
Slot for changing fD's.
Composite GUI element for single value selection (supports label, number-entry and slider)...
TEveGridStepperSubEditor & operator=(const TEveGridStepperSubEditor &)
#define ClassDef(name, id)
Definition: Rtypes.h:320
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Editor for TEveGridStepper class.
Sub-editor for TEveGridStepper class.
void DoNs()
Slot for changing fN's.
unsigned int UInt_t
Definition: RtypesCore.h:42
void Changed()
Emit Changed signal.
Provide discrete position coordinates for placement of objects on regular grids.
Mother of all ROOT objects.
Definition: TObject.h:37
void SetModel(TEveGridStepper *m)
Set model object.