TFunctionParametersDialog Class Reference

#include <TFunctionParametersDialog.h>

Inheritance diagram for TFunctionParametersDialog:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TFunctionParametersDialog (const TGWindow *p, const TGWindow *main, TF1 *func, TVirtualPad *pad, Double_t rmin, Double_t rmax)
virtual ~TFunctionParametersDialog ()
virtual void CloseWindow ()
virtual void DoApply ()
virtual void DoCancel ()
virtual void DoFix (Bool_t on)
virtual void DoOK ()
virtual void DoParMaxLimit ()
virtual void DoParMinLimit ()
virtual void DoParValue ()
virtual void DoReset ()
virtual void DoSlider ()
virtual void HandleButtons (Bool_t update)
virtual void RedrawFunction ()
 TFunctionParametersDialog (const TGWindow *p, const TGWindow *main, TF1 *func, TVirtualPad *pad, Double_t rmin, Double_t rmax)
virtual ~TFunctionParametersDialog ()
virtual void CloseWindow ()
virtual void DoApply ()
virtual void DoCancel ()
virtual void DoFix (Bool_t on)
virtual void DoOK ()
virtual void DoParMaxLimit ()
virtual void DoParMinLimit ()
virtual void DoParValue ()
virtual void DoReset ()
virtual void DoSlider ()
virtual void HandleButtons (Bool_t update)
virtual void RedrawFunction ()

Protected Attributes

TF1fFunc
TVirtualPadfFpad
Int_t fNP
Double_tfPmin
Double_tfPmax
Double_tfPval
Double_tfPerr
Double_t fRangexmin
Double_t fRangexmax
Double_t fRXmin
Double_t fRXmax
TGCompositeFramefContNam
TGCompositeFramefContVal
TGCompositeFramefContFix
TGCompositeFramefContSld
TGCompositeFramefContMin
TGCompositeFramefContMax
TGTextEntry ** fParNam
TGCheckButton ** fParFix
TGNumberEntry ** fParVal
TGNumberEntryField ** fParMin
TGNumberEntryField ** fParMax
TGTripleHSlider ** fParSld
TGCheckButtonfUpdate
TGTextButtonfApply
TGTextButtonfReset
TGTextButtonfOK
TGTextButtonfCancel
Bool_t fHasChanges
Bool_t fImmediateDraw
TF1fFunc
TVirtualPadfFpad
Double_tfPmin
Double_tfPmax
Double_tfPval
Double_tfPerr
TGCompositeFramefContNam
TGCompositeFramefContVal
TGCompositeFramefContFix
TGCompositeFramefContSld
TGCompositeFramefContMin
TGCompositeFramefContMax
TGTextEntry ** fParNam
TGCheckButton ** fParFix
TGNumberEntry ** fParVal
TGNumberEntryField ** fParMin
TGNumberEntryField ** fParMax
TGTripleHSlider ** fParSld
TGCheckButtonfUpdate
TGTextButtonfApply
TGTextButtonfReset
TGTextButtonfOK
TGTextButtonfCancel

Detailed Description

Definition at line 38 of file TFunctionParametersDialog.h.


Constructor & Destructor Documentation

TFunctionParametersDialog::TFunctionParametersDialog ( const TGWindow p,
const TGWindow main,
TF1 func,
TVirtualPad pad,
Double_t  rmin,
Double_t  rmax 
)

TFunctionParametersDialog::~TFunctionParametersDialog (  )  [virtual]

Definition at line 265 of file TFunctionParametersDialog.cxx.

References TObject::ClassName(), TGCompositeFrame::Cleanup(), TGFrameElement::fFrame, fPerr, fPmax, fPmin, fPval, and TGCompositeFrame::GetList().

TFunctionParametersDialog::TFunctionParametersDialog ( const TGWindow p,
const TGWindow main,
TF1 func,
TVirtualPad pad,
Double_t  rmin,
Double_t  rmax 
)

virtual TFunctionParametersDialog::~TFunctionParametersDialog (  )  [virtual]


Member Function Documentation

void TFunctionParametersDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 291 of file TFunctionParametersDialog.cxx.

