12#ifndef ROOT_TEveGValuators
13#define ROOT_TEveGValuators
167 void Build(
Bool_t vertical,
const char* lab0,
const char* lab1,
const char* lab2);
#define ClassDef(name, id)
Composite GUI element for selection of range (label, two number-entries and double-slider).
TGNumberEntry * GetMinEntry()
void MinEntryCallback()
Callback for change in low number-entry.
TGNumberEntry * fMaxEntry
virtual ~TEveGDoubleValuator()
void GetValues(Float_t &min, Float_t &max) const
TEveGDoubleValuator(const TEveGDoubleValuator &)
TGNumberEntry * GetMaxEntry()
TGDoubleHSlider * GetSlider()
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
Float_t GetLimitMin() const
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.
TEveGDoubleValuator & operator=(const TEveGDoubleValuator &)
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.
Float_t GetLimitMax() const
Composite GUI element for setting three numerical values (label, three number-entries).
void SetValue(Int_t i, Float_t v)
void GetValues(Float_t &v0, Float_t &v1, Float_t &v2) const
void ValueSet()
Emit "ValueSet()" signal.
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void SetValues(Float_t v[3])
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void SetValues(Float_t v0, Float_t v1, Float_t v2)
TEveGTriVecValuator(const TEveGTriVecValuator &)
virtual ~TEveGTriVecValuator()
void SetNELength(Int_t l)
void GetValues(Double_t v[3]) const
TEveGTriVecValuator & operator=(const TEveGTriVecValuator &)
void SetNEHeight(Int_t h)
void GetValues(Float_t v[3]) const
Float_t GetValue(Int_t i) const
void SetValues(Double_t v[3])
TEveGValuator * GetValuator(Int_t i) const
void SetLabelWidth(Int_t w)
Base class for composite GUI elements for setting of numeric values.
void SetLabelWidth(Int_t w)
TEveGValuatorBase & operator=(const TEveGValuatorBase &)
void SetNEHeight(Int_t h)
void SetAlignRight(Bool_t a)
void SetShowSlider(Bool_t s=kTRUE)
void SetNELength(Int_t l)
virtual ~TEveGValuatorBase()
TEveGValuatorBase(const TEveGValuatorBase &)
virtual void Build(Bool_t connect=kTRUE)=0
Composite GUI element for single value selection (supports label, number-entry and slider).
TEveGValuator(const TEveGValuator &)
TEveGValuator & operator=(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.
Float_t GetLimitMin() const
TGNumberEntry * GetEntry()
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 GetLimits(Float_t &min, Float_t &max) const
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.
void SetSliderNewLine(Bool_t nl)
Float_t GetLimitMax() const
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.).
Dragging the slider will generate the event:
Concrete class for horizontal slider.
This class handles GUI labels.
TGNumberEntry is a number entry input widget with up/down buttons.
virtual Double_t GetNumMax() const
virtual Double_t GetNumMin() const
virtual Double_t GetNumber() const
ROOT GUI Window base class.