TF1Editor Class Reference

#include <TF1Editor.h>

Inheritance diagram for TF1Editor:

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

Public Member Functions

 TF1Editor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TF1Editor ()
virtual void SetModel (TObject *obj)
virtual void ActivateBaseClassEditors (TClass *cl)
virtual void DoParameterSettings ()
virtual void DoXPoints ()
virtual void DoSliderXMoved ()
virtual void DoSliderXPressed ()
virtual void DoSliderXReleased ()
virtual void DoXRange ()
 TF1Editor (const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TF1Editor ()
virtual void SetModel (TObject *obj)
virtual void ActivateBaseClassEditors (TClass *cl)
virtual void DoParameterSettings ()
virtual void DoXPoints ()
virtual void DoSliderXMoved ()
virtual void DoSliderXPressed ()
virtual void DoSliderXReleased ()
virtual void DoXRange ()

Protected Member Functions

virtual void ConnectSignals2Slots ()
virtual void ConnectSignals2Slots ()

Protected Attributes

TF1fF1
TGTextEntryfTitle
Int_t fNP
TGLabelfParLabel
TGCheckButtonfDrawMode
TGTextButtonfSetPars
TGNumberEntryfNXpoints
TGDoubleHSliderfSliderX
TGNumberEntryFieldfSldMinX
TGNumberEntryFieldfSldMaxX
TF1fF1
TGTextEntryfTitle
TGLabelfParLabel
TGCheckButtonfDrawMode
TGTextButtonfSetPars
TGNumberEntryfNXpoints
TGDoubleHSliderfSliderX
TGNumberEntryFieldfSldMinX
TGNumberEntryFieldfSldMaxX

Detailed Description

Definition at line 36 of file TF1Editor.h.


Constructor & Destructor Documentation

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

Definition at line 43 of file TF1Editor.cxx.

References TGCompositeFrame::AddFrame(), fDrawMode, fNXpoints, Form(), fParLabel, fSetPars, fSldMaxX, fSldMinX, fSliderX, fTitle, TGFrame::GetDefaultHeight(), TGNumberEntry::GetNumberEntry(), kFALSE, kFixedWidth, kHorizontalFrame, kLHintsBottom, kLHintsCenterY, kLHintsExpandX, kLHintsLeft, kLHintsRight, kLHintsTop, TGNumberFormat::kNEAAnyNumber, TGNumberFormat::kNEANonNegative, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNESInteger, TGNumberFormat::kNESRealFour, kVerticalFrame, TGedFrame::MakeTitle(), TGFrame::Resize(), TGTextEntry::SetEnabled(), TGNumberEntryField::SetState(), TGTextEntry::SetToolTipText(), TGButton::SetToolTipText(), and TGCompositeFrame::TGCompositeFrame().

TF1Editor::~TF1Editor (  )  [virtual]

Definition at line 115 of file TF1Editor.cxx.

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

virtual TF1Editor::~TF1Editor (  )  [virtual]


Member Function Documentation

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

Definition at line 121 of file TF1Editor.cxx.

References TQObject::Connect(), TGedFrame::fInit, fNXpoints, fSetPars, fSliderX, TGNumberEntry::GetNumberEntry(), and kFALSE.

Referenced by SetModel().

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

Implements TGedFrame.

Definition at line 137 of file TF1Editor.cxx.

References xmlio::Class, ConnectSignals2Slots(), TGedFrame::fAvoidSignal, TGObject::fClient, fF1, TGedFrame::fInit, fNP, fNXpoints, Form(), fParLabel, fSetPars, fSldMaxX, fSldMinX, fSliderX, fTitle, TF1::GetHistogram(), TFormula::GetNpar(), TF1::GetNpx(), TNamed::GetTitle(), TH1::GetXaxis(), kButtonDisabled, kButtonUp, kFALSE, kTRUE, TGClient::NeedRedraw(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGLabel::SetText(), TGTextEntry::SetText(), text(), and x.

void TF1Editor::ActivateBaseClassEditors ( TClass cl  )  [virtual]

Reimplemented from TGedFrame.

Definition at line 337 of file TF1Editor.cxx.

References TGedFrame::ActivateBaseClassEditors(), xmlio::Class, TGedEditor::ExcludeClassEditor(), and TGedFrame::fGedEditor.

void TF1Editor::DoParameterSettings (  )  [virtual]

Definition at line 175 of file TF1Editor.cxx.

References fF1, TGedFrame::fGedEditor, fSldMaxX, fSldMinX, gClient, TGClient::GetDefaultRoot(), TGWindow::GetMainFrame(), TGNumberEntryField::GetNumber(), TGedEditor::GetPad(), and main().

void TF1Editor::DoXPoints (  )  [virtual]

Definition at line 188 of file TF1Editor.cxx.

References TGedFrame::fAvoidSignal, fF1, fNXpoints, fSldMaxX, fSldMinX, TF1::GetHistogram(), TGNumberEntryField::GetNumber(), TGNumberEntry::GetNumber(), TF1::GetRange(), TH1::GetXaxis(), TAxis::Set(), TF1::SetNpx(), TF1::SetRange(), and TGedFrame::Update().

void TF1Editor::DoSliderXMoved (  )  [virtual]

Definition at line 205 of file TF1Editor.cxx.

References TVirtualPad::cd(), TF1::Draw(), TGedFrame::fAvoidSignal, TGObject::fClient, fDrawMode, fF1, TGedFrame::fGedEditor, fNXpoints, fSldMaxX, fSldMinX, fSliderX, TObject::GetDrawOption(), TF1::GetHistogram(), TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), TGNumberEntry::GetNumber(), TGedEditor::GetPad(), TGButton::GetState(), TH1::GetXaxis(), gPad, kButtonDown, kTRUE, TGClient::NeedRedraw(), TF1::SetNpx(), TGNumberEntryField::SetNumber(), TGedFrame::Update(), and x.

void TF1Editor::DoSliderXPressed (  )  [virtual]

Definition at line 248 of file TF1Editor.cxx.

References TVirtualPad::cd(), TString::Contains(), TF1::Draw(), TGedFrame::fAvoidSignal, TGObject::fClient, fDrawMode, fF1, TGedFrame::fGedEditor, fNXpoints, fSldMaxX, fSldMinX, fSliderX, TObject::GetDrawOption(), TF1::GetHistogram(), TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), TGNumberEntry::GetNumber(), TGedEditor::GetPad(), TGButton::GetState(), TH1::GetXaxis(), gPad, kButtonDown, kTRUE, TGClient::NeedRedraw(), TF1::SetNpx(), TGNumberEntryField::SetNumber(), TString::ToUpper(), TGedFrame::Update(), and x.

