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)
Composite GUI element for setting three numerical values (label, three number-entries).
TGButton * GetButtonUp() const
ClassImp(TEveGValuatorBase)
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void MaxEntryCallback()
Callback for change in high number-entry.
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void ValueSet()
Emit "ValueSet()" signal.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
virtual void SetRange(Int_t min, Int_t max)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
void SliderCallback()
Callback for change in slider position.
virtual void SetNumber(Double_t val)
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
virtual void SetRange(Float_t min, Float_t max)
TGNumberEntry * fMinEntry
Composite GUI element for single value selection (supports label, number-entry and slider)...
TGButton * GetButtonDown() const
TGNumberEntryField * GetNumberEntry() const
void SliderCallback()
Callback for change in slider position / width.
virtual void SetName(const char *name)
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void SetNEHeight(Int_t h)
void Emit(const char *signal)
Acitvate signal without args.
TEveGValuator(const TEveGValuator &)
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...
virtual Int_t GetPosition() const
void SetShowSlider(Bool_t s=kTRUE)
virtual void GetPosition(Float_t &min, Float_t &max) const
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void SetNELength(Int_t l)
TGNumberEntry * fMaxEntry
void ValueSet()
Emit "ValueSet()" signal.
Base class for composite GUI elements for setting of numeric values.
virtual void SetPosition(Int_t pos)
void SetEnabled(Bool_t state)
Set enabled state of the whole widget.
TEveGValuatorBase(const TEveGValuatorBase &)
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
void SetEnabled(Bool_t flag=kTRUE)
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
virtual void UnmapWindow()
virtual void SetHeight(UInt_t h)
Int_t CalcSliderPos(Float_t v)
Return slider position for given value.
void EntryCallback()
Callback for change in number-entry.
void SetLabelWidth(Int_t w)
virtual void SetPosition(Float_t min, Float_t max)
TEveGDoubleValuator(const TEveGDoubleValuator &)
TGDoubleHSlider * fSlider
TEveGTriVecValuator(const TEveGTriVecValuator &)
virtual Double_t GetNumber() const
Composite GUI element for selection of range (label, two number-entries and double-slider).
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
void MinEntryCallback()
Callback for change in low number-entry.