TGeoNodeEditor Class Reference

#include <TGeoNodeEditor.h>

Inheritance diagram for TGeoNodeEditor:

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

Public Member Functions

 TGeoNodeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoNodeEditor ()
virtual void SetModel (TObject *obj)
void DoEditMother ()
void DoEditVolume ()
void DoEditMatrix ()
void DoSelectMother ()
void DoSelectVolume ()
void DoSelectMatrix ()
void DoNodeName ()
void DoNodeNumber ()
void DoApply ()
void DoUndo ()
 TGeoNodeEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoNodeEditor ()
virtual void SetModel (TObject *obj)
void DoEditMother ()
void DoEditVolume ()
void DoEditMatrix ()
void DoSelectMother ()
void DoSelectVolume ()
void DoSelectMatrix ()
void DoNodeName ()
void DoNodeNumber ()
void DoApply ()
void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

TGeoNodefNode
Bool_t fIsEditable
TGTextEntryfNodeName
TGNumberEntryfNodeNumber
TGeoVolumefSelectedVolume
TGLabelfLSelVolume
TGPictureButtonfBSelVolume
TGeoVolumefSelectedMother
TGLabelfLSelMother
TGPictureButtonfBSelMother
TGeoMatrixfSelectedMatrix
TGLabelfLSelMatrix
TGPictureButtonfBSelMatrix
TGTextButtonfEditMother
TGTextButtonfEditVolume
TGTextButtonfEditMatrix
TGTextButtonfApply
TGTextButtonfCancel
TGTextButtonfUndo
TGeoNodefNode
TGTextEntryfNodeName
TGNumberEntryfNodeNumber
TGeoVolumefSelectedVolume
TGLabelfLSelVolume
TGPictureButtonfBSelVolume
TGeoVolumefSelectedMother
TGLabelfLSelMother
TGPictureButtonfBSelMother
TGeoMatrixfSelectedMatrix
TGLabelfLSelMatrix
TGPictureButtonfBSelMatrix
TGTextButtonfEditMother
TGTextButtonfEditVolume
TGTextButtonfEditMatrix
TGTextButtonfApply
TGTextButtonfCancel
TGTextButtonfUndo

Detailed Description

Definition at line 42 of file TGeoNodeEditor.h.


Constructor & Destructor Documentation

