39 kTF1_XSLD, kTF1_XMIN, kTF1_XMAX,
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.
Int_t GetFirst() const
Return first bin on the axis i.e.
virtual const char * GetTitle() const
Returns title of object.
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 void SetNpx(Int_t npx=100)
Set the number of points used to draw the function.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
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.
ClassImp(TF1Editor) enum ETF1Wid
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 Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
virtual TVirtualPad * GetPad() const
virtual Double_t GetBinWidth(Int_t bin) const
Return bin width.
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 TH1 * GetHistogram() const
Return a pointer to the histogram used to vusualize the function.
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.
TGNumberEntryField * GetNumberEntry() const
virtual Option_t * GetDrawOption() const
Get option used by the graphics system to draw this object.
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 &)
TF1Editor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void GetRange(Double_t *xmin, Double_t *xmax) const
Return range of a generic N-D function.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
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.
Class to manage histogram axis.
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
virtual void DoSliderXMoved()
Slot connected to the x-Slider range for function redrawing.
char * Form(const char *fmt,...)
virtual Double_t GetNumber() const
Get the numeric value (floating point representation).
The ROOT global object gROOT contains a list of all defined classes.
TGNumberEntryField * fSldMinX
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
virtual Int_t GetNpx() const
int main(int argc, char *argv[])
void SetEnabled(Bool_t flag=kTRUE)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Int_t GetLast() const
Return last bin on the axis i.e.
Mother of all ROOT objects.
virtual ~TF1Editor()
Destructor of TF1 editor.
virtual void SetNumber(Double_t val)
Set the numeric value (floating point representation).
virtual UInt_t GetDefaultHeight() const
TGCheckButton * fDrawMode
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
virtual void SetPosition(Float_t min, Float_t max)
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags.
virtual Float_t GetMinPosition() const
TGNumberEntry * fNXpoints
virtual Double_t GetNumber() const
virtual Float_t GetMaxPosition() const
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.
virtual Int_t GetNpar() const
TGDoubleHSlider * fSliderX
TGNumberEntryField * fSldMaxX
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.