47 static const TEveException eh(
"TEveParamList::GetFloatParameter ");
50 if (itr->fName.CompareTo(name)==0 )
return *itr;
51 Error(eh,
"parameter not found.");
60 static const TEveException eh(
"TEveParamList::GetIntParameter ");
63 if (itr->fName.CompareTo(name) == 0)
return *itr;
64 Error(eh,
"parameter not found.");
73 static const TEveException eh(
"TEveParamList::GetBoolParameter ");
76 if ( itr->fName.CompareTo(name)==0 )
return itr->fValue;
77 Error(eh,
"parameter not found.");
86 Emit(
"ParamChanged(char*)", name);
151 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoIntUpdate()");
179 widget->
Connect(
"ValueSet(Long_t)",
"TEveParamListEditor",
this,
"DoFloatUpdate()");
196 widget->
Connect(
"Clicked()",
"TEveParamListEditor",
this,
"DoBoolUpdate()");
void DoFloatUpdate()
Slot for float parameter update.
void ParamChanged(const char *name)
Emit ParamChanged() signal.
std::vector< TGCheckButton * > fBoolParameters
R__EXTERN void * gTQSender
FloatConfigVec_t::const_iterator FloatConfigVec_ci
Bool_t GetBoolParameter(const TString &name)
Get value for bool parameter 'name'.
void SetMainColorPtr(Color_t *color)
virtual void RemoveFrame(TGFrame *f)
Remove frame from composite frame.
virtual Long_t GetIntNumber() const
Get the numeric value (integer representation).
The TNamed class is the base class for all named ROOT classes.
IntConfigVec_t::const_iterator IntConfigVec_ci
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
FloatConfig_t GetFloatParameter(const TString &name)
Get config-struct for float parameter 'name'.
void Emit(const char *signal)
Acitvate signal without args.
FloatConfigVec_t fFloatParameters
std::vector< TGNumberEntry * > fFloatParameters
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...
GUI editor for TEveParamList.
void DoBoolUpdate()
Slot for bool parameter update.
TEveParamListEditor(const TEveParamListEditor &)
std::vector< TGNumberEntry * > fIntParameters
void DoIntUpdate()
Slot for integer parameter update.
virtual void InitModel(TObject *obj)
Initialize widgets when a new object is selected.
BoolConfigVec_t fBoolParameters
IntConfigVec_t fIntParameters
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
IntConfig_t GetIntParameter(const TString &name)
Get config-struct for int parameter 'name'.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void SetModel(TObject *obj)
Set model object.
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
Collection of named parameters.
Mother of all ROOT objects.
virtual void UnmapWindow()
TGNumberEntryField * GetNumberEntry() const
TGVerticalFrame * fParamFrame
Exception class thrown by TEve classes and macros.
TEveParamList(const TEveParamList &)
BoolConfigVec_t::const_iterator BoolConfigVec_ci
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void DestroyWindow()