Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17class TGButton;
18class TGCheckButton;
19class TGNumberEntry;
20class TGColorSelect;
21
22class TEveGridStepper;
23class TEveGValuator;
24
26{
27private:
30
31protected:
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
41public:
44
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{
58private:
59 TEveGridStepperEditor(const TEveGridStepperEditor&); // Not implemented
61
62protected:
63 TEveGridStepper *fM; // Model object.
64 TEveGridStepperSubEditor *fSE; // Sub-editor containg GUI controls.
65
66public:
69
70 virtual void SetModel(TObject* obj);
71
72 ClassDef(TEveGridStepperEditor, 0); // Editor for TEveGridStepper class.
73};
74
75#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Composite GUI element for single value selection (supports label, number-entry and slider).
Editor for TEveGridStepper class.
virtual void SetModel(TObject *obj)
Set model object.
ClassDef(TEveGridStepperEditor, 0)
TEveGridStepperSubEditor * fSE
TEveGridStepperEditor & operator=(const TEveGridStepperEditor &)
TEveGridStepperEditor(const TEveGridStepperEditor &)
Sub-editor for TEveGridStepper class.
void Changed()
Emit Changed signal.
void DoNs()
Slot for changing fN's.
void DoDs()
Slot for changing fD's.
TEveGridStepperSubEditor(const TEveGridStepperSubEditor &)
TEveGridStepperSubEditor & operator=(const TEveGridStepperSubEditor &)
void SetModel(TEveGridStepper *m)
Set model object.
ClassDef(TEveGridStepperSubEditor, 0)
Provide discrete position coordinates for placement of objects on regular grids.
A button abstract base class.
Definition TGButton.h:68
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
A composite frame that layout their children in vertical way.
Definition TGFrame.h:374
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41
TMarker m
Definition textangle.C:8