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