TGeoBBoxEditor Class Reference

#include <TGeoBBoxEditor.h>

Inheritance diagram for TGeoBBoxEditor:

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

Public Member Functions

 TGeoBBoxEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoBBoxEditor ()
virtual void SetModel (TObject *obj)
void DoDx ()
void DoDy ()
void DoDz ()
void DoOx ()
void DoOy ()
void DoOz ()
void DoModified ()
void DoName ()
void DoApply ()
void DoUndo ()
 TGeoBBoxEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoBBoxEditor ()
virtual void SetModel (TObject *obj)
void DoDx ()
void DoDy ()
void DoDz ()
void DoOx ()
void DoOy ()
void DoOz ()
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 fDxi
Double_t fDyi
Double_t fDzi
Double_t fOrigi [3]
TString fNamei
TGeoBBoxfShape
Bool_t fIsModified
Bool_t fIsShapeEditable
TGTextEntryfShapeName
TGNumberEntryfBoxDx
TGNumberEntryfBoxDy
TGNumberEntryfBoxDz
TGNumberEntryfBoxOx
TGNumberEntryfBoxOy
TGNumberEntryfBoxOz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed
TGeoBBoxfShape
TGTextEntryfShapeName
TGNumberEntryfBoxDx
TGNumberEntryfBoxDy
TGNumberEntryfBoxDz
TGNumberEntryfBoxOx
TGNumberEntryfBoxOy
TGNumberEntryfBoxOz
TGTextButtonfApply
TGTextButtonfUndo
TGCheckButtonfDelayed

Detailed Description

Definition at line 39 of file TGeoBBoxEditor.h.


Constructor & Destructor Documentation

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

Definition at line 51 of file TGeoBBoxEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), f2, fApply, fBoxDx, fBoxDy, fBoxDz, fBoxOx, fBoxOy, fBoxOz, fDelayed, fDxi, fDyi, fDzi, fIsModified, fIsShapeEditable, fNamei, fOrigi, 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().

TGeoBBoxEditor::~TGeoBBoxEditor (  )  [virtual]

Definition at line 171 of file TGeoBBoxEditor.cxx.

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

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

virtual TGeoBBoxEditor::~TGeoBBoxEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 185 of file TGeoBBoxEditor.cxx.

References TQObject::Connect(), fApply, fBoxDx, fBoxDy, fBoxDz, fBoxOx, fBoxOy, fBoxOz, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

Bool_t TGeoBBoxEditor::IsDelayed (  )  const [protected]

Definition at line 241 of file TGeoBBoxEditor.cxx.

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

Referenced by DoDx(), DoDy(), DoDz(), DoOx(), DoOy(), and DoOz().

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

Implements TGedFrame.

