TGeoTranslationEditor Class Reference

#include <TGeoMatrixEditor.h>

Inheritance diagram for TGeoTranslationEditor:

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

Public Member Functions

 TGeoTranslationEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTranslationEditor ()
virtual void SetModel (TObject *obj)
void DoDx ()
void DoDy ()
void DoDz ()
void DoModified ()
void DoName ()
Bool_t DoParameters ()
void DoApply ()
void DoCancel ()
void DoUndo ()
 TGeoTranslationEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGeoTranslationEditor ()
virtual void SetModel (TObject *obj)
void DoDx ()
void DoDy ()
void DoDz ()
void DoModified ()
void DoName ()
Bool_t DoParameters ()
void DoApply ()
void DoCancel ()
void DoUndo ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

Double_t fDxi
Double_t fDyi
Double_t fDzi
TString fNamei
TGeoTranslationfTranslation
Bool_t fIsModified
Bool_t fIsEditable
TGTextEntryfTransName
TGNumberEntryfTransDx
TGNumberEntryfTransDy
TGNumberEntryfTransDz
TGTextButtonfApply
TGTextButtonfCancel
TGTextButtonfUndo
TGeoTranslationfTranslation
TGTextEntryfTransName
TGNumberEntryfTransDx
TGNumberEntryfTransDy
TGNumberEntryfTransDz
TGTextButtonfApply
TGTextButtonfCancel
TGTextButtonfUndo

Detailed Description

Definition at line 41 of file TGeoMatrixEditor.h.


Constructor & Destructor Documentation

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

Definition at line 39 of file TGeoMatrixEditor.cxx.

References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), f2, fApply, fCancel, fDxi, fDyi, fDzi, fIsEditable, fIsModified, fNamei, fTransDx, fTransDy, fTransDz, fTranslation, fTransName, fUndo, TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), TGFrame::GetSize(), kDoubleBorder, kFALSE, kFixedWidth, kHorizontalFrame, kLHintsCenterX, kLHintsExpandX, kLHintsLeft, kLHintsRight, kOwnBackground, kRaisedFrame, kSunkenFrame, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGFrame::SetSize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TGeoTranslationEditor::~TGeoTranslationEditor (  )  [virtual]

Definition at line 114 of file TGeoMatrixEditor.cxx.

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

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

virtual TGeoTranslationEditor::~TGeoTranslationEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 127 of file TGeoMatrixEditor.cxx.

References TQObject::Connect(), fApply, fCancel, TGedFrame::fInit, fTransDx, fTransDy, fTransDz, fTransName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

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

Implements TGedFrame.

Definition at line 145 of file TGeoMatrixEditor.cxx.

References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fCancel, fDxi, fDyi, fDzi, TGedFrame::fInit, fNamei, fTransDx, fTransDy, fTransDz, fTranslation, fTransName, fUndo, TNamed::GetName(), TGeoTranslation::GetTranslation(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.

void TGeoTranslationEditor::DoDx (  ) 

Definition at line 249 of file TGeoMatrixEditor.cxx.

References DoModified().

void TGeoTranslationEditor::DoDy (  ) 

Definition at line 256 of file TGeoMatrixEditor.cxx.

References DoModified().

void TGeoTranslationEditor::DoDz (  ) 

Definition at line 263 of file TGeoMatrixEditor.cxx.

References DoModified().

void TGeoTranslationEditor::DoModified (  ) 

Definition at line 230 of file TGeoMatrixEditor.cxx.

References fApply, fCancel, fUndo, TGButton::GetState(), kButtonDisabled, and TGButton::SetEnabled().

Referenced by DoDx(), DoDy(), and DoDz().

void TGeoTranslationEditor::DoName (  ) 

Definition at line 174 of file TGeoMatrixEditor.cxx.

References fTranslation, fTransName, TNamed::GetName(), TGTextEntry::GetText(), name, and TNamed::SetName().

Referenced by DoApply().

Bool_t TGeoTranslationEditor::DoParameters (  ) 

Definition at line 183 of file TGeoMatrixEditor.cxx.

References TGeoGedFrame::fPad, fTransDx, fTransDy, fTransDz, fTranslation, fUndo, TGNumberEntry::GetNumber(), TGeoTranslation::GetTranslation(), kFALSE, kTRUE, TVirtualPad::Modified(), TGButton::SetEnabled(), TGeoTranslation::SetTranslation(), and TVirtualPad::Update().

Referenced by DoApply(), and DoUndo().

void TGeoTranslationEditor::DoApply (  ) 

Definition at line 204 of file TGeoMatrixEditor.cxx.

References DoName(), DoParameters(), fApply, fCancel, fUndo, kFALSE, and TGButton::SetEnabled().

void TGeoTranslationEditor::DoCancel (  ) 

Definition at line 216 of file TGeoMatrixEditor.cxx.

References TString::Data(), fApply, fCancel, fDxi, fDyi, fDzi, fNamei, fTransDx, fTransDy, fTransDz, fTransName, fUndo, kFALSE, TString::Length(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), and TGTextEntry::SetText().

Referenced by DoUndo().

void TGeoTranslationEditor::DoUndo (  ) 

Definition at line 238 of file TGeoMatrixEditor.cxx.

References DoCancel(), DoParameters(), fApply, fCancel, fUndo, kFALSE, and TGButton::SetEnabled().

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

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

Implements TGedFrame.

void TGeoTranslationEditor::DoDx (  ) 

void TGeoTranslationEditor::DoDy (  ) 

void TGeoTranslationEditor::DoDz (  ) 

void TGeoTranslationEditor::DoModified (  ) 

void TGeoTranslationEditor::DoName (  ) 

Bool_t TGeoTranslationEditor::DoParameters (  ) 

void TGeoTranslationEditor::DoApply (  ) 

void TGeoTranslationEditor::DoCancel (  ) 

void TGeoTranslationEditor::DoUndo (  ) 


Member Data Documentation

Double_t TGeoTranslationEditor::fDxi [protected]

Definition at line 45 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), SetModel(), and TGeoTranslationEditor().

