#include <TLineEditor.h>
Inheritance diagram for TLineEditor:
Definition at line 31 of file TLineEditor.h.
TLineEditor::TLineEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
Definition at line 45 of file TLineEditor.cxx.
References TGCompositeFrame::AddFrame(), fEndPointX, fEndPointY, fHorizontal, fLine, fStartPointX, fStartPointY, fVertical, TGNumberEntry::GetNumberEntry(), kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsNormal, kLHintsTop, TGNumberFormat::kNEAAnyNumber, TGNumberFormat::kNELNoLimits, TGNumberFormat::kNESRealThree, TGedFrame::MakeTitle(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().
TLineEditor::~TLineEditor | ( | ) | [virtual] |
Definition at line 114 of file TLineEditor.cxx.
TLineEditor::TLineEditor | ( | const TGWindow * | p = 0 , |
|
Int_t | width = 140 , |
|||
Int_t | height = 30 , |
|||
UInt_t | options = kChildFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TLineEditor::~TLineEditor | ( | ) | [virtual] |
void TLineEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
Definition at line 120 of file TLineEditor.cxx.
References TQObject::Connect(), fEndPointX, fEndPointY, fHorizontal, TGedFrame::fInit, fStartPointX, fStartPointY, fVertical, TGNumberEntry::GetNumberEntry(), and kFALSE.
Referenced by SetModel().
void TLineEditor::SetModel | ( | TObject * | obj | ) | [virtual] |
Implements TGedFrame.
Definition at line 139 of file TLineEditor.cxx.
References ConnectSignals2Slots(), TGedFrame::fAvoidSignal, fEndPointX, fEndPointY, fHorizontal, TGedFrame::fInit, fLine, fStartPointX, fStartPointY, fVertical, TLine::GetX1(), TLine::GetX2(), TLine::GetY1(), TLine::GetY2(), TLine::IsHorizontal(), TLine::IsVertical(), kButtonDown, kButtonUp, kFALSE, kTRUE, TGNumberEntry::SetNumber(), TGCheckButton::SetState(), and val.
void TLineEditor::DoStartPoint | ( | ) | [virtual] |
Definition at line 170 of file TLineEditor.cxx.
References TGedFrame::fAvoidSignal, fLine, fStartPointX, fStartPointY, TObject::GetDrawOption(), TGNumberEntry::GetNumber(), TLine::Paint(), TLine::SetX1(), TLine::SetY1(), and TGedFrame::Update().
void TLineEditor::DoEndPoint | ( | ) | [virtual] |
Definition at line 181 of file TLineEditor.cxx.
References TGedFrame::fAvoidSignal, fEndPointX, fEndPointY, fLine, TObject::GetDrawOption(), TGNumberEntry::GetNumber(), TLine::Paint(), TLine::SetX2(), TLine::SetY2(), and TGedFrame::Update().
void TLineEditor::DoLineVertical | ( | ) | [virtual] |
Definition at line 193 of file TLineEditor.cxx.
References TGedFrame::fAvoidSignal, fHorizontal, fLine, fVertical, TGButton::GetState(), kButtonDown, kButtonUp, kFALSE, TGCheckButton::SetState(), TLine::SetVertical(), and TGedFrame::Update().
void TLineEditor::DoLineHorizontal | ( | ) | [virtual] |
Definition at line 208 of file TLineEditor.cxx.
References TGedFrame::fAvoidSignal, fHorizontal, fLine, fVertical, TGButton::GetState(), kButtonDown, kButtonUp, kFALSE, TLine::SetHorizontal(), TGCheckButton::SetState(), and TGedFrame::Update().
virtual void TLineEditor::ConnectSignals2Slots | ( | ) | [protected, virtual] |
virtual void TLineEditor::DoStartPoint | ( | ) | [virtual] |
virtual void TLineEditor::DoEndPoint | ( | ) | [virtual] |
virtual void TLineEditor::DoLineVertical | ( | ) | [virtual] |
virtual void TLineEditor::DoLineHorizontal | ( | ) | [virtual] |
TLine* TLineEditor::fLine [protected] |
Definition at line 34 of file TLineEditor.h.
Referenced by DoEndPoint(), DoLineHorizontal(), DoLineVertical(), DoStartPoint(), SetModel(), and TLineEditor().
TGNumberEntry* TLineEditor::fStartPointX [protected] |
Definition at line 35 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoStartPoint(), SetModel(), and TLineEditor().
TGNumberEntry* TLineEditor::fStartPointY [protected] |
Definition at line 36 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoStartPoint(), SetModel(), and TLineEditor().
TGNumberEntry* TLineEditor::fEndPointX [protected] |
Definition at line 37 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoEndPoint(), SetModel(), and TLineEditor().
TGNumberEntry* TLineEditor::fEndPointY [protected] |
Definition at line 38 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoEndPoint(), SetModel(), and TLineEditor().
TGCheckButton* TLineEditor::fVertical [protected] |
Definition at line 39 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoLineHorizontal(), DoLineVertical(), SetModel(), and TLineEditor().
TGCheckButton* TLineEditor::fHorizontal [protected] |
Definition at line 40 of file TLineEditor.h.
Referenced by ConnectSignals2Slots(), DoLineHorizontal(), DoLineVertical(), SetModel(), and TLineEditor().
TLine* TLineEditor::fLine [protected] |
Definition at line 34 of file TLineEditor.h.
TGNumberEntry* TLineEditor::fStartPointX [protected] |
Definition at line 35 of file TLineEditor.h.
TGNumberEntry* TLineEditor::fStartPointY [protected] |
Definition at line 36 of file TLineEditor.h.
TGNumberEntry* TLineEditor::fEndPointX [protected] |
Definition at line 37 of file TLineEditor.h.
TGNumberEntry* TLineEditor::fEndPointY [protected] |
Definition at line 38 of file TLineEditor.h.
TGCheckButton* TLineEditor::fVertical [protected] |
Definition at line 39 of file TLineEditor.h.
TGCheckButton* TLineEditor::fHorizontal [protected] |
Definition at line 40 of file TLineEditor.h.