// @(#)root/ged:$Id$
// Author: Ilka  Antcheva 21/06/04

/*************************************************************************
 * Copyright (C) 1995-2002, 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_TPaveStatsEditor
#define ROOT_TPaveStatsEditor

//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TPaveStatsEditor                                                    //
//                                                                      //
//  Implements GUI for editing attributes of TPaveStats objects.        //                                             //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif

class TGCheckButton;
class TPaveStats;

class TPaveStatsEditor : public TGedFrame {

protected:
   TPaveStats         *fPaveStats;        // TPaveStats object
   // widgets for stat options
   TGCheckButton      *fHistoName;        // histo name check box
   TGCheckButton      *fEntries;          // entries' number check box
   TGCheckButton      *fMean;             // mean value check box
   TGCheckButton      *fRMS;              // RMS check box
   TGCheckButton      *fUnderflow;        // underflow number check box
   TGCheckButton      *fOverflow;         // overflow number check box
   TGCheckButton      *fIntegral;         // integral of bins check box
   TGCheckButton      *fSkewness;         // skewness check box
   TGCheckButton      *fKurtosis;         // kurtosis check box
   TGCheckButton      *fStatsErrors;      // statistics error check box
   // widgets for fit options
   TGCheckButton      *fNameValues;       // parameters' name/values check box
   TGCheckButton      *fErrors;           // error check box
   TGCheckButton      *fChisquare;        // Chisquare check box
   TGCheckButton      *fProbability;      // probability check box

   virtual void ConnectSignals2Slots();

public:
   TPaveStatsEditor(const TGWindow *p=0,
                    Int_t width = 140, Int_t height = 30,
                    UInt_t options = kChildFrame,
                    Pixel_t back = GetDefaultFrameBackground());
   virtual ~TPaveStatsEditor();

   virtual void   SetModel(TObject* obj);
   virtual void   DoStatOptions();
   virtual void   DoFitOptions();
   virtual void   SetValuesON(Bool_t on);

   ClassDef(TPaveStatsEditor,0)  // GUI for editing TPaveStats
};

#endif
 TPaveStatsEditor.h:1
 TPaveStatsEditor.h:2
 TPaveStatsEditor.h:3
 TPaveStatsEditor.h:4
 TPaveStatsEditor.h:5
 TPaveStatsEditor.h:6
 TPaveStatsEditor.h:7
 TPaveStatsEditor.h:8
 TPaveStatsEditor.h:9
 TPaveStatsEditor.h:10
 TPaveStatsEditor.h:11
 TPaveStatsEditor.h:12
 TPaveStatsEditor.h:13
 TPaveStatsEditor.h:14
 TPaveStatsEditor.h:15
 TPaveStatsEditor.h:16
 TPaveStatsEditor.h:17
 TPaveStatsEditor.h:18
 TPaveStatsEditor.h:19
 TPaveStatsEditor.h:20
 TPaveStatsEditor.h:21
 TPaveStatsEditor.h:22
 TPaveStatsEditor.h:23
 TPaveStatsEditor.h:24
 TPaveStatsEditor.h:25
 TPaveStatsEditor.h:26
 TPaveStatsEditor.h:27
 TPaveStatsEditor.h:28
 TPaveStatsEditor.h:29
 TPaveStatsEditor.h:30
 TPaveStatsEditor.h:31
 TPaveStatsEditor.h:32
 TPaveStatsEditor.h:33
 TPaveStatsEditor.h:34
 TPaveStatsEditor.h:35
 TPaveStatsEditor.h:36
 TPaveStatsEditor.h:37
 TPaveStatsEditor.h:38
 TPaveStatsEditor.h:39
 TPaveStatsEditor.h:40
 TPaveStatsEditor.h:41
 TPaveStatsEditor.h:42
 TPaveStatsEditor.h:43
 TPaveStatsEditor.h:44
 TPaveStatsEditor.h:45
 TPaveStatsEditor.h:46
 TPaveStatsEditor.h:47
 TPaveStatsEditor.h:48
 TPaveStatsEditor.h:49
 TPaveStatsEditor.h:50
 TPaveStatsEditor.h:51
 TPaveStatsEditor.h:52
 TPaveStatsEditor.h:53
 TPaveStatsEditor.h:54
 TPaveStatsEditor.h:55
 TPaveStatsEditor.h:56
 TPaveStatsEditor.h:57
 TPaveStatsEditor.h:58
 TPaveStatsEditor.h:59
 TPaveStatsEditor.h:60
 TPaveStatsEditor.h:61
 TPaveStatsEditor.h:62
 TPaveStatsEditor.h:63
 TPaveStatsEditor.h:64
 TPaveStatsEditor.h:65
 TPaveStatsEditor.h:66
 TPaveStatsEditor.h:67
 TPaveStatsEditor.h:68