TArrowEditor Class Reference

#include <TArrowEditor.h>

Inheritance diagram for TArrowEditor:

TGedFrame TGedFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 TArrowEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TArrowEditor ()
virtual void SetModel (TObject *obj)
virtual void DoAngle ()
virtual void DoOption (Int_t id)
virtual void DoSize ()
 TArrowEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TArrowEditor ()
virtual void SetModel (TObject *obj)
virtual void DoAngle ()
virtual void DoOption (Int_t id)
virtual void DoSize ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
TGComboBoxBuildOptionComboBox (TGFrame *parent, Int_t id)
Int_t GetShapeEntry (Option_t *opt)
virtual void ConnectSignals2Slots ()
TGComboBoxBuildOptionComboBox (TGFrame *parent, Int_t id)
Int_t GetShapeEntry (Option_t *opt)

Protected Attributes

TArrowfArrow
TGComboBoxfOptionCombo
TGNumberEntryfAngleEntry
TGNumberEntryfSizeEntry
TArrowfArrow
TGComboBoxfOptionCombo
TGNumberEntryfAngleEntry
TGNumberEntryfSizeEntry

Detailed Description

Definition at line 31 of file TArrowEditor.h.


Constructor & Destructor Documentation

TArrowEditor::TArrowEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 46 of file TArrowEditor.cxx.

References TGCompositeFrame::AddFrame(), TGWidget::Associate(), BuildOptionComboBox(), f2, fAngleEntry, fArrow, fOptionCombo, fSizeEntry, TGNumberEntry::GetNumberEntry(), kFixedWidth, kHorizontalFrame, kLHintsExpandX, kLHintsNormal, kLHintsTop, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNESInteger, TGNumberFormat::kNESRealTwo, TGedFrame::MakeTitle(), TGFrame::Resize(), TGTextEntry::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TArrowEditor::~TArrowEditor (  )  [virtual]

Definition at line 96 of file TArrowEditor.cxx.

References TObject::ClassName(), TGCompositeFrame::Cleanup(), TGFrameElement::fFrame, and TGCompositeFrame::GetList().

TArrowEditor::TArrowEditor ( const TGWindow p = 0,
Int_t  width = 140,
Int_t  height = 30,
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TArrowEditor::~TArrowEditor (  )  [virtual]


Member Function Documentation

void TArrowEditor::ConnectSignals2Slots (  )  [protected, virtual]

Definition at line 111 of file TArrowEditor.cxx.

References TQObject::Connect(), fAngleEntry, TGedFrame::fInit, fOptionCombo, fSizeEntry, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

TGComboBox * TArrowEditor::BuildOptionComboBox ( TGFrame parent,
Int_t  id 
) [protected]

Definition at line 214 of file TArrowEditor.cxx.

References TGComboBox::AddEntry(), TGComboBox::GetListBox(), TGFrame::GetWidth(), TGFrame::Resize(), and TGComboBox::Select().

Referenced by TArrowEditor().

Int_t TArrowEditor::GetShapeEntry ( Option_t opt  )  [protected]

Definition at line 236 of file TArrowEditor.cxx.

References TString::ToLower().

Referenced by SetModel().

void TArrowEditor::SetModel ( TObject obj  )  [virtual]

Implements TGedFrame.

Definition at line 125 of file TArrowEditor.cxx.

References ConnectSignals2Slots(), fAngleEntry, fArrow, TGedFrame::fAvoidSignal, TGedFrame::fInit, fOptionCombo, fSizeEntry, TArrow::GetAngle(), TArrow::GetArrowSize(), TObject::GetDrawOption(), TGComboBox::GetSelected(), GetShapeEntry(), kFALSE, kTRUE, TGComboBox::Select(), and TGNumberEntry::SetNumber().

void TArrowEditor::DoAngle (  )  [virtual]

Definition at line 147 of file TArrowEditor.cxx.

References fAngleEntry, fArrow, TGedFrame::fAvoidSignal, TObject::GetDrawOption(), TGNumberEntry::GetNumber(), TArrow::Paint(), TArrow::SetAngle(), and TGedFrame::Update().

void TArrowEditor::DoOption ( Int_t  id  )  [virtual]

Definition at line 158 of file TArrowEditor.cxx.

References fArrow, TGedFrame::fAvoidSignal, TObject::GetDrawOption(), TArrow::Paint(), TObject::SetDrawOption(), and TGedFrame::Update().

void TArrowEditor::DoSize (  )  [virtual]

Definition at line 203 of file TArrowEditor.cxx.

References fArrow, TGedFrame::fAvoidSignal, fSizeEntry, TObject::GetDrawOption(), TGNumberEntry::GetNumber(), TArrow::Paint(), TArrow::SetArrowSize(), and TGedFrame::Update().

virtual void TArrowEditor::ConnectSignals2Slots (  )  [protected, virtual]

TGComboBox* TArrowEditor::BuildOptionComboBox ( TGFrame parent,
Int_t  id 
) [protected]

Int_t TArrowEditor::GetShapeEntry ( Option_t opt  )  [protected]

virtual void TArrowEditor::SetModel ( TObject obj  )  [virtual]

Implements TGedFrame.

virtual void TArrowEditor::DoAngle (  )  [virtual]

virtual void TArrowEditor::DoOption ( Int_t  id  )  [virtual]

virtual void TArrowEditor::DoSize (  )  [virtual]


Member Data Documentation

TArrow* TArrowEditor::fArrow [protected]

Definition at line 34 of file TArrowEditor.h.

Referenced by DoAngle(), DoOption(), DoSize(), SetModel(), and TArrowEditor().

TGComboBox* TArrowEditor::fOptionCombo [protected]

Definition at line 35 of file TArrowEditor.h.

Referenced by ConnectSignals2Slots(), SetModel(), and TArrowEditor().

TGNumberEntry* TArrowEditor::fAngleEntry [protected]

Definition at line 36 of file TArrowEditor.h.

Referenced by ConnectSignals2Slots(), DoAngle(), SetModel(), and TArrowEditor().

TGNumberEntry* TArrowEditor::fSizeEntry [protected]

Definition at line 37 of file TArrowEditor.h.

Referenced by ConnectSignals2Slots(), DoSize(), SetModel(), and TArrowEditor().

TArrow* TArrowEditor::fArrow [protected]

Definition at line 34 of file TArrowEditor.h.

TGComboBox* TArrowEditor::fOptionCombo [protected]

Definition at line 35 of file TArrowEditor.h.

TGNumberEntry* TArrowEditor::fAngleEntry [protected]

Definition at line 36 of file TArrowEditor.h.

TGNumberEntry* TArrowEditor::fSizeEntry [protected]

Definition at line 37 of file TArrowEditor.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:34:33 2011 for ROOT_528-00b_version by  doxygen 1.5.1