43 fNx->SetLabelWidth(labelW);
46 fNx->SetLimits(1, 15);
47 fNx->Connect(
"ValueSet(Double_t)",
48 "TEveGridStepperSubEditor",
this,
"DoNs()");
53 fNy->SetLabelWidth(labelW);
56 fNy->SetLimits(1, 15);
57 fNy->Connect(
"ValueSet(Double_t)",
58 "TEveGridStepperSubEditor",
this,
"DoNs()");
63 fNz->SetLabelWidth(labelW);
66 fNz->SetLimits(1, 15);
67 fNz->Connect(
"ValueSet(Double_t)",
68 "TEveGridStepperSubEditor",
this,
"DoNs()");
80 fDx->SetLabelWidth(labelW);
84 fDx->Connect(
"ValueSet(Double_t)",
85 "TEveGridStepperSubEditor",
this,
"DoDs()");
90 fDy->SetLabelWidth(labelW);
94 fDy->Connect(
"ValueSet(Double_t)",
95 "TEveGridStepperSubEditor",
this,
"DoDs()");
100 fDz->SetLabelWidth(labelW);
104 fDz->Connect(
"ValueSet(Double_t)",
105 "TEveGridStepperSubEditor",
this,
"DoDs()");
120 fNx->SetValue(
fM->fNx);
121 fNy->SetValue(
fM->fNy);
122 fNz->SetValue(
fM->fNz);
124 fDx->SetValue(
fM->fDx);
125 fDy->SetValue(
fM->fDy);
126 fDz->SetValue(
fM->fDz);
151 fM->SetDs(
fDx->GetValue(),
fDy->GetValue(),
fDz->GetValue());
175 fSE->Connect(
"Changed()",
"TEveGridStepperEditor",
this,
"Update()");
ULong_t Pixel_t
Pixel value.
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.
void SetModel(TObject *obj) override
Set model object.
TEveGridStepperSubEditor * fSE
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 &)
void SetModel(TEveGridStepper *m)
Set model object.
Provide discrete position coordinates for placement of objects on regular grids.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
A composite frame with a border and a title.
A composite frame that layout their children in horizontal way.
This class describes layout hints used by the layout classes.
TGVerticalFrame(const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
virtual void MakeTitle(const char *title)
Create attribute frame title.
Mother of all ROOT objects.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.