TGeoMediumEditor Class Reference

#include <TGeoMediumEditor.h>

Inheritance diagram for TGeoMediumEditor:

TGeoGedFrame TGeoGedFrame TGedFrame TGedFrame TGedFrame TGedFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TGeoMediumEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoMediumEditor ()
virtual void SetModel (TObject *obj)
void DoEditMaterial ()
void DoSelectMaterial ()
void DoMedName ()
void DoMedId ()
void DoToggleSensitive ()
void DoMagfldSelect (Int_t ientry)
void DoFieldm ()
void DoTmaxfd ()
void DoStemax ()
void DoDeemax ()
void DoEpsil ()
void DoStmin ()
void DoApply ()
void DoUndo ()
 TGeoMediumEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoMediumEditor ()
virtual void SetModel (TObject *obj)
void DoEditMaterial ()
void DoSelectMaterial ()
void DoMedName ()
void DoMedId ()
void DoToggleSensitive ()
void DoMagfldSelect (Int_t ientry)
void DoFieldm ()
void DoTmaxfd ()
void DoStemax ()
void DoDeemax ()
void DoEpsil ()
void DoStmin ()
void DoApply ()
void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

TGeoMediumfMedium
Bool_t fIsEditable
Bool_t fIsModified
TGTextEntryfMedName
TGNumberEntryfMedId
TGeoMaterialfSelectedMaterial
TGLabelfLSelMaterial
TGPictureButtonfBSelMaterial
TGTextButtonfEditMaterial
TGCheckButtonfMedSensitive
TGComboBoxfMagfldOption
TGNumberEntryfMedFieldm
TGNumberEntryfMedTmaxfd
TGNumberEntryfMedStemax
TGNumberEntryfMedDeemax
TGNumberEntryfMedEpsil
TGNumberEntryfMedStmin
TGTextButtonfApply
TGTextButtonfUndo
TGeoMediumfMedium
TGTextEntryfMedName
TGNumberEntryfMedId
TGeoMaterialfSelectedMaterial
TGLabelfLSelMaterial
TGPictureButtonfBSelMaterial
TGTextButtonfEditMaterial
TGCheckButtonfMedSensitive
TGComboBoxfMagfldOption
TGNumberEntryfMedFieldm
TGNumberEntryfMedTmaxfd
TGNumberEntryfMedStemax
TGNumberEntryfMedDeemax
TGNumberEntryfMedEpsil
TGNumberEntryfMedStmin
TGTextButtonfApply
TGTextButtonfUndo

Detailed Description

Definition at line 42 of file TGeoMediumEditor.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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 (  ) 

Definition at line 343 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoMagfldSelect ( Int_t  ientry  ) 

Definition at line 350 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoFieldm (  ) 

Definition at line 357 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoTmaxfd (  ) 

Definition at line 364 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoStemax (  ) 

Definition at line 371 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoDeemax (  ) 

Definition at line 378 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoEpsil (  ) 

Definition at line 385 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

void TGeoMediumEditor::DoStmin (  ) 

Definition at line 392 of file TGeoMediumEditor.cxx.

References fIsModified, and kTRUE.

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]

virtual void TGeoMediumEditor::SetModel ( TObject obj  )  [virtual]

Implements TGedFrame.

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 (  ) 


Member Data Documentation

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]

Definition at line 48 of file TGeoMediumEditor.h.

Referenced by TGeoMediumEditor().

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.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1