void TF1Editor::DoSliderXReleased (  )  [virtual]

Definition at line 281 of file TF1Editor.cxx.

References TVirtualPad::cd(), TString::Contains(), TF1::Draw(), TGedFrame::fAvoidSignal, TGObject::fClient, fDrawMode, fF1, TGedFrame::fGedEditor, fNXpoints, fSldMaxX, fSldMinX, fSliderX, TObject::GetDrawOption(), TF1::GetHistogram(), TGDoubleSlider::GetMaxPosition(), TGDoubleSlider::GetMinPosition(), TGNumberEntry::GetNumber(), TGedEditor::GetPad(), TGButton::GetState(), TH1::GetXaxis(), gPad, kButtonDown, kTRUE, TGClient::NeedRedraw(), TF1::SetNpx(), TGNumberEntryField::SetNumber(), TString::ToUpper(), TGedFrame::Update(), and x.

void TF1Editor::DoXRange (  )  [virtual]

Definition at line 314 of file TF1Editor.cxx.

References TGedFrame::fAvoidSignal, fF1, fSldMaxX, fSldMinX, fSliderX, TF1::GetHistogram(), TGNumberEntryField::GetNumber(), TH1::GetXaxis(), TGNumberEntryField::SetNumber(), TGDoubleSlider::SetPosition(), TGedFrame::Update(), width, and x.

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

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

