TGraphEditor Class Reference

#include <TGraphEditor.h>

Inheritance diagram for TGraphEditor:

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

Public Member Functions

 TGraphEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGraphEditor ()
virtual void SetModel (TObject *obj)
virtual void DoShape ()
virtual void DoMarkerOnOff (Bool_t on)
virtual void DoTitle (const char *text)
virtual void DoGraphLineWidth ()
 TGraphEditor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGraphEditor ()
virtual void SetModel (TObject *obj)
virtual void DoShape ()
virtual void DoMarkerOnOff (Bool_t on)
virtual void DoTitle (const char *text)
virtual void DoGraphLineWidth ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

char fDrawShape
TGTextEntryfTitle
Int_t fTitlePrec
TGraphfGraph
TGButtonGroupfgr
TGRadioButtonfShape
TGRadioButtonfShape0
TGRadioButtonfShape1
TGRadioButtonfShape2
TGRadioButtonfShape3
TGLayoutHintsfShape1lh
TGCheckButtonfMarkerOnOff
TGLineWidthComboBoxfWidthCombo
TGCheckButtonfExSide
TGTextEntryfTitle
TGraphfGraph
TGButtonGroupfgr
TGRadioButtonfShape
TGRadioButtonfShape0
TGRadioButtonfShape1
TGRadioButtonfShape2
TGRadioButtonfShape3
TGLayoutHintsfShape1lh
TGCheckButtonfMarkerOnOff
TGLineWidthComboBoxfWidthCombo
TGCheckButtonfExSide

Detailed Description

Definition at line 34 of file TGraphEditor.h.


Constructor & Destructor Documentation

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

Definition at line 62 of file TGraphEditor.cxx.

References TGCompositeFrame::AddFrame(), TGWidget::Associate(), TGCompositeFrame::ChangeOptions(), f2, fExSide, fgr, fGraph, fMarkerOnOff, fShape, fShape0, fShape1, fShape1lh, fShape2, fShape3, fTitle, fTitlePrec, fWidthCombo, TGFrame::GetDefaultHeight(), TGFrame::GetWhitePixel(), kChildFrame, kDoubleBorder, kFitWidth, kHorizontalFrame, kLHintsLeft, kLHintsTop, kSunkenFrame, kTRUE, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGButtonGroup::SetLayoutHints(), TGButtonGroup::SetRadioButtonExclusive(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), TGButtonGroup::Show(), and TGCompositeFrame::TGCompositeFrame().

TGraphEditor::~TGraphEditor (  )  [virtual]

Definition at line 124 of file TGraphEditor.cxx.

References fShape, fShape0, fShape1, fShape1lh, fShape2, and fShape3.

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

virtual TGraphEditor::~TGraphEditor (  )  [virtual]


Member Function Documentation

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

Definition at line 139 of file TGraphEditor.cxx.

References TQObject::Connect(), fExSide, fgr, TGedFrame::fInit, fMarkerOnOff, fTitle, fWidthCombo, and kFALSE.

Referenced by SetModel().

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

Implements TGedFrame.

Definition at line 154 of file TGraphEditor.cxx.

References TMath::Abs(), ConnectSignals2Slots(), TString::Contains(), TGedFrame::fAvoidSignal, fDrawShape, fExSide, fgr, fGraph, TGedFrame::fInit, TString::First(), fMarkerOnOff, fTitle, fWidthCombo, TGedFrame::GetDrawOption(), TAttLine::GetLineWidth(), TNamed::GetTitle(), i, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kTRUE, l, TString::Length(), TString::Remove(), TGComboBox::Select(), TGButtonGroup::SetButton(), TGedFrame::SetDrawOption(), TGCheckButton::SetState(), TGTextEntry::SetText(), text(), and TString::ToUpper().

void TGraphEditor::DoShape (  )  [virtual]

Definition at line 233 of file TGraphEditor.cxx.

References xmlio::Class, TString::Contains(), TGedFrame::fAvoidSignal, fDrawShape, fExSide, fGraph, TString::First(), fMarkerOnOff, fShape, fShape0, fShape1, fShape2, fWidthCombo, TObject::GetDrawOption(), TGedFrame::GetDrawOption(), TGObject::GetId(), TAttLine::GetLineWidth(), TGButton::GetState(), gPad, gVirtualX, TObject::InheritsFrom(), kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kPointer, kTRUE, kWatch, TString::Remove(), TString::Replace(), s, TGedFrame::SetDrawOption(), TGComboBox::SetEnabled(), TGCheckButton::SetState(), and TString::ToUpper().

void TGraphEditor::DoMarkerOnOff ( Bool_t  on  )  [virtual]

Definition at line 335 of file TGraphEditor.cxx.

References TGedFrame::fAvoidSignal, fShape, TGedFrame::GetDrawOption(), kButtonDisabled, kButtonEngaged, TGedFrame::SetDrawOption(), TGRadioButton::SetState(), and t.

void TGraphEditor::DoTitle ( const char *  text  )  [virtual]

Definition at line 222 of file TGraphEditor.cxx.

