TGeoEltuEditor Class Reference

#include <TGeoEltuEditor.h>

Inheritance diagram for TGeoEltuEditor:

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

Public Member Functions

 TGeoEltuEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoEltuEditor ()
virtual void SetModel (TObject *obj)
void DoA ()
void DoB ()
void DoDz ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoEltuEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoEltuEditor ()
virtual void SetModel (TObject *obj)
void DoA ()
void DoB ()
void DoDz ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const
virtual void ConnectSignals2Slots ()
Bool_t IsDelayed () const

Protected Attributes

Double_t fAi
Double_t fBi
Double_t fDzi
TString fNamei
TGeoEltufShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfEA
TGNumberEntryfEB
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoEltufShape
TGTextEntryfShapeName
TGNumberEntryfEA
TGNumberEntryfEB
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoEltuEditor.h.


Constructor & Destructor Documentation

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

Definition at line 50 of file TGeoEltuEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fAi, fApply, fBi, fDelayed, fDzi, fEA, fEB, fEDz, fIsModified, fIsShapeEditable, fNamei, fShape, fShapeName, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEAPositive, kSunkenFrame, kTRUE, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoEltuEditor::~TGeoEltuEditor (  )  [virtual]

Definition at line 126 of file TGeoEltuEditor.cxx.

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

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

virtual TGeoEltuEditor::~TGeoEltuEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 139 of file TGeoEltuEditor.cxx.

References TQObject::Connect(), fApply, fEA, fEB, fEDz, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

Bool_t TGeoEltuEditor::IsDelayed (  )  const [protected]

Definition at line 190 of file TGeoEltuEditor.cxx.

References fDelayed, TGButton::GetState(), and kButtonDown.

Referenced by DoA(), DoB(), and DoDz().

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

Implements TGedFrame.

Definition at line 155 of file TGeoEltuEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fAi, fApply, fBi, fDzi, fEA, fEB, fEDz, TGedFrame::fInit, fNamei, fShape, fShapeName, fUndo, TGeoEltu::GetA(), TGeoEltu::GetB(), TGeoTube::GetDz(), TGeoShape::GetName(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoEltuEditor::DoA (  ) 

Definition at line 248 of file TGeoEltuEditor.cxx.

References a, DoApply(), DoModified(), fEA, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoEltuEditor::DoB (  ) 

Definition at line 261 of file TGeoEltuEditor.cxx.

References b, DoApply(), DoModified(), fEB, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoEltuEditor::DoDz (  ) 

Definition at line 274 of file TGeoEltuEditor.cxx.

References DoApply(), DoModified(), fEDz, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().

void TGeoEltuEditor::DoModified (  ) 

Definition at line 229 of file TGeoEltuEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoA(), DoB(), DoDz(), and DoName().

void TGeoEltuEditor::DoName (  ) 

Definition at line 183 of file TGeoEltuEditor.cxx.

References DoModified().

void TGeoEltuEditor::DoApply (  ) 

Definition at line 197 of file TGeoEltuEditor.cxx.

References a, b, TGeoEltu::ComputeBBox(), TGeoShape::Draw(), fApply, fEA, fEB, fEDz, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoEltu::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoA(), DoB(), DoDz(), and DoUndo().

void TGeoEltuEditor::DoUndo (  ) 

Definition at line 236 of file TGeoEltuEditor.cxx.

References DoApply(), fAi, fApply, fBi, fDzi, fEA, fEB, fEDz, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoEltuEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoEltuEditor::DoA (  ) 

void TGeoEltuEditor::DoB (  ) 

void TGeoEltuEditor::DoDz (  ) 

void TGeoEltuEditor::DoModified (  ) 

void TGeoEltuEditor::DoName (  ) 

void TGeoEltuEditor::DoApply (  ) 

void TGeoEltuEditor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoEltuEditor::fAi [protected]

Definition at line 43 of file TGeoEltuEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoEltuEditor().

Double_t TGeoEltuEditor::fBi [protected]

Definition at line 44 of file TGeoEltuEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoEltuEditor().

Double_t TGeoEltuEditor::fDzi [protected]

Definition at line 45 of file TGeoEltuEditor.h.

Referenced by DoUndo(), SetModel(), and TGeoEltuEditor().

TString TGeoEltuEditor::fNamei [protected]

Definition at line 46 of file TGeoEltuEditor.h.

Referenced by SetModel(), and TGeoEltuEditor().

TGeoEltu* TGeoEltuEditor::fShape [protected]

Definition at line 47 of file TGeoEltuEditor.h.

Referenced by DoApply(), SetModel(), and TGeoEltuEditor().

Bool_t TGeoEltuEditor::fIsModified [protected]

Definition at line 48 of file TGeoEltuEditor.h.

Referenced by TGeoEltuEditor().

Bool_t TGeoEltuEditor::fIsShapeEditable [protected]

Definition at line 49 of file TGeoEltuEditor.h.

Referenced by TGeoEltuEditor().

TGTextEntry* TGeoEltuEditor::fShapeName [protected]

Definition at line 51 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoEltuEditor().

TGNumberEntry* TGeoEltuEditor::fEA [protected]

Definition at line 52 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoA(), DoApply(), DoUndo(), SetModel(), and TGeoEltuEditor().

TGNumberEntry* TGeoEltuEditor::fEB [protected]

Definition at line 53 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoB(), DoUndo(), SetModel(), and TGeoEltuEditor().

TGNumberEntry* TGeoEltuEditor::fEDz [protected]

Definition at line 54 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoUndo(), SetModel(), and TGeoEltuEditor().

TGTextButton* TGeoEltuEditor::fApply [protected]

Definition at line 55 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoModified(), DoUndo(), SetModel(), and TGeoEltuEditor().

TGTextButton* TGeoEltuEditor::fUndo [protected]

Definition at line 56 of file TGeoEltuEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), SetModel(), and TGeoEltuEditor().

TGCheckButton* TGeoEltuEditor::fDelayed [protected]

Definition at line 57 of file TGeoEltuEditor.h.

Referenced by IsDelayed(), and TGeoEltuEditor().

TGeoEltu* TGeoEltuEditor::fShape [protected]

Definition at line 47 of file TGeoEltuEditor.h.

TGTextEntry* TGeoEltuEditor::fShapeName [protected]

Definition at line 51 of file TGeoEltuEditor.h.

TGNumberEntry* TGeoEltuEditor::fEA [protected]

Definition at line 52 of file TGeoEltuEditor.h.

TGNumberEntry* TGeoEltuEditor::fEB [protected]

Definition at line 53 of file TGeoEltuEditor.h.

TGNumberEntry* TGeoEltuEditor::fEDz [protected]

Definition at line 54 of file TGeoEltuEditor.h.

TGTextButton* TGeoEltuEditor::fApply [protected]

Definition at line 55 of file TGeoEltuEditor.h.

TGTextButton* TGeoEltuEditor::fUndo [protected]

Definition at line 56 of file TGeoEltuEditor.h.

TGCheckButton* TGeoEltuEditor::fDelayed [protected]

Definition at line 57 of file TGeoEltuEditor.h.


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