Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TPaveStatsEditor.h
Go to the documentation of this file.
1 // @(#)root/ged:$Id$
2 // Author: Ilka Antcheva 21/06/04
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TPaveStatsEditor
13 #define ROOT_TPaveStatsEditor
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TPaveStatsEditor //
18 // //
19 // Implements GUI for editing attributes of TPaveStats objects. // //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #include "TGedFrame.h"
24 
25 class TGCheckButton;
26 class TPaveStats;
27 
28 class TPaveStatsEditor : public TGedFrame {
29 
30 protected:
31  TPaveStats *fPaveStats; // TPaveStats object
32  // widgets for stat options
33  TGCheckButton *fHistoName; // histo name check box
34  TGCheckButton *fEntries; // entries' number check box
35  TGCheckButton *fMean; // mean value check box
36  TGCheckButton *fRMS; // RMS check box
37  TGCheckButton *fUnderflow; // underflow number check box
38  TGCheckButton *fOverflow; // overflow number check box
39  TGCheckButton *fIntegral; // integral of bins check box
40  TGCheckButton *fSkewness; // skewness check box
41  TGCheckButton *fKurtosis; // kurtosis check box
42  TGCheckButton *fStatsErrors; // statistics error check box
43  // widgets for fit options
44  TGCheckButton *fNameValues; // parameters' name/values check box
45  TGCheckButton *fErrors; // error check box
46  TGCheckButton *fChisquare; // Chisquare check box
47  TGCheckButton *fProbability; // probability check box
48 
49  virtual void ConnectSignals2Slots();
50 
51 public:
52  TPaveStatsEditor(const TGWindow *p=0,
53  Int_t width = 140, Int_t height = 30,
54  UInt_t options = kChildFrame,
55  Pixel_t back = GetDefaultFrameBackground());
56  virtual ~TPaveStatsEditor();
57 
58  virtual void SetModel(TObject* obj);
59  virtual void DoStatOptions();
60  virtual void DoFitOptions();
61  virtual void SetValuesON(Bool_t on);
62 
63  ClassDef(TPaveStatsEditor,0) // GUI for editing TPaveStats
64 };
65 
66 #endif