TGeoTrd1Editor Class Reference

#include <TGeoTrd1Editor.h>

Inheritance diagram for TGeoTrd1Editor:

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

Public Member Functions

 TGeoTrd1Editor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTrd1Editor ()
virtual void SetModel (TObject *obj)
void DoDx1 ()
void DoDx2 ()
void DoDy ()
void DoDz ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoTrd1Editor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTrd1Editor ()
virtual void SetModel (TObject *obj)
void DoDx1 ()
void DoDx2 ()
void DoDy ()
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 fDxi1
Double_t fDxi2
Double_t fDyi
Double_t fDzi
TString fNamei
TGeoTrd1fShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfEDx1
TGNumberEntryfEDx2
TGNumberEntryfEDy
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoTrd1fShape
TGTextEntryfShapeName
TGNumberEntryfEDx1
TGNumberEntryfEDx2
TGNumberEntryfEDy
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoTrd1Editor.h.


Constructor & Destructor Documentation

TGeoTrd1Editor::TGeoTrd1Editor ( 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 TGeoTrd1Editor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), f2, fApply, fDelayed, fDxi1, fDxi2, fDyi, fDzi, fEDx1, fEDx2, fEDy, fEDz, fIsModified, fIsShapeEditable, fNamei, fShape, fShapeName, fUndo, TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kDoubleBorder, kFALSE, kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEAPositive, kOwnBackground, kRaisedFrame, kSunkenFrame, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoTrd1Editor::~TGeoTrd1Editor (  )  [virtual]

Definition at line 143 of file TGeoTrd1Editor.cxx.

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

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

virtual TGeoTrd1Editor::~TGeoTrd1Editor (  )  [virtual]


Member Function Documentation

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

Definition at line 156 of file TGeoTrd1Editor.cxx.

References TQObject::Connect(), fApply, fEDx1, fEDx2, fEDy, fEDz, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

Bool_t TGeoTrd1Editor::IsDelayed (  )  const [protected]

Definition at line 206 of file TGeoTrd1Editor.cxx.

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

Referenced by DoDx1(), DoDx2(), DoDy(), and DoDz().

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

Implements TGedFrame.

