#include <TGeoTrd1Editor.h>
Inheritance diagram for TGeoTrd1Editor:
Definition at line 39 of file TGeoTrd1Editor.h.
TGeoTrd1Editor::TGeoTrd1Editor | ( | 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 TGeoTrd1Editor.cxx.
References TGCompositeFrame::AddFrame(), TGNumberEntry::Associate(), TGWidget::Associate(), f2, fApply, fDelayed, fDxi1, fDxi2, fDyi, fDzi, fEDx1, fEDx2, fEDy, 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().
TGeoTrd1Editor::~TGeoTrd1Editor | ( | ) | [virtual] |
Definition at line 143 of file TGeoTrd1Editor.cxx.
References TGCompositeFrame::Cleanup(), TGeoTabManager::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), and TGFrame::IsComposite().
TGeoTrd1Editor::TGeoTrd1Editor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGeoTrd1Editor::~TGeoTrd1Editor | ( | ) | [virtual] |
void TGeoTrd1Editor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 156 of file TGeoTrd1Editor.cxx.
References TQObject::Connect(), fApply, fEDx1, fEDx2, fEDy, fEDz, TGedFrame::fInit, fShapeName, fUndo, TGNumberEntry::GetNumberEntry(), and kFALSE.
Referenced by SetModel().
Bool_t TGeoTrd1Editor::IsDelayed | ( | ) | const [protected] |
Definition at line 206 of file TGeoTrd1Editor.cxx.
References fDelayed, TGButton::GetState(), and kButtonDown.
void TGeoTrd1Editor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 175 of file TGeoTrd1Editor.cxx.
References xmlio::Class, TObject::ClassName(), ConnectSignals2Slots(), fApply, fDxi1, fDxi2, fDyi, fDzi, fEDx1, fEDx2, fEDy, fEDz, TGedFrame::fInit, fNamei, fShape, fShapeName, fUndo, TGeoTrd1::GetDx1(), TGeoTrd1::GetDx2(), TGeoTrd1::GetDy(), TGeoTrd1::GetDz(), TGeoShape::GetName(), kFALSE, TGeoGedFrame::SetActive(), TGButton::SetEnabled(), TGNumberEntry::SetNumber(), TGTextEntry::SetText(), and sname.
void TGeoTrd1Editor::DoDx1 | ( | ) |
Definition at line 267 of file TGeoTrd1Editor.cxx.
References DoApply(), DoModified(), fEDx1, fEDx2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd1Editor::DoDx2 | ( | ) |
Definition at line 285 of file TGeoTrd1Editor.cxx.
References DoApply(), DoModified(), fEDx1, fEDx2, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd1Editor::DoDy | ( | ) |
Definition at line 303 of file TGeoTrd1Editor.cxx.
References DoApply(), DoModified(), fEDy, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd1Editor::DoDz | ( | ) |
Definition at line 316 of file TGeoTrd1Editor.cxx.
References DoApply(), DoModified(), fEDz, TGNumberEntry::GetNumber(), IsDelayed(), and TGNumberEntry::SetNumber().
void TGeoTrd1Editor::DoModified | ( | ) |
Definition at line 247 of file TGeoTrd1Editor.cxx.
References fApply, and TGButton::SetEnabled().
Referenced by DoDx1(), DoDx2(), DoDy(), DoDz(), and DoName().
void TGeoTrd1Editor::DoName | ( | ) |
void TGeoTrd1Editor::DoApply | ( | ) |
Definition at line 220 of file TGeoTrd1Editor.cxx.
References TGeoTrd1::ComputeBBox(), TGeoShape::Draw(), fApply, fEDx1, fEDx2, fEDy, fEDz, TGeoGedFrame::fPad, fShape, fShapeName, fUndo, TGeoShape::GetName(), TGNumberEntry::GetNumber(), TGeoManager::GetPainter(), TGTextEntry::GetText(), TVirtualPad::GetView(), gGeoManager, TVirtualGeoPainter::IsPaintingShape(), kFALSE, name, TGeoTrd1::SetDimensions(), TGButton::SetEnabled(), TNamed::SetName(), TView::ShowAxis(), and TGeoGedFrame::Update().
Referenced by DoDx1(), DoDx2(), DoDy(), DoDz(), and DoUndo().
void TGeoTrd1Editor::DoUndo | ( | ) |
virtual void TGeoTrd1Editor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Bool_t TGeoTrd1Editor::IsDelayed | ( | ) | const [protected] |
void TGeoTrd1Editor::DoDx1 | ( | ) |
void TGeoTrd1Editor::DoDx2 | ( | ) |
void TGeoTrd1Editor::DoDy | ( | ) |
void TGeoTrd1Editor::DoDz | ( | ) |
void TGeoTrd1Editor::DoModified | ( | ) |
void TGeoTrd1Editor::DoName | ( | ) |
void TGeoTrd1Editor::DoApply | ( | ) |
void TGeoTrd1Editor::DoUndo | ( | ) |
Double_t TGeoTrd1Editor::fDxi1 [protected] |
Definition at line 43 of file TGeoTrd1Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd1Editor().
Double_t TGeoTrd1Editor::fDxi2 [protected] |
Definition at line 44 of file TGeoTrd1Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd1Editor().
Double_t TGeoTrd1Editor::fDyi [protected] |
Definition at line 45 of file TGeoTrd1Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd1Editor().
Double_t TGeoTrd1Editor::fDzi [protected] |
Definition at line 46 of file TGeoTrd1Editor.h.
Referenced by DoUndo(), SetModel(), and TGeoTrd1Editor().
TString TGeoTrd1Editor::fNamei [protected] |
TGeoTrd1* TGeoTrd1Editor::fShape [protected] |
Definition at line 48 of file TGeoTrd1Editor.h.
Referenced by DoApply(), SetModel(), and TGeoTrd1Editor().
Bool_t TGeoTrd1Editor::fIsModified [protected] |
Bool_t TGeoTrd1Editor::fIsShapeEditable [protected] |
TGTextEntry* TGeoTrd1Editor::fShapeName [protected] |
Definition at line 52 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), SetModel(), and TGeoTrd1Editor().
TGNumberEntry* TGeoTrd1Editor::fEDx1 [protected] |
Definition at line 53 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGNumberEntry* TGeoTrd1Editor::fEDx2 [protected] |
Definition at line 54 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDx1(), DoDx2(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGNumberEntry* TGeoTrd1Editor::fEDy [protected] |
Definition at line 55 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDy(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGNumberEntry* TGeoTrd1Editor::fEDz [protected] |
Definition at line 56 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoDz(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGTextButton* TGeoTrd1Editor::fApply [protected] |
Definition at line 57 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoModified(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGTextButton* TGeoTrd1Editor::fUndo [protected] |
Definition at line 58 of file TGeoTrd1Editor.h.
Referenced by ConnectSignals2Slots(), DoApply(), DoUndo(), SetModel(), and TGeoTrd1Editor().
TGCheckButton* TGeoTrd1Editor::fDelayed [protected] |
TGeoTrd1* TGeoTrd1Editor::fShape [protected] |
Definition at line 48 of file TGeoTrd1Editor.h.
TGTextEntry* TGeoTrd1Editor::fShapeName [protected] |
Definition at line 52 of file TGeoTrd1Editor.h.
TGNumberEntry* TGeoTrd1Editor::fEDx1 [protected] |
Definition at line 53 of file TGeoTrd1Editor.h.
TGNumberEntry* TGeoTrd1Editor::fEDx2 [protected] |
Definition at line 54 of file TGeoTrd1Editor.h.
TGNumberEntry* TGeoTrd1Editor::fEDy [protected] |
Definition at line 55 of file TGeoTrd1Editor.h.
TGNumberEntry* TGeoTrd1Editor::fEDz [protected] |
Definition at line 56 of file TGeoTrd1Editor.h.
TGTextButton* TGeoTrd1Editor::fApply [protected] |
Definition at line 57 of file TGeoTrd1Editor.h.
TGTextButton* TGeoTrd1Editor::fUndo [protected] |
Definition at line 58 of file TGeoTrd1Editor.h.
TGCheckButton* TGeoTrd1Editor::fDelayed [protected] |
Definition at line 59 of file TGeoTrd1Editor.h.