TGeoTubeEditor Class Reference

#include <TGeoTubeEditor.h>

Inheritance diagram for TGeoTubeEditor:

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

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

Double_t fRmini
Double_t fRmaxi
Double_t fDzi
TString fNamei
TGeoTubefShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame
TGeoTubefShape
TGTextEntryfShapeName
TGNumberEntryfERmin
TGNumberEntryfERmax
TGNumberEntryfEDz
TGTextButtonfApply
TGTextButtonfUndo
TGCompositeFramefBFrame
TGCheckButtonfDelayed
TGCompositeFramefDFrame

Detailed Description

Definition at line 39 of file TGeoTubeEditor.h.


Constructor & Destructor Documentation

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

Definition at line 52 of file TGeoTubeEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), fApply, fBFrame, fDelayed, fDFrame, fDzi, fEDz, fERmax, fERmin, fIsModified, fIsShapeEditable, fNamei, fRmaxi, fRmini, fShape, fShapeName, fUndo, TGNumberEntry::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsLeft, kLHintsRight, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNEAPositive, kRaisedFrame, kSunkenFrame, kTRUE, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGNumberEntry::SetNumAttr(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoTubeEditor::~TGeoTubeEditor (  )  [virtual]

Definition at line 132 of file TGeoTubeEditor.cxx.

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

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

virtual TGeoTubeEditor::~TGeoTubeEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 145 of file TGeoTubeEditor.cxx.

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

Referenced by TGeoTubeSegEditor::ConnectSignals2Slots(), and SetModel().

Bool_t TGeoTubeEditor::IsDelayed (  )  const [protected]

Definition at line 186 of file TGeoTubeEditor.cxx.

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

Referenced by DoDz(), TGeoCtubEditor::DoPhhi(), TGeoTubeSegEditor::DoPhi(), TGeoTubeSegEditor::DoPhi1(), TGeoTubeSegEditor::DoPhi2(), TGeoCtubEditor::DoPhlo(), DoRmax(), DoRmin(), TGeoCtubEditor::DoThhi(), and TGeoCtubEditor::DoThlo().

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

Implements TGedFrame.

Definition at line 162 of file TGeoTubeEditor.cxx.

References xmlio::Class, ConnectSignals2Slots(), fApply, fDzi, fEDz, fERmax, fERmin, TGedFrame::fInit, fNamei, fRmaxi, fRmini, fShape, fShapeName, fUndo, TGeoTube::GetDz(), TGeoShape::GetName(), TGeoTube::GetRmax(), TGeoTube::GetRmin(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGTextEntry::SetText().

void TGeoTubeEditor::DoRmin (  ) 

Definition at line 240 of file TGeoTubeEditor.cxx.

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

void TGeoTubeEditor::DoRmax (  ) 

Definition at line 254 of file TGeoTubeEditor.cxx.

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

void TGeoTubeEditor::DoDz (  ) 

Definition at line 272 of file TGeoTubeEditor.cxx.

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

void TGeoTubeEditor::DoModified (  ) 

Definition at line 221 of file TGeoTubeEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDz(), DoName(), TGeoCtubEditor::DoPhhi(), TGeoTubeSegEditor::DoPhi(), TGeoTubeSegEditor::DoPhi1(), TGeoTubeSegEditor::DoPhi2(), TGeoCtubEditor::DoPhlo(), DoRmax(), DoRmin(), TGeoCtubEditor::DoThhi(), and TGeoCtubEditor::DoThlo().

void TGeoTubeEditor::DoName (  ) 

Definition at line 193 of file TGeoTubeEditor.cxx.

References DoModified().

void TGeoTubeEditor::DoApply (  )  [virtual]

Definition at line 200 of file TGeoTubeEditor.cxx.

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

Referenced by DoDz(), DoRmax(), DoRmin(), and DoUndo().

void TGeoTubeEditor::DoUndo (  )  [virtual]

Definition at line 228 of file TGeoTubeEditor.cxx.

References DoApply(), fApply, fDzi, fEDz, fERmax, fERmin, fRmaxi, fRmini, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoTubeEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoTubeEditor::DoRmin (  ) 

void TGeoTubeEditor::DoRmax (  ) 

void TGeoTubeEditor::DoDz (  ) 

void TGeoTubeEditor::DoModified (  ) 

void TGeoTubeEditor::DoName (  ) 

virtual void TGeoTubeEditor::DoApply (  )  [virtual]

virtual void TGeoTubeEditor::DoUndo (  )  [virtual]


Member Data Documentation

Double_t TGeoTubeEditor::fRmini [protected]

Definition at line 43 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

Double_t TGeoTubeEditor::fRmaxi [protected]

Definition at line 44 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

Double_t TGeoTubeEditor::fDzi [protected]

Definition at line 45 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TString TGeoTubeEditor::fNamei [protected]

Definition at line 46 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGeoTube* TGeoTubeEditor::fShape [protected]

Definition at line 47 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

Bool_t TGeoTubeEditor::fIsModified [protected]

Definition at line 48 of file TGeoTubeEditor.h.

Referenced by TGeoTubeEditor().

Bool_t TGeoTubeEditor::fIsShapeEditable [protected]

Definition at line 49 of file TGeoTubeEditor.h.

Referenced by TGeoTubeEditor().

TGTextEntry* TGeoTubeEditor::fShapeName [protected]

Definition at line 51 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGNumberEntry* TGeoTubeEditor::fERmin [protected]

Definition at line 52 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), DoRmax(), DoRmin(), TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGNumberEntry* TGeoTubeEditor::fERmax [protected]

Definition at line 53 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), DoRmax(), DoRmin(), TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGNumberEntry* TGeoTubeEditor::fEDz [protected]

