82 gClient->GetColorByName(
"#ff0000", color);
88 gClient->GetColorByName(
"#0000ff", color);
106 gClient->GetColorByName(
"#ff0000", color);
118 gClient->GetColorByName(
"#ff0000", color);
189 nef->
SetToolTipText(
"Minimum step due to continuous processes [cm]");
230 fApply->
Connect(
"Clicked()",
"TGeoMediumEditor",
this,
"DoApply()");
231 fUndo->
Connect(
"Clicked()",
"TGeoMediumEditor",
this,
"DoUndo()");
232 fMedName->
Connect(
"TextChanged(const char *)",
"TGeoMediumEditor",
this,
"DoMedName()");
347 else fSelectedMaterial = material;
424 if (ifield < 1.) ifield -= 1.;
virtual const char * GetName() const
Returns name of object.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
TGNumberEntry * fMedTmaxfd
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
TGeoMaterial * GetMaterial() const
virtual void SetName(const char *name)
Change (i.e.
void DoStmin()
Slot for min. step.
virtual void SetNumber(Double_t val)
void GetMaterialEditor(TGeoMaterial *material)
Get editor for a material.
TGNumberEntry * fMedStmin
TGNumberEntry * fMedDeemax
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hirarchically all daughters of a composite frame.
void DoDeemax()
Slot for the maximum allowed dedx.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual Long_t GetIntNumber() const
void DoEditMaterial()
Edit selected material.
virtual void SetText(TGString *newText)
Set new text in label.
void SetParam(Int_t i, Double_t val)
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
TGCompositeFrame(const TGCompositeFrame &)
virtual TList * GetList() const
virtual void SetDefaultSize(UInt_t w, UInt_t h)
Set the default / minimal size of the widget.
TGNumberEntry * fMedStemax
TGNumberEntry * fMedFieldm
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...
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
TGPictureButton * fBSelMaterial
TGCheckButton * fMedSensitive
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
void DoToggleSensitive()
Slot for sensitivity.
TGTextButton * fEditMaterial
static TObject * GetSelected()
static; return selected object
void DoUndo()
Slot for undoing last operation.
TGeoMaterial * fSelectedMaterial
TGComboBox * fMagfldOption
void DoEpsil()
Slot for tracking precision.
const char * GetText() const
virtual UInt_t GetDefaultHeight() const
void DoMedId()
Slot for medium id.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual ~TGeoMediumEditor()
Destructor.
virtual void AddEntry(TGString *s, Int_t id)
virtual Double_t GetNumber() const
const TGPicture * GetPicture(const char *name)
Get picture from the picture pool.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
TGNumberEntry * fMedEpsil
void DoTmaxfd()
Slot for tmaxfd.
void DoApply()
Slot for applying modifications.
virtual Int_t GetNumberOfEntries() const
Mother of all ROOT objects.
void DoSelectMaterial()
Select the material component.
virtual Int_t GetSelected() const
TGNumberEntryField * GetNumberEntry() const
double f2(const double *x)
void DoMagfldSelect(Int_t ientry)
Slot for mag. field.
void DoFieldm()
Slot for max field.
virtual void SetModel(TObject *obj)
Connect to the selected object.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line...
void DoMedName()
Slot for medium name.
Double_t GetParam(Int_t i) const
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
TGeoMediumEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for medium editor.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void ChangeOptions(UInt_t options)
Change frame options. Options is an OR of the EFrameTypes.
void DoStemax()
Slot for the max allowed step.
UInt_t GetDefaultHeight() const