#include <TGeoBBoxEditor.h>
Inheritance diagram for TGeoBBoxEditor:
Definition at line 39 of file TGeoBBoxEditor.h.
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] |
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 | ( | ) |
void TGeoBBoxEditor::DoName | ( | ) |
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 | ( | ) |
virtual void TGeoBBoxEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Bool_t TGeoBBoxEditor::IsDelayed | ( | ) | const [protected] |
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 | ( | ) |
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] |
TGeoBBox* TGeoBBoxEditor::fShape [protected] |
Definition at line 48 of file TGeoBBoxEditor.h.
Referenced by DoApply(), SetModel(), and TGeoBBoxEditor().
Bool_t TGeoBBoxEditor::fIsModified [protected] |
Bool_t TGeoBBoxEditor::fIsShapeEditable [protected] |
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] |
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.