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 selection of range (label, two number-entries and double-slider).
void MinEntryCallback()
Callback for change in low number-entry.
TGNumberEntry * fMaxEntry
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.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
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 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.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
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.
virtual void SetLayoutManager(TGLayoutManager *l)
Set the layout manager for the composite frame.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
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)
virtual void MapWindow()
map window
virtual void SetHeight(UInt_t h)
virtual void UnmapWindow()
unmap window
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual void SetLimits(ELimit limits=TGNumberFormat::kNELNoLimits, Double_t min=0, Double_t max=1)
TGButton * GetButtonDown() const
virtual void SetFormat(EStyle style, EAttribute attr=TGNumberFormat::kNEAAnyNumber)
virtual Double_t GetNumber() const
TGButton * GetButtonUp() const
virtual Int_t GetPosition() const
virtual void SetPosition(Int_t pos)
virtual void SetRange(Int_t min, Int_t max)
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.
virtual void SetName(const char *name)
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.