#include <TGeoTrd2Editor.h>
Inheritance diagram for TGeoTrd2Editor:
Definition at line 39 of file TGeoTrd2Editor.h.
TGeoTrd2Editor::TGeoTrd2Editor | ( | 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 TGeoTrd2Editor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), f2, fApply, fDelayed, fDxi1, fDxi2, fDyi1, fDyi2, fDzi, fEDx1, fEDx2, fEDy1, fEDy2, 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().
TGeoTrd2Editor::~TGeoTrd2Editor | ( | ) | [virtual] |
Definition at line 155 of file TGeoTrd2Editor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoTrd2Editor::TGeoTrd2Editor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoTrd2Editor::~TGeoTrd2Editor | ( | ) | [virtual] |
void TGeoTrd2Editor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 168 of file TGeoTrd2Editor.cxx.
References TQObject::Connect(), fApply, fEDx1, fEDx2, fEDy1, fEDy2, fEDz, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.
Referenced by SetModel().
Bool_t TGeoTrd2Editor::IsDelayed | ( | ) | const [protected] |
Definition at line 221 of file TGeoTrd2Editor.cxx.
References fDelayed, TGButton::GetState(), and kButtonDown.
Referenced by DoDx1(), DoDx2(), DoDy1(), DoDy2(), and DoDz().
void TGeoTrd2Editor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 189 of file TGeoTrd2Editor.cxx.
References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fDxi1, fDxi2, fDyi1, fDyi2, fDzi, fEDx1, fEDx2, fEDy1, fEDy2, fEDz, TGedFrame::fInit, fNamei, fShape, fShapeName, fUndo, TGeoTrd2::GetDx1(), TGeoTrd2::GetDx2(), TGeoTrd2::GetDy1(), TGeoTrd2::GetDy2(), TGeoTrd2::GetDz(), TGeoShape::GetName(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.
void TGeoTrd2Editor::DoDx1 | ( | ) |
Definition at line 285 of file TGeoTrd2Editor.cxx.
References DoApply(), DoModified(), fEDx1, fEDx2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd2Editor::DoDx2 | ( | ) |
Definition at line 303 of file TGeoTrd2Editor.cxx.
References DoApply(), DoModified(), fEDx1, fEDx2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd2Editor::DoDy1 | ( | ) |
Definition at line 321 of file TGeoTrd2Editor.cxx.
References DoApply(), DoModified(), fEDy1, fEDy2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd2Editor::DoDy2 | ( | ) |
Definition at line 339 of file TGeoTrd2Editor.cxx.
References DoApply(), DoModified(), fEDy1, fEDy2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd2Editor::DoDz | ( | ) |
Definition at line 357 of file TGeoTrd2Editor.cxx.
References DoApply(), DoModified(), fEDz, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd2Editor::DoModified | ( | ) |
Definition at line 264 of file TGeoTrd2Editor.cxx.
References fApply, and TGButton::SetEnabled().
Referenced by DoDx1(), DoDx2(), DoDy1(), DoDy2(), DoDz(), and DoName().
void TGeoTrd2Editor::DoName | ( | ) |
void TGeoTrd2Editor::DoApply | ( | ) |
Definition at line 235 of file TGeoTrd2Editor.cxx.
References TGeoTrd2::ComputeBBox(), TGeoShape::Draw(), fApply, fEDx1, fEDx2, fEDy1, fEDy2, fEDz, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoTrd2::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().
Referenced by DoDx1(), DoDx2(), DoDy1(), DoDy2(), DoDz(), and DoUndo().
void TGeoTrd2Editor::DoUndo | ( | ) |
virtual void TGeoTrd2Editor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Bool_t TGeoTrd2Editor::IsDelayed | ( | ) | const [protected] |
void TGeoTrd2Editor::DoDx1 | ( | ) |
void TGeoTrd2Editor::DoDx2 | ( | ) |
void TGeoTrd2Editor::DoDy1 | ( | ) |
void TGeoTrd2Editor::DoDy2 | ( | ) |
void TGeoTrd2Editor::DoDz | ( | ) |
void TGeoTrd2Editor::DoModified | ( | ) |
void TGeoTrd2Editor::DoName | ( | ) |
void TGeoTrd2Editor::DoApply | ( | ) |
void TGeoTrd2Editor::DoUndo | ( | ) |
Double_t TGeoTrd2Editor::fDxi1 [protected] |
Definition at line 43 of file TGeoTrd2Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd2Editor().
Double_t TGeoTrd2Editor::fDxi2 [protected] |
Definition at line 44 of file TGeoTrd2Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd2Editor().
Double_t TGeoTrd2Editor::fDyi1 [protected] |
Definition at line 45 of file TGeoTrd2Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd2Editor().
Double_t TGeoTrd2Editor::fDyi2 [protected] |
Definition at line 46 of file TGeoTrd2Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd2Editor().
Double_t TGeoTrd2Editor::fDzi [protected] |
Definition at line 47 of file TGeoTrd2Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd2Editor().
TString TGeoTrd2Editor::fNamei [protected] |
TGeoTrd2* TGeoTrd2Editor::fShape [protected] |
Definition at line 49 of file TGeoTrd2Editor.h.
Referenced by DoApply(), SetModel(), and TGeoTrd2Editor().
Bool_t TGeoTrd2Editor::fIsModified [protected] |
Bool_t TGeoTrd2Editor::fIsShapeEditable [protected] |
TGTextEntry* TGeoTrd2Editor::fShapeName [protected] |
Definition at line 53 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoTrd2Editor().
TGNumberEntry* TGeoTrd2Editor::fEDx1 [protected] |
Definition at line 54 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGNumberEntry* TGeoTrd2Editor::fEDx2 [protected] |
Definition at line 55 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGNumberEntry* TGeoTrd2Editor::fEDy1 [protected] |
Definition at line 56 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDy1(), DoDy2(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGNumberEntry* TGeoTrd2Editor::fEDy2 [protected] |
Definition at line 57 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDy1(), DoDy2(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGNumberEntry* TGeoTrd2Editor::fEDz [protected] |
Definition at line 58 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGTextButton* TGeoTrd2Editor::fApply [protected] |
Definition at line 59 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoModified(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGTextButton* TGeoTrd2Editor::fUndo [protected] |
Definition at line 60 of file TGeoTrd2Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), SetModel(), and TGeoTrd2Editor().
TGCheckButton* TGeoTrd2Editor::fDelayed [protected] |
TGeoTrd2* TGeoTrd2Editor::fShape [protected] |
Definition at line 49 of file TGeoTrd2Editor.h.
TGTextEntry* TGeoTrd2Editor::fShapeName [protected] |
Definition at line 53 of file TGeoTrd2Editor.h.
TGNumberEntry* TGeoTrd2Editor::fEDx1 [protected] |
Definition at line 54 of file TGeoTrd2Editor.h.
TGNumberEntry* TGeoTrd2Editor::fEDx2 [protected] |
Definition at line 55 of file TGeoTrd2Editor.h.
TGNumberEntry* TGeoTrd2Editor::fEDy1 [protected] |
Definition at line 56 of file TGeoTrd2Editor.h.
TGNumberEntry* TGeoTrd2Editor::fEDy2 [protected] |
Definition at line 57 of file TGeoTrd2Editor.h.
TGNumberEntry* TGeoTrd2Editor::fEDz [protected] |
Definition at line 58 of file TGeoTrd2Editor.h.
TGTextButton* TGeoTrd2Editor::fApply [protected] |
Definition at line 59 of file TGeoTrd2Editor.h.
TGTextButton* TGeoTrd2Editor::fUndo [protected] |
Definition at line 60 of file TGeoTrd2Editor.h.
TGCheckButton* TGeoTrd2Editor::fDelayed [protected] |
Definition at line 61 of file TGeoTrd2Editor.h.