TGeoNodeEditor::TGeoNodeEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 40 of file TGeoNodeEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), TGFrame::ChangeOptions(), fApply, fBSelMatrix, fBSelMother, fBSelVolume, TGObject::fClient, fEditMatrix, fEditMother, fEditVolume, fIsEditable, fLSelMatrix, fLSelMother, fLSelVolume, fNode, fNodeName, fNodeNumber, fSelectedMatrix, fSelectedMother, fSelectedVolume, fUndo, gClient, TGClient::GetColorByName(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGClient::GetPicture(), TGFrame::GetSize(), kDoubleBorder, kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kRaisedFrame, kSunkenFrame, kTRUE, TGedFrame::MakeTitle(), TGFrame::Resize(), TGFrame::SetSize(), TGLabel::SetTextColor(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoNodeEditor::~TGeoNodeEditor (  )  [virtual]

Definition at line 135 of file TGeoNodeEditor.cxx.

References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().

TGeoNodeEditor::TGeoNodeEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGeoNodeEditor::~TGeoNodeEditor (  )  [virtual]


Member Function Documentation

void TGeoNodeEditor::ConnectSignals2Slots (  )  [protected, virtual]

Definition at line 148 of file TGeoNodeEditor.cxx.

References TQObject::Connect(), fApply, fBSelMatrix, fBSelMother, fBSelVolume, fEditMatrix, fEditMother, fEditVolume, TGedFrame::fInit, fNodeName, fUndo, and kFALSE.

Referenced by SetModel().

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

Implements TGedFrame.

Definition at line 165 of file TGeoNodeEditor.cxx.

References xmlio::Class, ConnectSignals2Slots(), fApply, TGedFrame::fInit, fLSelMatrix, fLSelMother, fLSelVolume, fNode, fNodeName, fNodeNumber, fSelectedMatrix, fSelectedMother, fSelectedVolume, fUndo, TGeoNode::GetMatrix(), TGeoNode::GetMotherVolume(), TNamed::GetName(), TGeoNode::GetNumber(), TGeoNode::GetVolume(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), TGLabel::SetText(), and sname.

void TGeoNodeEditor::DoEditMother (  ) 

Definition at line 226 of file TGeoNodeEditor.cxx.

References TGeoVolume::Draw(), fSelectedMother, TGeoGedFrame::fTabMgr, TGeoTabManager::GetVolumeEditor(), kFALSE, TGeoTabManager::SetTab(), and TGeoTabManager::SetVolTabEnabled().

void TGeoNodeEditor::DoEditVolume (  ) 

Definition at line 240 of file TGeoNodeEditor.cxx.

References TGeoVolume::Draw(), fSelectedVolume, TGeoGedFrame::fTabMgr, TGeoTabManager::GetVolumeEditor(), kFALSE, TGeoTabManager::SetTab(), and TGeoTabManager::SetVolTabEnabled().

void TGeoNodeEditor::DoEditMatrix (  ) 

Definition at line 254 of file TGeoNodeEditor.cxx.

References fSelectedMatrix, TGeoGedFrame::fTabMgr, and TGeoTabManager::GetMatrixEditor().

void TGeoNodeEditor::DoSelectMother (  ) 

Definition at line 193 of file TGeoNodeEditor.cxx.

References fBSelMother, fLSelMother, fSelectedMother, gClient, TNamed::GetName(), TGClient::GetRoot(), TGeoTreeDialog::GetSelected(), and TGLabel::SetText().

void TGeoNodeEditor::DoSelectVolume (  ) 

Definition at line 204 of file TGeoNodeEditor.cxx.

References fBSelVolume, fLSelVolume, fSelectedVolume, gClient, TNamed::GetName(), TGClient::GetRoot(), TGeoTreeDialog::GetSelected(), and TGLabel::SetText().

void TGeoNodeEditor::DoSelectMatrix (  ) 

Definition at line 215 of file TGeoNodeEditor.cxx.

References fBSelMatrix, fLSelMatrix, fSelectedMatrix, gClient, TNamed::GetName(), TGClient::GetRoot(), TGeoTreeDialog::GetSelected(), and TGLabel::SetText().

void TGeoNodeEditor::DoNodeName (  ) 

Definition at line 262 of file TGeoNodeEditor.cxx.

References fNode, fNodeName, TNamed::GetName(), TGTextEntry::GetText(), name, and TNamed::SetName().

void TGeoNodeEditor::DoNodeNumber (  ) 

Definition at line 271 of file TGeoNodeEditor.cxx.

void TGeoNodeEditor::DoApply (  ) 

Definition at line 278 of file TGeoNodeEditor.cxx.

void TGeoNodeEditor::DoUndo (  ) 

Definition at line 284 of file TGeoNodeEditor.cxx.

virtual void TGeoNodeEditor::ConnectSignals2Slots (  )  [protected, virtual]

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

Implements TGedFrame.

void TGeoNodeEditor::DoEditMother (  ) 

void TGeoNodeEditor::DoEditVolume (  ) 

void TGeoNodeEditor::DoEditMatrix (  ) 

void TGeoNodeEditor::DoSelectMother (  ) 

void TGeoNodeEditor::DoSelectVolume (  ) 

void TGeoNodeEditor::DoSelectMatrix (  ) 

void TGeoNodeEditor::DoNodeName (  ) 

void TGeoNodeEditor::DoNodeNumber (  ) 

void TGeoNodeEditor::DoApply (  ) 

void TGeoNodeEditor::DoUndo (  ) 


Member Data Documentation

TGeoNode* TGeoNodeEditor::fNode [protected]

Definition at line 46 of file TGeoNodeEditor.h.

Referenced by DoNodeName(), SetModel(), and TGeoNodeEditor().

Bool_t TGeoNodeEditor::fIsEditable [protected]

Definition at line 48 of file TGeoNodeEditor.h.

Referenced by TGeoNodeEditor().

TGTextEntry* TGeoNodeEditor::fNodeName [protected]

Definition at line 49 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), DoNodeName(), SetModel(), and TGeoNodeEditor().

TGNumberEntry* TGeoNodeEditor::fNodeNumber [protected]

Definition at line 50 of file TGeoNodeEditor.h.

Referenced by SetModel(), and TGeoNodeEditor().

TGeoVolume* TGeoNodeEditor::fSelectedVolume [protected]

Definition at line 51 of file TGeoNodeEditor.h.

Referenced by DoEditVolume(), DoSelectVolume(), SetModel(), and TGeoNodeEditor().

TGLabel* TGeoNodeEditor::fLSelVolume [protected]

Definition at line 52 of file TGeoNodeEditor.h.

Referenced by DoSelectVolume(), SetModel(), and TGeoNodeEditor().

TGPictureButton* TGeoNodeEditor::fBSelVolume [protected]

Definition at line 53 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), DoSelectVolume(), and TGeoNodeEditor().

