46 static const TEveException eh(
"TEveParamList::GetFloatParameter ");
49 if (itr->fName.CompareTo(
name)==0 )
return *itr;
50 Error(eh,
"parameter not found.");
59 static const TEveException eh(
"TEveParamList::GetIntParameter ");
62 if (itr->fName.CompareTo(
name) == 0)
return *itr;
63 Error(eh,
"parameter not found.");
72 static const TEveException eh(
"TEveParamList::GetBoolParameter ");
75 if ( itr->fName.CompareTo(
name)==0 )
return itr->fValue;
76 Error(eh,
"parameter not found.");
150 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoIntUpdate()");
178 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoFloatUpdate()");
195 widget->
Connect(
"Clicked()",
"TEveParamListEditor",
this,
"DoBoolUpdate()");
include TDocParser_001 C image html pict1_TDocParser_001 png width
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'.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
virtual void UnmapWindow()
unmap window
virtual Long_t GetIntNumber() const
Get the numeric value (integer representation).
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
TGNumberEntryField * GetNumberEntry() const
virtual void DestroyWindow()
destroy window
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.