/usr/include/root/TFunctionParametersDialog.h is in libroot-gui-ged-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | // @(#)root/ged:$Id$
// Author: Ilka Antcheva 08/05/06
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TFunctionParametersDialog
#define ROOT_TFunctionParametersDialog
//////////////////////////////////////////////////////////////////////////
// //
// TFunctionParametersDialog //
// //
// This class is used for function parameter settings. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
class TF1;
class TGNumberEntry;
class TGTextEntry;
class TGCheckButton;
class TGTextButton;
class TGTripleHSlider;
class TGNumberEntryField;
class TVirtualPad;
class TFunctionParametersDialog : public TGTransientFrame {
protected:
TF1 *fFunc; // function passed to this dialog
TVirtualPad *fFpad; // pad where the function is drawn
Int_t fNP; // number of function parameters
Double_t *fPmin; // min limits of patameters range
Double_t *fPmax; // max limits of patameters range
Double_t *fPval; // original patameters' values
Double_t *fPerr; // original patameters' errors
Double_t fRangexmin; // min limits of patameters range
Double_t fRangexmax; // max limits of patameters range
Double_t fRXmin; // original min range
Double_t fRXmax; // original max range
TGCompositeFrame *fContNam; // container of parameter names
TGCompositeFrame *fContVal; // container of parameter values
TGCompositeFrame *fContFix; // container of fix settings
TGCompositeFrame *fContSld; // container of sliders
TGCompositeFrame *fContMin; // container of min range values
TGCompositeFrame *fContMax; // container of max range values
TGTextEntry **fParNam; // parameter names
TGCheckButton **fParFix; // fix setting check buttons
TGNumberEntry **fParVal; // parameter values
TGNumberEntryField **fParMin; // min range values
TGNumberEntryField **fParMax; // max range values
TGTripleHSlider **fParSld; // triple sliders
TGCheckButton *fUpdate; // Immediate update check button
TGTextButton *fApply; // Apply button
TGTextButton *fReset; // Reset button
TGTextButton *fOK; // Cancel button
TGTextButton *fCancel; // Cancel button
Bool_t fHasChanges; // kTRUE if function was redrawn;
Bool_t fImmediateDraw; // kTRUE if function is updated on run-time
public:
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();
ClassDef(TFunctionParametersDialog, 0) // Function parameters dialog
};
#endif
|