43 static const TEveException eh(
"TEveParamList::GetFloatParameter ");
46 if (itr->fName.CompareTo(
name)==0 )
return *itr;
47 Error(eh,
"parameter not found.");
56 static const TEveException eh(
"TEveParamList::GetIntParameter ");
59 if (itr->fName.CompareTo(
name) == 0)
return *itr;
60 Error(eh,
"parameter not found.");
69 static const TEveException eh(
"TEveParamList::GetBoolParameter ");
72 if ( itr->fName.CompareTo(
name)==0 )
return itr->fValue;
73 Error(eh,
"parameter not found.");
147 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoIntUpdate()");
175 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoFloatUpdate()");
192 widget->
Connect(
"Clicked()",
"TEveParamListEditor",
this,
"DoBoolUpdate()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
R__EXTERN void * gTQSender
void SetMainColorPtr(Color_t *color)
Exception class thrown by TEve classes and macros.
GUI editor for TEveParamList.
TGVerticalFrame * fParamFrame
virtual void InitModel(TObject *obj)
Initialize widgets when a new object is selected.
std::vector< TGCheckButton * > fBoolParameters
std::vector< TGNumberEntry * > fIntParameters
void DoFloatUpdate()
Slot for float parameter update.
TEveParamListEditor(const TEveParamListEditor &)
void DoIntUpdate()
Slot for integer parameter update.
virtual void SetModel(TObject *obj)
Set model object.
void DoBoolUpdate()
Slot for bool parameter update.
std::vector< TGNumberEntry * > fFloatParameters
Collection of named parameters.
IntConfigVec_t::const_iterator IntConfigVec_ci
TEveParamList(const TEveParamList &)
BoolConfigVec_t::const_iterator BoolConfigVec_ci
IntConfigVec_t fIntParameters
FloatConfigVec_t::const_iterator FloatConfigVec_ci
void ParamChanged(const char *name)
Emit ParamChanged() signal.
IntConfig_t GetIntParameter(const TString &name)
Get config-struct for int parameter 'name'.
BoolConfigVec_t fBoolParameters
Bool_t GetBoolParameter(const TString &name)
Get value for bool parameter 'name'.
FloatConfigVec_t fFloatParameters
FloatConfig_t GetFloatParameter(const TString &name)
Get config-struct for float parameter 'name'.
The base class for composite widgets (menu bars, list boxes, etc.).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void MapSubwindows() override
Map all sub windows that are part of the composite frame.
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
void UnmapWindow() override
unmap window
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
virtual Long_t GetIntNumber() const
Get the numeric value (integer representation).
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
TGNumberEntry is a number entry input widget with up/down buttons.
TGNumberEntryField * GetNumberEntry() const
Get the number entry field.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual void DestroyWindow()
destroy window
Base frame for implementing GUI - a service class.
virtual void MakeTitle(const char *title)
Create attribute frame title.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
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.