151 fTitle->
Connect(
"TextChanged(const char *)",
"TPieEditor",
this,
"DoTitle(const char *)");
152 fgr->
Connect(
"Clicked(Int_t)",
"TPieEditor",
this,
"DoShape()");
154 f3DAngle->
Connect(
"ValueSet(Long_t)",
"TPieEditor",
this,
"DoChange3DAngle()");
155 f3DHeight->
Connect(
"ValueSet(Long_t)",
"TPieEditor",
this,
"DoChange3DAngle()");
156 fIs3D->
Connect(
"Clicked()",
"TPieEditor",
this,
"DoGraphLineWidth()");
201 if ( (idx=soption.
Index(
"same"))>=0 ) {
206 if ( (idx=soption.
Index(
"nol"))>=0 ) {
215 if ( (idx=soption.
Index(
"3d"))>=0 ) {
225 if ( (idx=soption.
Index(
"t"))>=0 ) {
231 if ( (idx=soption.
Index(
"r"))>=0 ) {
266 if (size > 50) size = 50;
267 if (size < 0) size = 0;
413 c->AddEntry(
"Default", 0);
414 for (
int i = 1; i <= 50; i++) {
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual Float_t GetTextSize() const
Return the text size.
virtual Font_t GetTextFont() const
Return the text font.
virtual Color_t GetTextColor() const
Return the text color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
The ROOT global object gROOT contains a list of all defined classes.
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual Int_t GetSelected() const
virtual TGLBEntry * GetSelectedEntry() const
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
TGCompositeFrame(const TGCompositeFrame &)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual UInt_t GetDefaultHeight() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetNumber(Double_t val)
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
virtual Double_t GetNumber() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line.
virtual TVirtualPad * GetPad() const
virtual TObject * GetModel() const
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
virtual Option_t * GetDrawOption() const
Get draw options of the selected object.
virtual void ActivateBaseClassEditors(TClass *cl)
Provide list of editors for base-classes.
virtual void SetDrawOption(Option_t *option="")
Set drawing option for object.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TGedEditor * GetGedEditor()
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual const char * GetTitle() const
Returns title of object.
Mother of all ROOT objects.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual const char * GetTitle() const
Returns title of object.
virtual void DoTextChange()
Change text.
virtual void ActivateBaseClassEditors(TClass *)
Exclude TAttTextEditor from this interface.
TGColorSelect * fColorSelect
virtual ~TPieEditor()
Destructor of pie editor.
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void DoChange3DAngle()
Slot for setting the 3D angle.
TGNumberEntry * f3DHeight
virtual void SetModel(TObject *)
Pick up the used values of graph attributes.
virtual void DoMarkerOnOff(Bool_t on)
Slot for setting markers as visible/invisible.
virtual void DoGraphLineWidth()
Slot connected to the graph line width.
TGLayoutHints * fShape1lh
static TGComboBox * BuildFontSizeComboBox(TGFrame *, Int_t)
Create text size combo box.
TPieEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor of graph editor.
TGCheckButton * fOutlineOnOff
TGFontTypeComboBox * fTypeCombo
virtual void DoShape()
Slot connected to the draw options.
virtual void DoTitle(const char *text)
Slot for setting the graph title.
void SetAngle3D(Float_t val=30.)
Set the value of for the pseudo 3D view angle, in degree.
void SetHeight(Double_t val=.08)
Set the height, in pixel, for the piechart if is drawn using the pseudo-3d mode.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Int_t Atoi() const
Return integer value of string.
Ssiz_t First(char c) const
Find first occurrence of a character c.
TString & Remove(Ssiz_t pos)
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual Int_t YtoPixel(Double_t y) const =0
virtual Double_t GetY1() const =0
virtual Double_t AbsPixeltoY(Int_t py)=0
virtual Double_t GetY2() const =0
static constexpr double s