TGeoVolume* TGeoNodeEditor::fSelectedMother [protected]

Definition at line 54 of file TGeoNodeEditor.h.

Referenced by DoEditMother(), DoSelectMother(), SetModel(), and TGeoNodeEditor().

TGLabel* TGeoNodeEditor::fLSelMother [protected]

Definition at line 55 of file TGeoNodeEditor.h.

Referenced by DoSelectMother(), SetModel(), and TGeoNodeEditor().

TGPictureButton* TGeoNodeEditor::fBSelMother [protected]

Definition at line 56 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), DoSelectMother(), and TGeoNodeEditor().

TGeoMatrix* TGeoNodeEditor::fSelectedMatrix [protected]

Definition at line 57 of file TGeoNodeEditor.h.

Referenced by DoEditMatrix(), DoSelectMatrix(), SetModel(), and TGeoNodeEditor().

TGLabel* TGeoNodeEditor::fLSelMatrix [protected]

Definition at line 58 of file TGeoNodeEditor.h.

Referenced by DoSelectMatrix(), SetModel(), and TGeoNodeEditor().

TGPictureButton* TGeoNodeEditor::fBSelMatrix [protected]

Definition at line 59 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), DoSelectMatrix(), and TGeoNodeEditor().

TGTextButton* TGeoNodeEditor::fEditMother [protected]

Definition at line 60 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), and TGeoNodeEditor().

TGTextButton* TGeoNodeEditor::fEditVolume [protected]

Definition at line 61 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), and TGeoNodeEditor().

TGTextButton* TGeoNodeEditor::fEditMatrix [protected]

Definition at line 62 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), and TGeoNodeEditor().

TGTextButton* TGeoNodeEditor::fApply [protected]

Definition at line 63 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), SetModel(), and TGeoNodeEditor().

TGTextButton* TGeoNodeEditor::fCancel [protected]

Definition at line 64 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fUndo [protected]

Definition at line 65 of file TGeoNodeEditor.h.

Referenced by ConnectSignals2Slots(), SetModel(), and TGeoNodeEditor().

TGeoNode* TGeoNodeEditor::fNode [protected]

Definition at line 46 of file TGeoNodeEditor.h.

TGTextEntry* TGeoNodeEditor::fNodeName [protected]

Definition at line 49 of file TGeoNodeEditor.h.

TGNumberEntry* TGeoNodeEditor::fNodeNumber [protected]

Definition at line 50 of file TGeoNodeEditor.h.

TGeoVolume* TGeoNodeEditor::fSelectedVolume [protected]

Definition at line 51 of file TGeoNodeEditor.h.

TGLabel* TGeoNodeEditor::fLSelVolume [protected]

Definition at line 52 of file TGeoNodeEditor.h.

TGPictureButton* TGeoNodeEditor::fBSelVolume [protected]

Definition at line 53 of file TGeoNodeEditor.h.

TGeoVolume* TGeoNodeEditor::fSelectedMother [protected]

Definition at line 54 of file TGeoNodeEditor.h.

TGLabel* TGeoNodeEditor::fLSelMother [protected]

Definition at line 55 of file TGeoNodeEditor.h.

TGPictureButton* TGeoNodeEditor::fBSelMother [protected]

Definition at line 56 of file TGeoNodeEditor.h.

TGeoMatrix* TGeoNodeEditor::fSelectedMatrix [protected]

Definition at line 57 of file TGeoNodeEditor.h.

TGLabel* TGeoNodeEditor::fLSelMatrix [protected]

Definition at line 58 of file TGeoNodeEditor.h.

TGPictureButton* TGeoNodeEditor::fBSelMatrix [protected]

Definition at line 59 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fEditMother [protected]

Definition at line 60 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fEditVolume [protected]

Definition at line 61 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fEditMatrix [protected]

Definition at line 62 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fApply [protected]

Definition at line 63 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fCancel [protected]

Definition at line 64 of file TGeoNodeEditor.h.

TGTextButton* TGeoNodeEditor::fUndo [protected]

Definition at line 65 of file TGeoNodeEditor.h.


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