References TGFrame::DeleteWindow(), DoOK(), DoReset(), TGObject::fClient, fHasChanges, TGWindow::GetMainFrame(), TGClient::GetRoot(), kMBCancel, kMBIconExclamation, kMBNo, and kMBYes.

void TFunctionParametersDialog::DoApply (  )  [virtual]

Definition at line 414 of file TFunctionParametersDialog.cxx.

References fApply, fReset, TGButton::GetState(), kButtonDisabled, kButtonUp, RedrawFunction(), and TGButton::SetState().

void TFunctionParametersDialog::DoCancel (  )  [virtual]

Definition at line 313 of file TFunctionParametersDialog.cxx.

References DoReset(), fHasChanges, and TTimer::SingleShot().

void TFunctionParametersDialog::DoFix ( Bool_t  on  )  [virtual]

Definition at line 323 of file TFunctionParametersDialog.cxx.

References TQObject::Connect(), TQObject::Disconnect(), fApply, fFunc, fHasChanges, TF1::FixParameter(), fNP, fParMax, fParMin, fParSld, fParVal, fPerr, fPmax, fPmin, fPval, fReset, fUpdate, TGNumberEntryField::GetNumber(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kFIX, kTRUE, TGFrame::MapWindow(), RedrawFunction(), TGTextEntry::SetEnabled(), TGNumberEntryField::SetNumber(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGNumberEntry::SetState(), TGFrame::UnmapWindow(), and TGWidget::WidgetId().

void TFunctionParametersDialog::DoOK (  )  [virtual]

Definition at line 403 of file TFunctionParametersDialog.cxx.

References fFunc, fHasChanges, fRangexmax, fRangexmin, RedrawFunction(), TF1::SetRange(), and TTimer::SingleShot().

Referenced by CloseWindow().

void TFunctionParametersDialog::DoParMaxLimit (  )  [virtual]

Definition at line 618 of file TFunctionParametersDialog.cxx.

References fApply, TGObject::fClient, fHasChanges, fNP, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGWindow::GetMainFrame(), TGClient::GetRoot(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kMAX, kMBIconExclamation, kMBOk, kTRUE, TGClient::NeedRedraw(), RedrawFunction(), TGNumberEntryField::SetNumber(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), and TGWidget::WidgetId().

void TFunctionParametersDialog::DoParMinLimit (  )  [virtual]

Definition at line 582 of file TFunctionParametersDialog.cxx.

References fApply, TGObject::fClient, fHasChanges, fNP, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGWindow::GetMainFrame(), TGClient::GetRoot(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kMBIconExclamation, kMBOk, kMIN, kTRUE, TGClient::NeedRedraw(), RedrawFunction(), TGNumberEntryField::SetNumber(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), and TGWidget::WidgetId().

void TFunctionParametersDialog::DoParValue (  )  [virtual]

Definition at line 540 of file TFunctionParametersDialog.cxx.

References fApply, TGObject::fClient, fFunc, fHasChanges, fNP, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kTRUE, kVAL, TGClient::NeedRedraw(), RedrawFunction(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParLimits(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), and TGWidget::WidgetId().

void TFunctionParametersDialog::DoReset (  )  [virtual]

Definition at line 425 of file TFunctionParametersDialog.cxx.

References TQObject::Connect(), TQObject::Disconnect(), fApply, fFunc, fHasChanges, TF1::FixParameter(), fNP, fParFix, fParMax, fParMin, fParSld, fParVal, fPerr, fPmax, fPmin, fPval, fReset, fUpdate, TGNumberEntryField::GetNumber(), TGButton::GetState(), i, k, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kTRUE, TGFrame::MapWindow(), RedrawFunction(), TGTextEntry::SetEnabled(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParError(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGCheckButton::SetState(), TGNumberEntry::SetState(), and TGFrame::UnmapWindow().

Referenced by CloseWindow(), and DoCancel().

void TFunctionParametersDialog::DoSlider (  )  [virtual]

Definition at line 513 of file TFunctionParametersDialog.cxx.

References fApply, fFunc, fHasChanges, fNP, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGTripleHSlider::GetPointerPosition(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kSLD, kTRUE, RedrawFunction(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParLimits(), TGButton::SetState(), and TGWidget::WidgetId().

void TFunctionParametersDialog::HandleButtons ( Bool_t  update  )  [virtual]

Definition at line 670 of file TFunctionParametersDialog.cxx.

References fApply, fHasChanges, TGButton::GetState(), kButtonDisabled, kButtonUp, RedrawFunction(), and TGButton::SetState().

void TFunctionParametersDialog::RedrawFunction (  )  [virtual]

Definition at line 654 of file TFunctionParametersDialog.cxx.

References TString::Contains(), TF1::Draw(), fFpad, fFunc, fHasChanges, fRXmax, fRXmin, TObject::GetDrawOption(), kFALSE, TVirtualPad::Modified(), TF1::SetRange(), TString::ToUpper(), and TVirtualPad::Update().

Referenced by DoApply(), DoFix(), DoOK(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and HandleButtons().

virtual void TFunctionParametersDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

virtual void TFunctionParametersDialog::DoApply (  )  [virtual]

virtual void TFunctionParametersDialog::DoCancel (  )  [virtual]

virtual void TFunctionParametersDialog::DoFix ( Bool_t  on  )  [virtual]

virtual void TFunctionParametersDialog::DoOK (  )  [virtual]

virtual void TFunctionParametersDialog::DoParMaxLimit (  )  [virtual]

virtual void TFunctionParametersDialog::DoParMinLimit (  )  [virtual]

virtual void TFunctionParametersDialog::DoParValue (  )  [virtual]

virtual void TFunctionParametersDialog::DoReset (  )  [virtual]

virtual void TFunctionParametersDialog::DoSlider (  )  [virtual]

virtual void TFunctionParametersDialog::HandleButtons ( Bool_t  update  )  [virtual]

virtual void TFunctionParametersDialog::RedrawFunction (  )  [virtual]


Member Data Documentation

TF1* TFunctionParametersDialog::fFunc [protected]

Definition at line 41 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoOK(), DoParValue(), DoReset(), DoSlider(), and RedrawFunction().

TVirtualPad* TFunctionParametersDialog::fFpad [protected]

Definition at line 42 of file TFunctionParametersDialog.h.

Referenced by RedrawFunction().

Int_t TFunctionParametersDialog::fNP [protected]

Definition at line 43 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

Double_t* TFunctionParametersDialog::fPmin [protected]

Definition at line 44 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoReset(), and ~TFunctionParametersDialog().

Double_t* TFunctionParametersDialog::fPmax [protected]

Definition at line 45 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoReset(), and ~TFunctionParametersDialog().

Double_t* TFunctionParametersDialog::fPval [protected]

Definition at line 46 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoReset(), and ~TFunctionParametersDialog().

Double_t* TFunctionParametersDialog::fPerr [protected]

Definition at line 47 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoReset(), and ~TFunctionParametersDialog().

Double_t TFunctionParametersDialog::fRangexmin [protected]

Definition at line 48 of file TFunctionParametersDialog.h.

Referenced by DoOK().

Double_t TFunctionParametersDialog::fRangexmax [protected]

Definition at line 49 of file TFunctionParametersDialog.h.

Referenced by DoOK().

Double_t TFunctionParametersDialog::fRXmin [protected]

Definition at line 50 of file TFunctionParametersDialog.h.

Referenced by RedrawFunction().

Double_t TFunctionParametersDialog::fRXmax [protected]

Definition at line 51 of file TFunctionParametersDialog.h.

Referenced by RedrawFunction().

TGCompositeFrame* TFunctionParametersDialog::fContNam [protected]

Definition at line 52 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContVal [protected]

Definition at line 53 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContFix [protected]

Definition at line 54 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContSld [protected]

Definition at line 55 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContMin [protected]

Definition at line 56 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContMax [protected]

Definition at line 57 of file TFunctionParametersDialog.h.

TGTextEntry** TFunctionParametersDialog::fParNam [protected]

Definition at line 58 of file TFunctionParametersDialog.h.

TGCheckButton** TFunctionParametersDialog::fParFix [protected]

Definition at line 59 of file TFunctionParametersDialog.h.

Referenced by DoReset().

TGNumberEntry** TFunctionParametersDialog::fParVal [protected]

Definition at line 60 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGNumberEntryField** TFunctionParametersDialog::fParMin [protected]

Definition at line 61 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGNumberEntryField** TFunctionParametersDialog::fParMax [protected]

Definition at line 62 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGTripleHSlider** TFunctionParametersDialog::fParSld [protected]

Definition at line 63 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGCheckButton* TFunctionParametersDialog::fUpdate [protected]

Definition at line 64 of file TFunctionParametersDialog.h.

Referenced by DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGTextButton* TFunctionParametersDialog::fApply [protected]

Definition at line 65 of file TFunctionParametersDialog.h.

Referenced by DoApply(), DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and HandleButtons().

TGTextButton* TFunctionParametersDialog::fReset [protected]

Definition at line 66 of file TFunctionParametersDialog.h.

Referenced by DoApply(), DoFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().

TGTextButton* TFunctionParametersDialog::fOK [protected]

Definition at line 67 of file TFunctionParametersDialog.h.

TGTextButton* TFunctionParametersDialog::fCancel [protected]

Definition at line 68 of file TFunctionParametersDialog.h.

Bool_t TFunctionParametersDialog::fHasChanges [protected]

Definition at line 69 of file TFunctionParametersDialog.h.

Referenced by CloseWindow(), DoCancel(), DoFix(), DoOK(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), HandleButtons(), and RedrawFunction().

Bool_t TFunctionParametersDialog::fImmediateDraw [protected]

Definition at line 70 of file TFunctionParametersDialog.h.

TF1* TFunctionParametersDialog::fFunc [protected]

Definition at line 41 of file TFunctionParametersDialog.h.

TVirtualPad* TFunctionParametersDialog::fFpad [protected]

Definition at line 42 of file TFunctionParametersDialog.h.

Double_t* TFunctionParametersDialog::fPmin [protected]

Definition at line 44 of file TFunctionParametersDialog.h.

Double_t* TFunctionParametersDialog::fPmax [protected]

Definition at line 45 of file TFunctionParametersDialog.h.

Double_t* TFunctionParametersDialog::fPval [protected]

Definition at line 46 of file TFunctionParametersDialog.h.

Double_t* TFunctionParametersDialog::fPerr [protected]

Definition at line 47 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContNam [protected]

Definition at line 52 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContVal [protected]

Definition at line 53 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContFix [protected]

Definition at line 54 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContSld [protected]

Definition at line 55 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContMin [protected]

Definition at line 56 of file TFunctionParametersDialog.h.

TGCompositeFrame* TFunctionParametersDialog::fContMax [protected]

Definition at line 57 of file TFunctionParametersDialog.h.

TGTextEntry** TFunctionParametersDialog::fParNam [protected]

Definition at line 58 of file TFunctionParametersDialog.h.

TGCheckButton** TFunctionParametersDialog::fParFix [protected]

Definition at line 59 of file TFunctionParametersDialog.h.

TGNumberEntry** TFunctionParametersDialog::fParVal [protected]

Definition at line 60 of file TFunctionParametersDialog.h.

TGNumberEntryField** TFunctionParametersDialog::fParMin [protected]

Definition at line 61 of file TFunctionParametersDialog.h.

TGNumberEntryField** TFunctionParametersDialog::fParMax [protected]

Definition at line 62 of file TFunctionParametersDialog.h.

TGTripleHSlider** TFunctionParametersDialog::fParSld [protected]

Definition at line 63 of file TFunctionParametersDialog.h.

TGCheckButton* TFunctionParametersDialog::fUpdate [protected]

Definition at line 64 of file TFunctionParametersDialog.h.

TGTextButton* TFunctionParametersDialog::fApply [protected]

Definition at line 65 of file TFunctionParametersDialog.h.

TGTextButton* TFunctionParametersDialog::fReset [protected]

Definition at line 66 of file TFunctionParametersDialog.h.

TGTextButton* TFunctionParametersDialog::fOK [protected]

Definition at line 67 of file TFunctionParametersDialog.h.

TGTextButton* TFunctionParametersDialog::fCancel [protected]

Definition at line 68 of file TFunctionParametersDialog.h.


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