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