/usr/include/root/TPieEditor.h is in libroot-gui-ged-dev 5.34.19+dfsg-1.2.
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 71 72 73 74 75 76 77 78 79 80 | // @(#)root/ged:$Id$
// Author: Guido Volpi 04/10/2007
/*************************************************************************
* 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_TPieEditor
#define ROOT_TPieEditor
//////////////////////////////////////////////////////////////////////////
// //
// TPieEditor //
// //
// Editor for changing pie-chart attributes. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGedFrame
#include "TGedFrame.h"
#endif
class TPie;
class TGButtonGroup;
class TGTextEntry;
class TGCheckButton;
class TGRadioButton;
class TGNumberEntry;
class TGColorSelect;
class TGFontTypeComboBox;
class TGComboBox;
class TPieEditor : public TGedFrame {
protected:
char fDrawShape; // Shape of the Graph (simple, smooth, bar)
TGTextEntry *fTitle; // Contains the title of the graph
Int_t fTitlePrec; // font precision level
TPie *fPie; // Pie object
TGButtonGroup *fgr; // Group the Radiobuttons:
TGRadioButton *fLblDirH; // Draw slice's labels horizontal
TGRadioButton *fLblDirR; // Draw slice's labels radial to the piechart
TGRadioButton *fLblDirT; // Draw slice's labels tangential to the piechart's circle
TGLayoutHints *fShape1lh; // layout-hints for fShape1
TGCheckButton *fOutlineOnOff; // set piechart outline visible/unvisible
TGCheckButton *fIs3D; // set if is enabled the pseudo-3d mode
TGNumberEntry *f3DHeight; // set the 3D tickness
TGNumberEntry *f3DAngle; // set the pseudo 3D angle
TGColorSelect *fColorSelect; // font color selector
TGFontTypeComboBox *fTypeCombo; // font style
TGComboBox *fSizeCombo; // font size
virtual void ConnectSignals2Slots();
static TGComboBox* BuildFontSizeComboBox(TGFrame*, Int_t);
public:
TPieEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TPieEditor();
virtual void SetModel(TObject* );
virtual void ActivateBaseClassEditors(TClass*);
// slots related to graph attributes
virtual void DoShape();
virtual void DoMarkerOnOff(Bool_t on);
virtual void DoTitle(const char *text);
virtual void DoGraphLineWidth();
virtual void DoChange3DAngle();
virtual void DoTextChange();
ClassDef(TPieEditor,0) // piechart editor
};
#endif
|