Definition at line 209 of file TGeoBBoxEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fBoxDx, fBoxDy, fBoxDz, fBoxOx, fBoxOy, fBoxOz, fDxi, fDyi, fDzi, TGedFrame::fInit, fNamei, fOrigi, fShape, fShapeName, fUndo, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoShape::GetName(), TGeoBBox::GetOrigin(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoBBoxEditor::DoDx (  ) 

Definition at line 309 of file TGeoBBoxEditor.cxx.

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

void TGeoBBoxEditor::DoDy (  ) 

Definition at line 322 of file TGeoBBoxEditor.cxx.

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

void TGeoBBoxEditor::DoDz (  ) 

Definition at line 335 of file TGeoBBoxEditor.cxx.

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

void TGeoBBoxEditor::DoOx (  ) 

Definition at line 348 of file TGeoBBoxEditor.cxx.

References DoApply(), DoModified(), and IsDelayed().

void TGeoBBoxEditor::DoOy (  ) 

Definition at line 356 of file TGeoBBoxEditor.cxx.

References DoApply(), DoModified(), and IsDelayed().

void TGeoBBoxEditor::DoOz (  ) 

Definition at line 364 of file TGeoBBoxEditor.cxx.

References DoApply(), DoModified(), and IsDelayed().

void TGeoBBoxEditor::DoModified (  ) 

Definition at line 287 of file TGeoBBoxEditor.cxx.

References fApply, and TGButton::SetEnabled().

Referenced by DoDx(), DoDy(), DoDz(), DoName(), DoOx(), DoOy(), and DoOz().

void TGeoBBoxEditor::DoName (  ) 

Definition at line 248 of file TGeoBBoxEditor.cxx.

References DoModified().

void TGeoBBoxEditor::DoApply (  ) 

Definition at line 255 of file TGeoBBoxEditor.cxx.

References TGeoShape::Draw(), fApply, fBoxDx, fBoxDy, fBoxDz, fBoxOx, fBoxOy, fBoxOz, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoBBox::GetOrigin(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoBBox::SetBoxDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().

Referenced by DoDx(), DoDy(), DoDz(), DoOx(), DoOy(), DoOz(), and DoUndo().

void TGeoBBoxEditor::DoUndo (  ) 

Definition at line 294 of file TGeoBBoxEditor.cxx.

References DoApply(), fApply, fBoxDx, fBoxDy, fBoxDz, fBoxOx, fBoxOy, fBoxOz, fDxi, fDyi, fDzi, fOrigi, fUndo, kFALSE, TGButton::SetEnabled(), and TGNumberEntry::SetNumber().

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

Bool_t TGeoBBoxEditor::IsDelayed (  )  const [protected]

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

Implements TGedFrame.

void TGeoBBoxEditor::DoDx (  ) 

void TGeoBBoxEditor::DoDy (  ) 

void TGeoBBoxEditor::DoDz (  ) 

void TGeoBBoxEditor::DoOx (  ) 

void TGeoBBoxEditor::DoOy (  ) 

void TGeoBBoxEditor::DoOz (  ) 

void TGeoBBoxEditor::DoModified (  ) 

void TGeoBBoxEditor::DoName (  ) 

void TGeoBBoxEditor::DoApply (  ) 

void TGeoBBoxEditor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoBBoxEditor::fDxi [protected]

Definition at line 43 of file TGeoBBoxEditor.h.

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

Double_t TGeoBBoxEditor::fDyi [protected]

Definition at line 44 of file TGeoBBoxEditor.h.

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

Double_t TGeoBBoxEditor::fDzi [protected]

Definition at line 45 of file TGeoBBoxEditor.h.

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

Double_t TGeoBBoxEditor::fOrigi [protected]

Definition at line 46 of file TGeoBBoxEditor.h.

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

TString TGeoBBoxEditor::fNamei [protected]

Definition at line 47 of file TGeoBBoxEditor.h.

Referenced by SetModel(), and TGeoBBoxEditor().

TGeoBBox* TGeoBBoxEditor::fShape [protected]

Definition at line 48 of file TGeoBBoxEditor.h.

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

Bool_t TGeoBBoxEditor::fIsModified [protected]

Definition at line 49 of file TGeoBBoxEditor.h.

Referenced by TGeoBBoxEditor().

Bool_t TGeoBBoxEditor::fIsShapeEditable [protected]

Definition at line 50 of file TGeoBBoxEditor.h.

Referenced by TGeoBBoxEditor().

TGTextEntry* TGeoBBoxEditor::fShapeName [protected]

Definition at line 51 of file TGeoBBoxEditor.h.

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

TGNumberEntry* TGeoBBoxEditor::fBoxDx [protected]

Definition at line 52 of file TGeoBBoxEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoDx(), DoUndo(), SetModel(), and TGeoBBoxEditor().

TGNumberEntry* TGeoBBoxEditor::fBoxDy [protected]

Definition at line 53 of file TGeoBBoxEditor.h.

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

TGNumberEntry* TGeoBBoxEditor::fBoxDz [protected]

Definition at line 54 of file TGeoBBoxEditor.h.

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

TGNumberEntry* TGeoBBoxEditor::fBoxOx [protected]

Definition at line 55 of file TGeoBBoxEditor.h.

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

TGNumberEntry* TGeoBBoxEditor::fBoxOy [protected]

Definition at line 56 of file TGeoBBoxEditor.h.

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

TGNumberEntry* TGeoBBoxEditor::fBoxOz [protected]

Definition at line 57 of file TGeoBBoxEditor.h.

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

TGTextButton* TGeoBBoxEditor::fApply [protected]

Definition at line 58 of file TGeoBBoxEditor.h.

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

TGTextButton* TGeoBBoxEditor::fUndo [protected]

Definition at line 59 of file TGeoBBoxEditor.h.

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

TGCheckButton* TGeoBBoxEditor::fDelayed [protected]

Definition at line 60 of file TGeoBBoxEditor.h.

Referenced by IsDelayed(), and TGeoBBoxEditor().

TGeoBBox* TGeoBBoxEditor::fShape [protected]

Definition at line 48 of file TGeoBBoxEditor.h.

TGTextEntry* TGeoBBoxEditor::fShapeName [protected]

Definition at line 51 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxDx [protected]

Definition at line 52 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxDy [protected]

Definition at line 53 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxDz [protected]

Definition at line 54 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxOx [protected]

Definition at line 55 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxOy [protected]

Definition at line 56 of file TGeoBBoxEditor.h.

TGNumberEntry* TGeoBBoxEditor::fBoxOz [protected]

Definition at line 57 of file TGeoBBoxEditor.h.

TGTextButton* TGeoBBoxEditor::fApply [protected]

Definition at line 58 of file TGeoBBoxEditor.h.

TGTextButton* TGeoBBoxEditor::fUndo [protected]

Definition at line 59 of file TGeoBBoxEditor.h.

TGCheckButton* TGeoBBoxEditor::fDelayed [protected]

Definition at line 60 of file TGeoBBoxEditor.h.


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