ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
TPieSliceEditor.h
Go to the documentation of this file.
1
// Author: Guido Volpi 05/18/2008
2
3
/*************************************************************************
4
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
12
#ifndef ROOT_TPieSliceEditor
13
#define ROOT_TPieSliceEditor
14
#include "
TGedFrame.h
"
15
16
class
TPieSlice
;
17
class
TGTextEntry
;
18
class
TGNumberEntry
;
19
20
class
TPieSliceEditor
:
public
TGedFrame
{
21
22
private
:
23
TPieSlice
*
fPieSlice
;
24
25
protected
:
26
TGTextEntry
*
fTitle
;
///< Slice label
27
TGNumberEntry
*
fValue
;
///< Value of the slice
28
TGNumberEntry
*
fOffset
;
///< Grafical offset in the radial direction
29
30
void
ConnectSignals2Slots
();
31
32
public
:
33
TPieSliceEditor
(
const
TGWindow
*p = 0,
34
Int_t
width
= 140,
Int_t
height = 30,
35
UInt_t
options =
kChildFrame
,
36
Pixel_t
back =
GetDefaultFrameBackground
());
37
~TPieSliceEditor
();
38
39
void
SetModel
(
TObject
*);
40
41
void
DoTitle
(
const
char
*);
42
void
DoValue
();
43
void
DoOffset
();
44
45
ClassDef
(
TPieSliceEditor
,0)
// piechart' slice editor
46
};
47
48
#endif
// ROOT_TPieSliceEditor
49
kChildFrame
@ kChildFrame
Definition
GuiTypes.h:379
Pixel_t
ULong_t Pixel_t
Pixel value.
Definition
GuiTypes.h:40
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
width
include TDocParser_001 C image html pict1_TDocParser_001 png width
Definition
TDocParser.cxx:121
TGedFrame.h
TGFrame::GetDefaultFrameBackground
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition
TGFrame.cxx:683
TGNumberEntry
TGNumberEntry is a number entry input widget with up/down buttons.
Definition
TGNumberEntry.h:148
TGTextEntry
A TGTextEntry is a one line text input widget.
Definition
TGTextEntry.h:24
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TGedFrame
Base frame for implementing GUI - a service class.
Definition
TGedFrame.h:27
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
TPieSliceEditor
Editor for changing pie-chart's slice attributes.
Definition
TPieSliceEditor.h:20
TPieSliceEditor::ConnectSignals2Slots
void ConnectSignals2Slots()
Connect signals to slots.
Definition
TPieSliceEditor.cxx:99
TPieSliceEditor::SetModel
void SetModel(TObject *)
Set model.
Definition
TPieSliceEditor.cxx:82
TPieSliceEditor::DoTitle
void DoTitle(const char *)
Slot for setting the graph title.
Definition
TPieSliceEditor.cxx:112
TPieSliceEditor::fOffset
TGNumberEntry * fOffset
Grafical offset in the radial direction.
Definition
TPieSliceEditor.h:28
TPieSliceEditor::~TPieSliceEditor
~TPieSliceEditor()
TPieSliceEditor destructor.
Definition
TPieSliceEditor.cxx:74
TPieSliceEditor::fValue
TGNumberEntry * fValue
Value of the slice.
Definition
TPieSliceEditor.h:27
TPieSliceEditor::DoValue
void DoValue()
Slot for setting the graph title.
Definition
TPieSliceEditor.cxx:123
TPieSliceEditor::fPieSlice
TPieSlice * fPieSlice
Definition
TPieSliceEditor.h:23
TPieSliceEditor::fTitle
TGTextEntry * fTitle
Slice label.
Definition
TPieSliceEditor.h:26
TPieSliceEditor::DoOffset
void DoOffset()
Slot for setting the graph title.
Definition
TPieSliceEditor.cxx:135
TPieSlice
A slice of a piechart, see the TPie class.
Definition
TPieSlice.h:18
int
unsigned int
gui
ged
inc
TPieSliceEditor.h
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:27 (GVA Time) using Doxygen 1.9.8