Logo ROOT   master
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
TEveGridStepperEditor(const TEveGridStepperEditor &)
auto * m
Definition: textangle.C:8
virtual void SetModel(TObject *obj)
Set model object.
unsigned int UInt_t
Definition: CPyCppyy.h:44
TEveGridStepperSubEditor(const TEveGridStepperSubEditor &)
TEveGridStepperSubEditor * fSE
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:322
ULong_t Pixel_t
Definition: GuiTypes.h:39
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:668
Editor for TEveGridStepper class.
Sub-editor for TEveGridStepper class.
void DoNs()
Slot for changing fN's.
void Changed()
Emit Changed signal.
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
Provide discrete position coordinates for placement of objects on regular grids.
TEveGridStepperEditor & operator=(const TEveGridStepperEditor &)
Mother of all ROOT objects.
Definition: TObject.h:37
void SetModel(TEveGridStepper *m)
Set model object.