42 fNx->SetLabelWidth(labelW);
45 fNx->SetLimits(1, 15);
46 fNx->Connect(
"ValueSet(Double_t)",
47 "TEveGridStepperSubEditor",
this,
"DoNs()");
52 fNy->SetLabelWidth(labelW);
55 fNy->SetLimits(1, 15);
56 fNy->Connect(
"ValueSet(Double_t)",
57 "TEveGridStepperSubEditor",
this,
"DoNs()");
62 fNz->SetLabelWidth(labelW);
65 fNz->SetLimits(1, 15);
66 fNz->Connect(
"ValueSet(Double_t)",
67 "TEveGridStepperSubEditor",
this,
"DoNs()");
79 fDx->SetLabelWidth(labelW);
83 fDx->Connect(
"ValueSet(Double_t)",
84 "TEveGridStepperSubEditor",
this,
"DoDs()");
89 fDy->SetLabelWidth(labelW);
93 fDy->Connect(
"ValueSet(Double_t)",
94 "TEveGridStepperSubEditor",
this,
"DoDs()");
99 fDz->SetLabelWidth(labelW);
103 fDz->Connect(
"ValueSet(Double_t)",
104 "TEveGridStepperSubEditor",
this,
"DoDs()");
119 fNx->SetValue(
fM->fNx);
120 fNy->SetValue(
fM->fNy);
121 fNz->SetValue(
fM->fNz);
123 fDx->SetValue(
fM->fDx);
124 fDy->SetValue(
fM->fDy);
125 fDz->SetValue(
fM->fDz);
150 fM->SetDs(
fDx->GetValue(),
fDy->GetValue(),
fDz->GetValue());
173 fSE->Connect(
"Changed()",
"TEveGridStepperEditor",
this,
"Update()");
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Composite GUI element for single value selection (supports label, number-entry and slider).
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.