Implements TGedFrame.

virtual void TF1Editor::ActivateBaseClassEditors ( TClass cl  )  [virtual]

Reimplemented from TGedFrame.

virtual void TF1Editor::DoParameterSettings (  )  [virtual]

virtual void TF1Editor::DoXPoints (  )  [virtual]

virtual void TF1Editor::DoSliderXMoved (  )  [virtual]

virtual void TF1Editor::DoSliderXPressed (  )  [virtual]

virtual void TF1Editor::DoSliderXReleased (  )  [virtual]

virtual void TF1Editor::DoXRange (  )  [virtual]


Member Data Documentation

TF1* TF1Editor::fF1 [protected]

Definition at line 39 of file TF1Editor.h.

Referenced by DoParameterSettings(), DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), DoXPoints(), DoXRange(), and SetModel().

TGTextEntry* TF1Editor::fTitle [protected]

Definition at line 40 of file TF1Editor.h.

Referenced by SetModel(), and TF1Editor().

Int_t TF1Editor::fNP [protected]

Definition at line 41 of file TF1Editor.h.

Referenced by SetModel().

TGLabel* TF1Editor::fParLabel [protected]

Definition at line 42 of file TF1Editor.h.

Referenced by SetModel(), and TF1Editor().

TGCheckButton* TF1Editor::fDrawMode [protected]

Definition at line 43 of file TF1Editor.h.

Referenced by DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), and TF1Editor().

TGTextButton* TF1Editor::fSetPars [protected]

Definition at line 44 of file TF1Editor.h.

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

TGNumberEntry* TF1Editor::fNXpoints [protected]

Definition at line 45 of file TF1Editor.h.

Referenced by ConnectSignals2Slots(), DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), DoXPoints(), SetModel(), and TF1Editor().

TGDoubleHSlider* TF1Editor::fSliderX [protected]

Definition at line 46 of file TF1Editor.h.

Referenced by ConnectSignals2Slots(), DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), DoXRange(), SetModel(), and TF1Editor().

TGNumberEntryField* TF1Editor::fSldMinX [protected]

Definition at line 47 of file TF1Editor.h.

Referenced by DoParameterSettings(), DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), DoXPoints(), DoXRange(), SetModel(), and TF1Editor().

TGNumberEntryField* TF1Editor::fSldMaxX [protected]

Definition at line 48 of file TF1Editor.h.

Referenced by DoParameterSettings(), DoSliderXMoved(), DoSliderXPressed(), DoSliderXReleased(), DoXPoints(), DoXRange(), SetModel(), and TF1Editor().

TF1* TF1Editor::fF1 [protected]

Definition at line 39 of file TF1Editor.h.

TGTextEntry* TF1Editor::fTitle [protected]

Definition at line 40 of file TF1Editor.h.

TGLabel* TF1Editor::fParLabel [protected]

Definition at line 42 of file TF1Editor.h.

TGCheckButton* TF1Editor::fDrawMode [protected]

Definition at line 43 of file TF1Editor.h.

TGTextButton* TF1Editor::fSetPars [protected]

Definition at line 44 of file TF1Editor.h.

TGNumberEntry* TF1Editor::fNXpoints [protected]

Definition at line 45 of file TF1Editor.h.

TGDoubleHSlider* TF1Editor::fSliderX [protected]

Definition at line 46 of file TF1Editor.h.

TGNumberEntryField* TF1Editor::fSldMinX [protected]

Definition at line 47 of file TF1Editor.h.

TGNumberEntryField* TF1Editor::fSldMaxX [protected]

Definition at line 48 of file TF1Editor.h.


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