Definition at line 54 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), DoDz(), TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGTextButton* TGeoTubeEditor::fApply [protected]

Definition at line 55 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoTubeSegEditor::ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), DoModified(), TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGTextButton* TGeoTubeEditor::fUndo [protected]

Definition at line 56 of file TGeoTubeEditor.h.

Referenced by ConnectSignals2Slots(), TGeoTubeSegEditor::ConnectSignals2Slots(), TGeoCtubEditor::DoApply(), DoApply(), TGeoTubeSegEditor::DoApply(), TGeoCtubEditor::DoUndo(), DoUndo(), TGeoTubeSegEditor::DoUndo(), TGeoCtubEditor::SetModel(), SetModel(), TGeoTubeSegEditor::SetModel(), and TGeoTubeEditor().

TGCompositeFrame* TGeoTubeEditor::fBFrame [protected]

Definition at line 57 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::TGeoCtubEditor(), TGeoTubeEditor(), and TGeoTubeSegEditor::TGeoTubeSegEditor().

TGCheckButton* TGeoTubeEditor::fDelayed [protected]

Definition at line 58 of file TGeoTubeEditor.h.

Referenced by IsDelayed(), and TGeoTubeEditor().

TGCompositeFrame* TGeoTubeEditor::fDFrame [protected]

Definition at line 59 of file TGeoTubeEditor.h.

Referenced by TGeoCtubEditor::TGeoCtubEditor(), TGeoTubeEditor(), and TGeoTubeSegEditor::TGeoTubeSegEditor().

TGeoTube* TGeoTubeEditor::fShape [protected]

Definition at line 47 of file TGeoTubeEditor.h.

TGTextEntry* TGeoTubeEditor::fShapeName [protected]

Definition at line 51 of file TGeoTubeEditor.h.

TGNumberEntry* TGeoTubeEditor::fERmin [protected]

Definition at line 52 of file TGeoTubeEditor.h.

TGNumberEntry* TGeoTubeEditor::fERmax [protected]

Definition at line 53 of file TGeoTubeEditor.h.

TGNumberEntry* TGeoTubeEditor::fEDz [protected]

Definition at line 54 of file TGeoTubeEditor.h.

TGTextButton* TGeoTubeEditor::fApply [protected]

Definition at line 55 of file TGeoTubeEditor.h.

TGTextButton* TGeoTubeEditor::fUndo [protected]

Definition at line 56 of file TGeoTubeEditor.h.

TGCompositeFrame* TGeoTubeEditor::fBFrame [protected]

Definition at line 57 of file TGeoTubeEditor.h.

TGCheckButton* TGeoTubeEditor::fDelayed [protected]

Definition at line 58 of file TGeoTubeEditor.h.

TGCompositeFrame* TGeoTubeEditor::fDFrame [protected]

Definition at line 59 of file TGeoTubeEditor.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