118 "TEveGValuator",
this,
"EntryCallback()");
127 "TEveGValuator",
this,
"SliderCallback()");
200 Emit(
"ValueSet(Double_t)", val);
307 "TEveGDoubleValuator",
this,
"MinEntryCallback()");
315 "TEveGDoubleValuator",
this,
"MaxEntryCallback()");
323 "TEveGDoubleValuator",
this,
"SliderCallback()");
442 const char *labs[3] = { lab0, lab1, lab2 };
444 for (
Int_t i=0; i<3; ++i) {
452 (
"ValueSet(Double_t)",
"TEveGTriVecValuator",
this,
"ValueSet()");
472 for (
Int_t i=0; i<3; ++i)
482 for (
Int_t i=0; i<3; ++i)
winID h TVirtualViewer3D TVirtualGLPainter p
Composite GUI element for selection of range (label, two number-entries and double-slider).
void MinEntryCallback()
Callback for change in low number-entry.
TGNumberEntry * fMaxEntry
void Build(Bool_t connect=kTRUE) override
Create sub-components (label, number entries, double-slider).
TEveGDoubleValuator(const TEveGDoubleValuator &)
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
void ValueSet()
Emit "ValueSet()" signal.
TGDoubleHSlider * fSlider
void MaxEntryCallback()
Callback for change in high number-entry.
void SliderCallback()
Callback for change in slider position / width.
TGNumberEntry * fMinEntry
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
Composite GUI element for setting three numerical values (label, three number-entries).
void ValueSet()
Emit "ValueSet()" signal.
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
TEveGTriVecValuator(const TEveGTriVecValuator &)
Base class for composite GUI elements for setting of numeric values.
void SetLabelWidth(Int_t w)
void SetNEHeight(Int_t h)
void SetShowSlider(Bool_t s=kTRUE)
void SetNELength(Int_t l)
TEveGValuatorBase(const TEveGValuatorBase &)
Composite GUI element for single value selection (supports label, number-entry and slider).
TEveGValuator(const TEveGValuator &)
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
void Build(Bool_t connect=kTRUE) override
Create sub-components (label, number entry, slider).
void SetEnabled(Bool_t state)
Set enabled state of the whole widget.
Int_t CalcSliderPos(Float_t v)
Return slider position for given value.
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
void SliderCallback()
Callback for change in slider position.
void EntryCallback()
Callback for change in number-entry.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
Dragging the slider will generate the event:
virtual void GetPosition(Float_t &min, Float_t &max) const
virtual void SetRange(Float_t min, Float_t max)
virtual void SetPosition(Float_t min, Float_t max)
void MapWindow() override
map window
void UnmapWindow() override
unmap window
virtual void SetHeight(UInt_t h)
Concrete class for horizontal slider.
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGNumberEntry is a number entry input widget with up/down buttons.
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
TGButton * GetButtonDown() const
Get the down button.
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
virtual Double_t GetNumber() const
virtual void SetNumber(Double_t val, Bool_t emit=kTRUE)
TGButton * GetButtonUp() const
Get the up button.
virtual Int_t GetPosition() const
virtual void SetPosition(Int_t pos)
Set slider position.
virtual void SetRange(Int_t min, Int_t max)
Set slider range.
void SetEnabled(Bool_t flag=kTRUE)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
ROOT GUI Window base class.
virtual void SetName(const char *name)
TString fName
name of the window used in SavePrimitive()
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.