/usr/include/root/TF1Editor.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 | // @(#)root/ged:$Id$
// Author: Ilka Antcheva 21/03/06
/*************************************************************************
* Copyright (C) 1995-2004, 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_TF1Editor
#define ROOT_TF1Editor
//////////////////////////////////////////////////////////////////////////
// //
// TF1Editor //
// //
// GUI for TF1 attributes and parameters. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif
class TGNumberEntry;
class TGTextEntry;
class TGTextButton;
class TGDoubleHSlider;
class TGNumberEntryField;
class TGLabel;
class TGCheckButton;
class TF1;
class TF1Editor : public TGedFrame {
protected:
TF1 *fF1; // selected TF1 object
TGTextEntry *fTitle; // function title
Int_t fNP; // number of function parameters
TGLabel *fParLabel; // label for number of parameters
TGCheckButton *fDrawMode; // immediate function redraw (if selected)
TGTextButton *fSetPars; // open 'Set Parameters' dialog
TGNumberEntry *fNXpoints; // number of points along x-axis
TGDoubleHSlider *fSliderX; // slider to set x-axis range
TGNumberEntryField *fSldMinX; // contains minimum value of x-axis
TGNumberEntryField *fSldMaxX; // contains maximum value of x-axis
virtual void ConnectSignals2Slots(); //connect signals to slots
public:
TF1Editor(const TGWindow *p = 0, Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
virtual ~TF1Editor();
virtual void SetModel(TObject* obj);
virtual void ActivateBaseClassEditors(TClass* cl);
virtual void DoParameterSettings();
virtual void DoXPoints();
virtual void DoSliderXMoved();
virtual void DoSliderXPressed();
virtual void DoSliderXReleased();
virtual void DoXRange();
ClassDef(TF1Editor,0) // user interface for TF1 objects
};
#endif
|