#include <TF1Editor.h>
Inheritance diagram for TF1Editor:
Definition at line 36 of file TF1Editor.h.
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] |
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::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] |
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] |
Int_t TF1Editor::fNP [protected] |
TGLabel* TF1Editor::fParLabel [protected] |
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.