Logo ROOT  
Reference Guide
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
25class TGCheckButton;
26class TPaveStats;
27
29
30protected:
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
51public:
52 TPaveStatsEditor(const TGWindow *p=0,
53 Int_t width = 140, Int_t height = 30,
54 UInt_t options = kChildFrame,
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
ULong_t Pixel_t
Definition: GuiTypes.h:39
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:326
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition: TDocParser.cxx:121
@ kChildFrame
Definition: TGFrame.h:57
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
Mother of all ROOT objects.
Definition: TObject.h:37
TGCheckButton * fUnderflow
virtual void DoStatOptions()
Slot connected to the stat options.
TGCheckButton * fRMS
TGCheckButton * fNameValues
virtual void DoFitOptions()
Slot connected to the fit options.
virtual void SetValuesON(Bool_t on)
Slot connected to the selection of the button 'Errors': check button Values should be selected if Err...
TGCheckButton * fErrors
TPaveStats * fPaveStats
TGCheckButton * fStatsErrors
TGCheckButton * fIntegral
virtual ~TPaveStatsEditor()
Destructor of fill editor.
TGCheckButton * fChisquare
TGCheckButton * fOverflow
TPaveStatsEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of TPaveStats GUI.
TGCheckButton * fMean
TGCheckButton * fEntries
TGCheckButton * fProbability
TGCheckButton * fSkewness
virtual void SetModel(TObject *obj)
Set GUI widgets according to the used TPaveStats attributes.
virtual void ConnectSignals2Slots()
Connect signals to slots.
TGCheckButton * fKurtosis
TGCheckButton * fHistoName
The histogram statistics painter class.
Definition: TPaveStats.h:18