Definition at line 175 of file TGeoTrd1Editor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fDxi1, fDxi2, fDyi, fDzi, fEDx1, fEDx2, fEDy, fEDz, TGedFrame::fInit, fNamei, fShape, fShapeName, fUndo, TGeoTrd1::GetDx1(), TGeoTrd1::GetDx2(), TGeoTrd1::GetDy(), TGeoTrd1::GetDz(), TGeoShape::GetName(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoTrd1Editor::DoDx1 (  ) 

Definition at line 267 of file TGeoTrd1Editor.cxx.

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

void TGeoTrd1Editor::DoDx2 (  ) 

Definition at line 285 of file TGeoTrd1Editor.cxx.

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

void TGeoTrd1Editor::DoDy (  ) 

Definition at line 303 of file TGeoTrd1Editor.cxx.

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

void TGeoTrd1Editor::DoDz (  ) 

Definition at line 316 of file TGeoTrd1Editor.cxx.

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

void TGeoTrd1Editor::DoModified (  ) 

Definition at line 247 of file TGeoTrd1Editor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDx1(), DoDx2(), DoDy(), DoDz(), and DoName().

void TGeoTrd1Editor::DoName (  ) 

Definition at line 213 of file TGeoTrd1Editor.cxx.

References DoModified().

void TGeoTrd1Editor::DoApply (  ) 

Definition at line 220 of file TGeoTrd1Editor.cxx.

References TGeoTrd1::ComputeBBox(), TGeoShape::Draw(), fApply, fEDx1, fEDx2, fEDy, fEDz, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoTrd1::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoDx1(), DoDx2(), DoDy(), DoDz(), and DoUndo().

void TGeoTrd1Editor::DoUndo (  ) 

Definition at line 254 of file TGeoTrd1Editor.cxx.

References DoApply(), fApply, fDxi1, fDxi2, fDyi, fDzi, fEDx1, fEDx2, fEDy, fEDz, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoTrd1Editor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoTrd1Editor::DoDx1 (  ) 

void TGeoTrd1Editor::DoDx2 (  ) 

void TGeoTrd1Editor::DoDy (  ) 

void TGeoTrd1Editor::DoDz (  ) 

void TGeoTrd1Editor::DoModified (  ) 

void TGeoTrd1Editor::DoName (  ) 

void TGeoTrd1Editor::DoApply (  ) 

void TGeoTrd1Editor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoTrd1Editor::fDxi1 [protected]

Definition at line 43 of file TGeoTrd1Editor.h.

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

Double_t TGeoTrd1Editor::fDxi2 [protected]

Definition at line 44 of file TGeoTrd1Editor.h.

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

Double_t TGeoTrd1Editor::fDyi [protected]

Definition at line 45 of file TGeoTrd1Editor.h.

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

Double_t TGeoTrd1Editor::fDzi [protected]

Definition at line 46 of file TGeoTrd1Editor.h.

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

TString TGeoTrd1Editor::fNamei [protected]

Definition at line 47 of file TGeoTrd1Editor.h.

Referenced by SetModel(), and TGeoTrd1Editor().

TGeoTrd1* TGeoTrd1Editor::fShape [protected]

Definition at line 48 of file TGeoTrd1Editor.h.

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

Bool_t TGeoTrd1Editor::fIsModified [protected]

Definition at line 49 of file TGeoTrd1Editor.h.

Referenced by TGeoTrd1Editor().

Bool_t TGeoTrd1Editor::fIsShapeEditable [protected]

Definition at line 50 of file TGeoTrd1Editor.h.

Referenced by TGeoTrd1Editor().

TGTextEntry* TGeoTrd1Editor::fShapeName [protected]

Definition at line 52 of file TGeoTrd1Editor.h.

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

TGNumberEntry* TGeoTrd1Editor::fEDx1 [protected]

Definition at line 53 of file TGeoTrd1Editor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd1Editor().

TGNumberEntry* TGeoTrd1Editor::fEDx2 [protected]

Definition at line 54 of file TGeoTrd1Editor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd1Editor().

TGNumberEntry* TGeoTrd1Editor::fEDy [protected]

Definition at line 55 of file TGeoTrd1Editor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDy(), DoUndo(), SetModel(), and TGeoTrd1Editor().

TGNumberEntry* TGeoTrd1Editor::fEDz [protected]

Definition at line 56 of file TGeoTrd1Editor.h.

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

TGTextButton* TGeoTrd1Editor::fApply [protected]

Definition at line 57 of file TGeoTrd1Editor.h.

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

TGTextButton* TGeoTrd1Editor::fUndo [protected]

Definition at line 58 of file TGeoTrd1Editor.h.

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

TGCheckButton* TGeoTrd1Editor::fDelayed [protected]

Definition at line 59 of file TGeoTrd1Editor.h.

Referenced by IsDelayed(), and TGeoTrd1Editor().

TGeoTrd1* TGeoTrd1Editor::fShape [protected]

Definition at line 48 of file TGeoTrd1Editor.h.

TGTextEntry* TGeoTrd1Editor::fShapeName [protected]

Definition at line 52 of file TGeoTrd1Editor.h.

TGNumberEntry* TGeoTrd1Editor::fEDx1 [protected]

Definition at line 53 of file TGeoTrd1Editor.h.

TGNumberEntry* TGeoTrd1Editor::fEDx2 [protected]

Definition at line 54 of file TGeoTrd1Editor.h.

TGNumberEntry* TGeoTrd1Editor::fEDy [protected]

Definition at line 55 of file TGeoTrd1Editor.h.

TGNumberEntry* TGeoTrd1Editor::fEDz [protected]

Definition at line 56 of file TGeoTrd1Editor.h.

TGTextButton* TGeoTrd1Editor::fApply [protected]

Definition at line 57 of file TGeoTrd1Editor.h.

TGTextButton* TGeoTrd1Editor::fUndo [protected]

Definition at line 58 of file TGeoTrd1Editor.h.

TGCheckButton* TGeoTrd1Editor::fDelayed [protected]

Definition at line 59 of file TGeoTrd1Editor.h.


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