|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TEveGValuators
13 #define ROOT_TEveGValuators
167 void Build(
Bool_t vertical,
const char* lab0,
const char* lab1,
const char* lab2);
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
virtual ~TEveGTriVecValuator()
Base class for composite GUI elements for setting of numeric values.
ROOT GUI Window base class.
void SetValues(Float_t v0, Float_t v1, Float_t v2)
Composite GUI element for setting three numerical values (label, three number-entries).
TEveGValuator * GetValuator(Int_t i) const
TEveGDoubleValuator & operator=(const TEveGDoubleValuator &)
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void SetValues(Double_t v[3])
void EntryCallback()
Callback for change in number-entry.
Composite GUI element for single value selection (supports label, number-entry and slider).
TEveGValuator(const TEveGValuator &)
This class handles GUI labels.
virtual ~TEveGDoubleValuator()
Concrete class for horizontal slider.
static constexpr double s
TGNumberEntry * GetMaxEntry()
void GetValues(Float_t &v0, Float_t &v1, Float_t &v2) const
virtual void Build(Bool_t connect=kTRUE)=0
void SetAlignRight(Bool_t a)
TEveGTriVecValuator & operator=(const TEveGTriVecValuator &)
void SetLabelWidth(Int_t w)
TGNumberEntry * fMinEntry
void GetValues(Float_t v[3]) const
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
TEveGTriVecValuator(const TEveGTriVecValuator &)
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
void SetNEHeight(Int_t h)
void ValueSet()
Emit "ValueSet()" signal.
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
Float_t GetLimitMin() const
TGNumberEntry * fMaxEntry
void MinEntryCallback()
Callback for change in low number-entry.
Dragging the slider will generate the event:
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
TEveGValuatorBase(const TEveGValuatorBase &)
TGNumberEntry * GetEntry()
Int_t CalcSliderPos(Float_t v)
Return slider position for given value.
void SetValues(Float_t v[3])
void SetShowSlider(Bool_t s=kTRUE)
void SetNELength(Int_t l)
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
void SetNELength(Int_t l)
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
Composite GUI element for selection of range (label, two number-entries and double-slider).
TEveGValuator & operator=(const TEveGValuator &)
TEveGDoubleValuator(const TEveGDoubleValuator &)
void SliderCallback()
Callback for change in slider position.
TGDoubleHSlider * GetSlider()
TEveGValuatorBase & operator=(const TEveGValuatorBase &)
void ValueSet()
Emit "ValueSet()" signal.
void SetValue(Int_t i, Float_t v)
TGDoubleHSlider * fSlider
Float_t GetLimitMin() const
TGNumberEntry * GetMinEntry()
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
virtual ~TEveGValuatorBase()
void GetLimits(Float_t &min, Float_t &max) const
void SetNEHeight(Int_t h)
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
Float_t GetLimitMax() const
#define ClassDef(name, id)
void SetLabelWidth(Int_t w)
void SetSliderNewLine(Bool_t nl)
void GetValues(Float_t &min, Float_t &max) const
void SliderCallback()
Callback for change in slider position / width.
virtual Double_t GetNumber() const
Float_t GetLimitMax() const
TGNumberEntry is a number entry input widget with up/down buttons.
Float_t GetValue(Int_t i) const
void SetEnabled(Bool_t state)
Set enabled state of the whole widget.
The base class for composite widgets (menu bars, list boxes, etc.).
void MaxEntryCallback()
Callback for change in high number-entry.
virtual Double_t GetNumMax() const
virtual Double_t GetNumMin() const
void GetValues(Double_t v[3]) const