#include <TGeoMatrixEditor.h>
Inheritance diagram for TGeoTranslationEditor:
Definition at line 41 of file TGeoMatrixEditor.h.
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] |
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 | ( | ) |
void TGeoTranslationEditor::DoDy | ( | ) |
void TGeoTranslationEditor::DoDz | ( | ) |
void TGeoTranslationEditor::DoModified | ( | ) |
Definition at line 230 of file TGeoMatrixEditor.cxx.
References fApply, fCancel, fUndo, TGButton::GetState(), kButtonDisabled, and TGButton::SetEnabled().
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().
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] |
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 | ( | ) |
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] |
Bool_t TGeoTranslationEditor::fIsEditable [protected] |
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.