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).
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 Int_t GetPosition() const
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)
TGButton * GetButtonDown() const
TGNumberEntry * fMinEntry
Composite GUI element for single value selection (supports label, number-entry and slider)...
virtual void GetPosition(Float_t &min, Float_t &max) 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)
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...
void SetShowSlider(Bool_t s=kTRUE)
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
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.
TGButton * GetButtonUp() const
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 Double_t GetNumber() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void UnmapWindow()
virtual void SetHeight(UInt_t h)
TGNumberEntryField * GetNumberEntry() const
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 &)
Composite GUI element for selection of range (label, two number-entries and double-slider).
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.
void MinEntryCallback()
Callback for change in low number-entry.