#include <TGeoMediumEditor.h>
Inheritance diagram for TGeoMediumEditor:
Definition at line 42 of file TGeoMediumEditor.h.
TGeoMediumEditor::TGeoMediumEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 43 of file TGeoMediumEditor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), TGFrame::ChangeOptions(), f2, fApply, fBSelMaterial, TGObject::fClient, fEditMaterial, fIsEditable, fIsModified, fLSelMaterial, fMagfldOption, fMedDeemax, fMedEpsil, fMedFieldm, fMedId, fMedium, fMedName, fMedSensitive, fMedStemax, fMedStmin, fMedTmaxfd, fSelectedMaterial, fUndo, gClient, TGClient::GetColorByName(), TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGClient::GetPicture(), kChildFrame, kDoubleBorder, kFALSE, kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kOwnBackground, kRaisedFrame, kSunkenFrame, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGTextEntry::SetDefaultSize(), TGLabel::SetTextColor(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().
TGeoMediumEditor::~TGeoMediumEditor | ( | ) | [virtual] |
Definition at line 209 of file TGeoMediumEditor.cxx.
References xmlio::Class, TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, and TGCompositeFrame::GetList().
TGeoMediumEditor::TGeoMediumEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoMediumEditor::~TGeoMediumEditor | ( | ) | [virtual] |
void TGeoMediumEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 224 of file TGeoMediumEditor.cxx.
References TQObject::Connect(), fApply, fBSelMaterial, fEditMaterial, TGedFrame::fInit, fMagfldOption, fMedDeemax, fMedEpsil, fMedId, fMedName, fMedSensitive, fMedStemax, fMedStmin, fMedTmaxfd, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.
Referenced by SetModel().
void TGeoMediumEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 245 of file TGeoMediumEditor.cxx.
References TGComboBox::AddEntry(), xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), TGedFrame::fInit, fIsModified, fLSelMaterial, fMagfldOption, fMedDeemax, fMedEpsil, fMedFieldm, fMedId, fMedium, fMedName, fMedSensitive, fMedStemax, fMedStmin, fMedTmaxfd, fSelectedMaterial, fUndo, TGeoMedium::GetId(), TGeoMedium::GetMaterial(), TNamed::GetName(), TGComboBox::GetNumberOfEntries(), TGeoMedium::GetParam(), kButtonDown, kButtonUp, kFALSE, TGComboBox::Select(), TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGCheckButton::SetState(), TGTextEntry::SetText(), TGLabel::SetText(), and sname.
void TGeoMediumEditor::DoEditMaterial | ( | ) |
Definition at line 310 of file TGeoMediumEditor.cxx.
References fMedium, TGeoGedFrame::fTabMgr, TGeoMedium::GetMaterial(), and TGeoTabManager::GetMaterialEditor().
void TGeoMediumEditor::DoSelectMaterial | ( | ) |
Definition at line 332 of file TGeoMediumEditor.cxx.
References fBSelMaterial, fLSelMaterial, fSelectedMaterial, gClient, TNamed::GetName(), TGClient::GetRoot(), TGeoTreeDialog::GetSelected(), material, and TGLabel::SetText().
void TGeoMediumEditor::DoMedName | ( | ) |
Definition at line 317 of file TGeoMediumEditor.cxx.
References fMedium, fMedName, TNamed::GetName(), TGTextEntry::GetText(), name, and TNamed::SetName().
void TGeoMediumEditor::DoMedId | ( | ) |
Definition at line 326 of file TGeoMediumEditor.cxx.
void TGeoMediumEditor::DoToggleSensitive | ( | ) |
void TGeoMediumEditor::DoMagfldSelect | ( | Int_t | ientry | ) |
void TGeoMediumEditor::DoFieldm | ( | ) |
void TGeoMediumEditor::DoTmaxfd | ( | ) |
void TGeoMediumEditor::DoStemax | ( | ) |
void TGeoMediumEditor::DoDeemax | ( | ) |
void TGeoMediumEditor::DoEpsil | ( | ) |
void TGeoMediumEditor::DoStmin | ( | ) |
void TGeoMediumEditor::DoApply | ( | ) |
Definition at line 399 of file TGeoMediumEditor.cxx.
References fIsModified, fMagfldOption, fMedDeemax, fMedEpsil, fMedFieldm, fMedId, fMedium, fMedName, fMedSensitive, fMedStemax, fMedStmin, fMedTmaxfd, TGeoMedium::GetId(), TGNumberEntry::GetIntNumber(), TNamed::GetName(), TGNumberEntry::GetNumber(), TGComboBox::GetSelected(), TGTextEntry::GetText(), TGCheckButton::IsOn(), TGeoMedium::SetId(), TNamed::SetName(), and TGeoMedium::SetParam().
void TGeoMediumEditor::DoUndo | ( | ) |
Definition at line 429 of file TGeoMediumEditor.cxx.
virtual void TGeoMediumEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
void TGeoMediumEditor::DoEditMaterial | ( | ) |
void TGeoMediumEditor::DoSelectMaterial | ( | ) |
void TGeoMediumEditor::DoMedName | ( | ) |
void TGeoMediumEditor::DoMedId | ( | ) |
void TGeoMediumEditor::DoToggleSensitive | ( | ) |
void TGeoMediumEditor::DoMagfldSelect | ( | Int_t | ientry | ) |
void TGeoMediumEditor::DoFieldm | ( | ) |
void TGeoMediumEditor::DoTmaxfd | ( | ) |
void TGeoMediumEditor::DoStemax | ( | ) |
void TGeoMediumEditor::DoDeemax | ( | ) |
void TGeoMediumEditor::DoEpsil | ( | ) |
void TGeoMediumEditor::DoStmin | ( | ) |
void TGeoMediumEditor::DoApply | ( | ) |
void TGeoMediumEditor::DoUndo | ( | ) |
TGeoMedium* TGeoMediumEditor::fMedium [protected] |
Definition at line 46 of file TGeoMediumEditor.h.
Referenced by DoApply(), DoEditMaterial(), DoMedName(), SetModel(), and TGeoMediumEditor().
Bool_t TGeoMediumEditor::fIsEditable [protected] |
Bool_t TGeoMediumEditor::fIsModified [protected] |
Definition at line 49 of file TGeoMediumEditor.h.
Referenced by DoApply(), DoDeemax(), DoEpsil(), DoFieldm(), DoMagfldSelect(), DoStemax(), DoStmin(), DoTmaxfd(), DoToggleSensitive(), SetModel(), and TGeoMediumEditor().
TGTextEntry* TGeoMediumEditor::fMedName [protected] |
Definition at line 50 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoMedName(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedId [protected] |
Definition at line 51 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGeoMaterial* TGeoMediumEditor::fSelectedMaterial [protected] |
Definition at line 53 of file TGeoMediumEditor.h.
Referenced by DoSelectMaterial(), SetModel(), and TGeoMediumEditor().
TGLabel* TGeoMediumEditor::fLSelMaterial [protected] |
Definition at line 54 of file TGeoMediumEditor.h.
Referenced by DoSelectMaterial(), SetModel(), and TGeoMediumEditor().
TGPictureButton* TGeoMediumEditor::fBSelMaterial [protected] |
Definition at line 55 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoSelectMaterial(), and TGeoMediumEditor().
TGTextButton* TGeoMediumEditor::fEditMaterial [protected] |
Definition at line 56 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), and TGeoMediumEditor().
TGCheckButton* TGeoMediumEditor::fMedSensitive [protected] |
Definition at line 57 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGComboBox* TGeoMediumEditor::fMagfldOption [protected] |
Definition at line 58 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedFieldm [protected] |
Definition at line 59 of file TGeoMediumEditor.h.
Referenced by DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedTmaxfd [protected] |
Definition at line 60 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedStemax [protected] |
Definition at line 61 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedDeemax [protected] |
Definition at line 62 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedEpsil [protected] |
Definition at line 63 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGNumberEntry* TGeoMediumEditor::fMedStmin [protected] |
Definition at line 64 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoMediumEditor().
TGTextButton* TGeoMediumEditor::fApply [protected] |
Definition at line 65 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), and TGeoMediumEditor().
TGTextButton* TGeoMediumEditor::fUndo [protected] |
Definition at line 66 of file TGeoMediumEditor.h.
Referenced by ConnectSignals2Slots(), SetModel(), and TGeoMediumEditor().
TGeoMedium* TGeoMediumEditor::fMedium [protected] |
Definition at line 46 of file TGeoMediumEditor.h.
TGTextEntry* TGeoMediumEditor::fMedName [protected] |
Definition at line 50 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedId [protected] |
Definition at line 51 of file TGeoMediumEditor.h.
TGeoMaterial* TGeoMediumEditor::fSelectedMaterial [protected] |
Definition at line 53 of file TGeoMediumEditor.h.
TGLabel* TGeoMediumEditor::fLSelMaterial [protected] |
Definition at line 54 of file TGeoMediumEditor.h.
TGPictureButton* TGeoMediumEditor::fBSelMaterial [protected] |
Definition at line 55 of file TGeoMediumEditor.h.
TGTextButton* TGeoMediumEditor::fEditMaterial [protected] |
Definition at line 56 of file TGeoMediumEditor.h.
TGCheckButton* TGeoMediumEditor::fMedSensitive [protected] |
Definition at line 57 of file TGeoMediumEditor.h.
TGComboBox* TGeoMediumEditor::fMagfldOption [protected] |
Definition at line 58 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedFieldm [protected] |
Definition at line 59 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedTmaxfd [protected] |
Definition at line 60 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedStemax [protected] |
Definition at line 61 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedDeemax [protected] |
Definition at line 62 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedEpsil [protected] |
Definition at line 63 of file TGeoMediumEditor.h.
TGNumberEntry* TGeoMediumEditor::fMedStmin [protected] |
Definition at line 64 of file TGeoMediumEditor.h.
TGTextButton* TGeoMediumEditor::fApply [protected] |
Definition at line 65 of file TGeoMediumEditor.h.
TGTextButton* TGeoMediumEditor::fUndo [protected] |
Definition at line 66 of file TGeoMediumEditor.h.