References TGedFrame::fAvoidSignal, fGraph, TGraph::SetTitle(), and TGedFrame::Update().

void TGraphEditor::DoGraphLineWidth (  )  [virtual]

Definition at line 357 of file TGraphEditor.cxx.

References TMath::Abs(), TGedFrame::fAvoidSignal, fExSide, fGraph, fWidthCombo, TAttLine::GetLineWidth(), TGComboBox::GetSelected(), TGButton::GetState(), kButtonDown, TAttLine::SetLineWidth(), TGedFrame::Update(), and width.

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

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

Implements TGedFrame.

virtual void TGraphEditor::DoShape (  )  [virtual]

virtual void TGraphEditor::DoMarkerOnOff ( Bool_t  on  )  [virtual]

virtual void TGraphEditor::DoTitle ( const char *  text  )  [virtual]

virtual void TGraphEditor::DoGraphLineWidth (  )  [virtual]


Member Data Documentation

char TGraphEditor::fDrawShape [protected]

Definition at line 37 of file TGraphEditor.h.

Referenced by DoShape(), and SetModel().

TGTextEntry* TGraphEditor::fTitle [protected]

Definition at line 38 of file TGraphEditor.h.

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

Int_t TGraphEditor::fTitlePrec [protected]

Definition at line 39 of file TGraphEditor.h.

Referenced by TGraphEditor().

TGraph* TGraphEditor::fGraph [protected]

Definition at line 40 of file TGraphEditor.h.

Referenced by DoGraphLineWidth(), DoShape(), DoTitle(), SetModel(), and TGraphEditor().

TGButtonGroup* TGraphEditor::fgr [protected]

Definition at line 41 of file TGraphEditor.h.

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

TGRadioButton* TGraphEditor::fShape [protected]

Definition at line 42 of file TGraphEditor.h.

Referenced by DoMarkerOnOff(), DoShape(), TGraphEditor(), and ~TGraphEditor().

TGRadioButton* TGraphEditor::fShape0 [protected]

Definition at line 43 of file TGraphEditor.h.

Referenced by DoShape(), TGraphEditor(), and ~TGraphEditor().

TGRadioButton* TGraphEditor::fShape1 [protected]

Definition at line 44 of file TGraphEditor.h.

Referenced by DoShape(), TGraphEditor(), and ~TGraphEditor().

TGRadioButton* TGraphEditor::fShape2 [protected]

Definition at line 45 of file TGraphEditor.h.

Referenced by DoShape(), TGraphEditor(), and ~TGraphEditor().

TGRadioButton* TGraphEditor::fShape3 [protected]

Definition at line 46 of file TGraphEditor.h.

Referenced by TGraphEditor(), and ~TGraphEditor().

TGLayoutHints* TGraphEditor::fShape1lh [protected]

Definition at line 47 of file TGraphEditor.h.

Referenced by TGraphEditor(), and ~TGraphEditor().

TGCheckButton* TGraphEditor::fMarkerOnOff [protected]

Definition at line 48 of file TGraphEditor.h.

Referenced by ConnectSignals2Slots(), DoShape(), SetModel(), and TGraphEditor().

TGLineWidthComboBox* TGraphEditor::fWidthCombo [protected]

Definition at line 49 of file TGraphEditor.h.

Referenced by ConnectSignals2Slots(), DoGraphLineWidth(), DoShape(), SetModel(), and TGraphEditor().

TGCheckButton* TGraphEditor::fExSide [protected]

Definition at line 50 of file TGraphEditor.h.

Referenced by ConnectSignals2Slots(), DoGraphLineWidth(), DoShape(), SetModel(), and TGraphEditor().

TGTextEntry* TGraphEditor::fTitle [protected]

Definition at line 38 of file TGraphEditor.h.

TGraph* TGraphEditor::fGraph [protected]

Definition at line 40 of file TGraphEditor.h.

TGButtonGroup* TGraphEditor::fgr [protected]

Definition at line 41 of file TGraphEditor.h.

TGRadioButton* TGraphEditor::fShape [protected]

Definition at line 42 of file TGraphEditor.h.

TGRadioButton* TGraphEditor::fShape0 [protected]

Definition at line 43 of file TGraphEditor.h.

TGRadioButton* TGraphEditor::fShape1 [protected]

Definition at line 44 of file TGraphEditor.h.

TGRadioButton* TGraphEditor::fShape2 [protected]

Definition at line 45 of file TGraphEditor.h.

TGRadioButton* TGraphEditor::fShape3 [protected]

Definition at line 46 of file TGraphEditor.h.

TGLayoutHints* TGraphEditor::fShape1lh [protected]

Definition at line 47 of file TGraphEditor.h.

TGCheckButton* TGraphEditor::fMarkerOnOff [protected]

Definition at line 48 of file TGraphEditor.h.

TGLineWidthComboBox* TGraphEditor::fWidthCombo [protected]

Definition at line 49 of file TGraphEditor.h.

TGCheckButton* TGraphEditor::fExSide [protected]

Definition at line 50 of file TGraphEditor.h.


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