Warning, file /include/root/TFunctionParametersDialog.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TFunctionParametersDialog
0013 #define ROOT_TFunctionParametersDialog
0014
0015
0016 #include "TGFrame.h"
0017
0018
0019 class TF1;
0020 class TGNumberEntry;
0021 class TGTextEntry;
0022 class TGCheckButton;
0023 class TGTextButton;
0024 class TGTripleHSlider;
0025 class TGNumberEntryField;
0026 class TVirtualPad;
0027
0028
0029 class TFunctionParametersDialog : public TGTransientFrame {
0030
0031 protected:
0032 TF1 *fFunc;
0033 TVirtualPad *fFpad;
0034 Int_t fNP;
0035 Double_t *fPmin;
0036 Double_t *fPmax;
0037 Double_t *fPval;
0038 Double_t *fPerr;
0039 Double_t fRangexmin;
0040 Double_t fRangexmax;
0041 Double_t fRXmin;
0042 Double_t fRXmax;
0043 TGCompositeFrame *fContNam;
0044 TGCompositeFrame *fContVal;
0045 TGCompositeFrame *fContFix;
0046 TGCompositeFrame *fContSld;
0047 TGCompositeFrame *fContMin;
0048 TGCompositeFrame *fContMax;
0049 TGTextEntry **fParNam;
0050 TGCheckButton **fParFix;
0051 TGNumberEntry **fParVal;
0052 TGNumberEntryField **fParMin;
0053 TGNumberEntryField **fParMax;
0054 TGTripleHSlider **fParSld;
0055 TGCheckButton *fUpdate;
0056 TGTextButton *fApply;
0057 TGTextButton *fReset;
0058 TGTextButton *fOK;
0059 TGTextButton *fCancel;
0060 Bool_t fHasChanges;
0061 Bool_t fImmediateDraw;
0062
0063 public:
0064 TFunctionParametersDialog(const TGWindow *p, const TGWindow *main,
0065 TF1 *func, TVirtualPad *pad,
0066 Double_t rmin, Double_t rmax);
0067 ~TFunctionParametersDialog() override;
0068
0069 void CloseWindow() override;
0070 virtual void DoApply();
0071 virtual void DoCancel();
0072 virtual void DoFix(Bool_t on);
0073 virtual void DoOK();
0074 virtual void DoParMaxLimit();
0075 virtual void DoParMinLimit();
0076 virtual void DoParValue();
0077 virtual void DoReset();
0078 virtual void DoSlider();
0079 virtual void HandleButtons(Bool_t update);
0080 virtual void RedrawFunction();
0081
0082 ClassDefOverride(TFunctionParametersDialog, 0)
0083 };
0084
0085 #endif