ROOT logo
// Author: Guido Volpi 05/18/2008

/*************************************************************************
 * 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.             *
 *************************************************************************/


//////////////////////////////////////////////////////////////////////////
//                                                                      //
//  TPieSliceEditor                                                     //
//                                                                      //
//  Editor for changing pie-chart's slice attributes.                   //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

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

class TPieSlice;
class TGTextEntry;
class TGNumberEntry;

class TPieSliceEditor : public TGedFrame {

private:
   TPieSlice *fPieSlice;
   
protected:
   TGTextEntry *fTitle;          // Slice label
   TGNumberEntry *fValue;        // Value of the slice
   TGNumberEntry *fOffset;    // Grafical offset in the radial direction
   
   void ConnectSignals2Slots();
   
public:
   TPieSliceEditor(const TGWindow *p = 0, 
                  Int_t width = 140, Int_t height = 30,
                  UInt_t options = kChildFrame,
                  Pixel_t back = GetDefaultFrameBackground());
   ~TPieSliceEditor();
   
   void SetModel(TObject *);
   
   void DoTitle(const char*);
   void DoValue();
   void DoOffset();
      
   ClassDef(TPieSliceEditor,0)        // piechart' slice editor
};

#endif // ROOT_TPieSliceEditor

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