Double_t TGeoTranslationEditor::fDyi [protected]

Definition at line 46 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), SetModel(), and TGeoTranslationEditor().

Double_t TGeoTranslationEditor::fDzi [protected]

Definition at line 47 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), SetModel(), and TGeoTranslationEditor().

TString TGeoTranslationEditor::fNamei [protected]

Definition at line 48 of file TGeoMatrixEditor.h.

Referenced by DoCancel(), SetModel(), and TGeoTranslationEditor().

TGeoTranslation* TGeoTranslationEditor::fTranslation [protected]

Definition at line 49 of file TGeoMatrixEditor.h.

Referenced by DoName(), DoParameters(), SetModel(), and TGeoTranslationEditor().

Bool_t TGeoTranslationEditor::fIsModified [protected]

Definition at line 50 of file TGeoMatrixEditor.h.

Referenced by TGeoTranslationEditor().

Bool_t TGeoTranslationEditor::fIsEditable [protected]

Definition at line 51 of file TGeoMatrixEditor.h.

Referenced by TGeoTranslationEditor().

TGTextEntry* TGeoTranslationEditor::fTransName [protected]

Definition at line 52 of file TGeoMatrixEditor.h.

Referenced by ConnectSignals2Slots(), DoCancel(), DoName(), SetModel(), and TGeoTranslationEditor().

TGNumberEntry* TGeoTranslationEditor::fTransDx [protected]

Definition at line 53 of file TGeoMatrixEditor.h.

Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), SetModel(), and TGeoTranslationEditor().

TGNumberEntry* TGeoTranslationEditor::fTransDy [protected]

Definition at line 54 of file TGeoMatrixEditor.h.

Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), SetModel(), and TGeoTranslationEditor().

TGNumberEntry* TGeoTranslationEditor::fTransDz [protected]

Definition at line 55 of file TGeoMatrixEditor.h.

Referenced by ConnectSignals2Slots(), DoCancel(), DoParameters(), SetModel(), and TGeoTranslationEditor().

TGTextButton* TGeoTranslationEditor::fApply [protected]

Definition at line 56 of file TGeoMatrixEditor.h.

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

TGTextButton* TGeoTranslationEditor::fCancel [protected]

Definition at line 57 of file TGeoMatrixEditor.h.

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

TGTextButton* TGeoTranslationEditor::fUndo [protected]

Definition at line 58 of file TGeoMatrixEditor.h.

Referenced by ConnectSignals2Slots(), DoApply(), DoCancel(), DoModified(), DoParameters(), DoUndo(), SetModel(), and TGeoTranslationEditor().

TGeoTranslation* TGeoTranslationEditor::fTranslation [protected]

Definition at line 49 of file TGeoMatrixEditor.h.

TGTextEntry* TGeoTranslationEditor::fTransName [protected]

Definition at line 52 of file TGeoMatrixEditor.h.

TGNumberEntry* TGeoTranslationEditor::fTransDx [protected]

Definition at line 53 of file TGeoMatrixEditor.h.

TGNumberEntry* TGeoTranslationEditor::fTransDy [protected]

Definition at line 54 of file TGeoMatrixEditor.h.

TGNumberEntry* TGeoTranslationEditor::fTransDz [protected]

Definition at line 55 of file TGeoMatrixEditor.h.

TGTextButton* TGeoTranslationEditor::fApply [protected]

Definition at line 56 of file TGeoMatrixEditor.h.

TGTextButton* TGeoTranslationEditor::fCancel [protected]

Definition at line 57 of file TGeoMatrixEditor.h.

TGTextButton* TGeoTranslationEditor::fUndo [protected]

Definition at line 58 of file TGeoMatrixEditor.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