ROOT
master
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
17
class
TGButton
;
18
class
TGCheckButton
;
19
class
TGNumberEntry
;
20
class
TGColorSelect
;
21
22
class
TEveGridStepper
;
23
class
TEveGValuator
;
24
25
class
TEveGridStepperSubEditor
:
public
TGVerticalFrame
26
{
27
private
:
28
TEveGridStepperSubEditor
(
const
TEveGridStepperSubEditor
&);
// Not implemented
29
TEveGridStepperSubEditor
&
operator=
(
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
:
42
TEveGridStepperSubEditor
(
const
TGWindow
*
p
);
43
~TEveGridStepperSubEditor
()
override
{}
44
45
void
SetModel
(
TEveGridStepper
*
m
);
46
47
void
Changed
();
//*SIGNAL*
48
49
void
DoNs
();
50
void
DoDs
();
51
52
ClassDefOverride
(
TEveGridStepperSubEditor
, 0);
// Sub-editor for TEveGridStepper class.
53
};
54
55
56
class
TEveGridStepperEditor
:
public
TGedFrame
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
:
67
TEveGridStepperEditor
(
const
TGWindow
*
p
=
nullptr
,
Int_t
width
=170,
Int_t
height
=30,
UInt_t
options=
kChildFrame
,
Pixel_t
back=
GetDefaultFrameBackground
());
68
~TEveGridStepperEditor
()
override
{}
69
70
void
SetModel
(
TObject
* obj)
override
;
71
72
ClassDefOverride
(
TEveGridStepperEditor
, 0);
// Editor for TEveGridStepper class.
73
};
74
75
#endif
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
p
winID h TVirtualViewer3D TVirtualGLPainter p
Definition
TGWin32VirtualGLProxy.cxx:51
width
Option_t Option_t width
Definition
TGWin32VirtualXProxy.cxx:56
height
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Definition
TGWin32VirtualXProxy.cxx:164
TGedFrame.h
TEveGValuator
Composite GUI element for single value selection (supports label, number-entry and slider).
Definition
TEveGValuators.h:58
TEveGridStepperEditor
Editor for TEveGridStepper class.
Definition
TEveGridStepperEditor.h:57
TEveGridStepperEditor::SetModel
void SetModel(TObject *obj) override
Set model object.
Definition
TEveGridStepperEditor.cxx:181
TEveGridStepperEditor::ClassDefOverride
ClassDefOverride(TEveGridStepperEditor, 0)
TEveGridStepperEditor::fSE
TEveGridStepperSubEditor * fSE
Definition
TEveGridStepperEditor.h:64
TEveGridStepperEditor::~TEveGridStepperEditor
~TEveGridStepperEditor() override
Definition
TEveGridStepperEditor.h:68
TEveGridStepperEditor::fM
TEveGridStepper * fM
Definition
TEveGridStepperEditor.h:63
TEveGridStepperEditor::operator=
TEveGridStepperEditor & operator=(const TEveGridStepperEditor &)
TEveGridStepperEditor::TEveGridStepperEditor
TEveGridStepperEditor(const TEveGridStepperEditor &)
TEveGridStepperSubEditor
Sub-editor for TEveGridStepper class.
Definition
TEveGridStepperEditor.h:26
TEveGridStepperSubEditor::fDy
TEveGValuator * fDy
Definition
TEveGridStepperEditor.h:38
TEveGridStepperSubEditor::fDx
TEveGValuator * fDx
Definition
TEveGridStepperEditor.h:37
TEveGridStepperSubEditor::Changed
void Changed()
Emit Changed signal.
Definition
TEveGridStepperEditor.cxx:132
TEveGridStepperSubEditor::fNz
TEveGValuator * fNz
Definition
TEveGridStepperEditor.h:36
TEveGridStepperSubEditor::DoNs
void DoNs()
Slot for changing fN's.
Definition
TEveGridStepperEditor.cxx:140
TEveGridStepperSubEditor::fNy
TEveGValuator * fNy
Definition
TEveGridStepperEditor.h:35
TEveGridStepperSubEditor::~TEveGridStepperSubEditor
~TEveGridStepperSubEditor() override
Definition
TEveGridStepperEditor.h:43
TEveGridStepperSubEditor::DoDs
void DoDs()
Slot for changing fD's.
Definition
TEveGridStepperEditor.cxx:149
TEveGridStepperSubEditor::ClassDefOverride
ClassDefOverride(TEveGridStepperSubEditor, 0)
TEveGridStepperSubEditor::TEveGridStepperSubEditor
TEveGridStepperSubEditor(const TEveGridStepperSubEditor &)
TEveGridStepperSubEditor::operator=
TEveGridStepperSubEditor & operator=(const TEveGridStepperSubEditor &)
TEveGridStepperSubEditor::fDz
TEveGValuator * fDz
Definition
TEveGridStepperEditor.h:39
TEveGridStepperSubEditor::SetModel
void SetModel(TEveGridStepper *m)
Set model object.
Definition
TEveGridStepperEditor.cxx:116
TEveGridStepperSubEditor::fNx
TEveGValuator * fNx
Definition
TEveGridStepperEditor.h:34
TEveGridStepperSubEditor::fM
TEveGridStepper * fM
Definition
TEveGridStepperEditor.h:32
TEveGridStepper
Provide discrete position coordinates for placement of objects on regular grids.
Definition
TEveGridStepper.h:22
TGButton
A button abstract base class.
Definition
TGButton.h:68
TGCheckButton
Selects different options.
Definition
TGButton.h:264
TGColorSelect
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
Definition
TGColorSelect.h:104
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition
TGFrame.cxx:683
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition
TGNumberEntry.h:148
TGVerticalFrame
A composite frame that layout their children in vertical way.
Definition
TGFrame.h:374
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGedFrame
Base frame for implementing GUI - a service class.
Definition
TGedFrame.h:27
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
unsigned int
m
TMarker m
Definition
textangle.C:8
graf3d
eve
inc
TEveGridStepperEditor.h
ROOT master - Reference Guide Generated on Sun Dec 15 2024 09:31:24 (GVA Time) using Doxygen 1.9.8