128 this,
"DoXPoints()");
129 fSetPars->
Connect(
"Clicked()",
"TF1Editor",
this,
"DoParameterSettings()");
131 fSliderX->
Connect(
"Released()",
"TF1Editor",
this,
"DoSliderXReleased()");
132 fSliderX->
Connect(
"PositionChanged()",
"TF1Editor",
this,
"DoSliderXMoved()");
165 Int_t nxbinmin =
x->GetFirst();
166 Int_t nxbinmax =
x->GetLast();
246 if(save)
gPad = save;
278 if(save)
gPad = save;
311 if(save)
gPad = save;
332 Int_t nxbinmin =
x->GetFirst();
333 Int_t nxbinmax =
x->GetLast();
include TDocParser_001 C image html pict1_TDocParser_001 png width
char * Form(const char *fmt,...)
Class to manage histogram axis.
virtual void Set(Int_t nbins, Double_t xmin, Double_t xmax)
Initialize axis with fix bins.
The ROOT global object gROOT contains a list of all defined classes.
TGCheckButton * fDrawMode
virtual void ActivateBaseClassEditors(TClass *cl)
Exclude TAttFillEditor from this interface.
virtual void DoXRange()
Slot connected to min/max settings of the slider range.
virtual void DoParameterSettings()
Slot connected to the function parameter(s) settings.
virtual void DoSliderXReleased()
Slot connected to the x-Slider.
virtual void DoXPoints()
Slot connected to the number of points setting.
virtual void DoSliderXMoved()
Slot connected to the x-Slider range for function redrawing.
virtual ~TF1Editor()
Destructor of TF1 editor.
virtual void DoSliderXPressed()
Slot connected to the x-Slider.
TGNumberEntryField * fSldMinX
TGDoubleHSlider * fSliderX
TGNumberEntry * fNXpoints
TGNumberEntryField * fSldMaxX
virtual void SetModel(TObject *obj)
Pick up the function parameters and options.
TF1Editor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual TH1 * GetHistogram() const
Return a pointer to the histogram used to visualise the function.
virtual void SetRange(Double_t xmin, Double_t xmax)
Initialize the upper and lower bounds to draw the function.
virtual Int_t GetNpar() const
virtual void SetNpx(Int_t npx=100)
Set the number of points used to draw the function.
virtual void GetRange(Double_t *xmin, Double_t *xmax) const
Return range of a generic N-D function.
virtual void Draw(Option_t *option="")
Draw this function with its current attributes.
virtual Int_t GetNpx() const
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual Float_t GetMaxPosition() const
virtual Float_t GetMinPosition() const
virtual void SetRange(Float_t min, Float_t max)
virtual void SetPosition(Float_t min, Float_t max)
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetText(TGString *newText)
Set new text in label.
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
virtual void SetState(Bool_t state)
Set the active state.
virtual void SetNumber(Double_t val)
Set the numeric value (floating point representation).
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetNumber() const
void SetEnabled(Bool_t flag=kTRUE)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual TVirtualPad * GetPad() const
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
virtual const char * GetTitle() const
Returns title of object.
Mother of all ROOT objects.
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
void ToUpper()
Change string to upper case.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TVirtualPad * cd(Int_t subpadnumber=0)=0
int main(int argc, char **argv)