library: libGed
#include "TGraphEditor.h"

TGraphEditor


class description - source file - inheritance tree (.pdf)

class TGraphEditor : public TGedFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
TGWidget
<-
TGedFrame
<-
TGraphEditor

    protected:
virtual void ConnectSignals2Slots() public:
TGraphEditor(const TGWindow* p, Int_t id, Int_t width = 140, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground()) TGraphEditor(const TGraphEditor&) virtual ~TGraphEditor() static TClass* Class() virtual void DoMarkerOnOff(Bool_t on) virtual void DoShape(Int_t s) virtual void DoTitle(const char* text) virtual TClass* IsA() const virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
char fDrawShape Shape of the Graph (simple, smooth, bar) TGTextEntry* fTitle Contains the title of the graph Int_t fTitlePrec font precision level TGraph* fGraph Graph object TGButtonGroup* fgr Group the Radiobuttons: TGRadioButton* fShape just draw unconnected points TGRadioButton* fShape0 set smooth graph curve TGRadioButton* fShape1 set simple poly-line between every graph point TGRadioButton* fShape2 set graph draw mode to bar chart TGRadioButton* fShape3 set graph draw mode to fill area TGCheckButton* fMarkerOnOff set Marker visible/unvisible

Class Description

                                                                      
  TGraphEditor                                                        
                                                                      
  Implements GUI for graph attributes.                                
                                                                      
  Title': set the title of the graph                                  
  Change the Shape of the graph:                                      
     'No Line'     = " ": just draw unconnected points                
     'Simple Line' = "L":simple poly line between every point is drawn
     'Smooth Line' = "C":smooth curve is drawn                        
     'Bar Chart'   = "B": A bar chart is drawn at each point          
     'Fill Area'   = "F": A fill area is drawn                        
  Check box: 'Marker On/Off' Set Marker visible/invisible             
                                                                      

/* */

TGraphEditor(const TGWindow *p, Int_t id, Int_t width, Int_t height, UInt_t options, Pixel_t back) : TGedFrame(p, id, width, height, options | kVerticalFrame, back)
 Constructor of graph attribute GUI.

~TGraphEditor()
 Destructor of graph editor.

void ConnectSignals2Slots()
 Connect signals to slots.

void SetModel(TVirtualPad* pad, TObject* obj, Int_t)
 Pick up the used values of graph attributes.

void DoTitle(const char *text)
 Slot connected to the title textentry
 sets the Title of the graph

void DoShape(Int_t s)
 Slot connected to the draw options.

void DoMarkerOnOff(Bool_t on)
 Slot connected to MarkerOnOff CheckBox:
 Set marker visible/invisible.



Inline Functions


             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TGraphEditor TGraphEditor(const TGraphEditor&)


Author: Carsten Hof 16/08/04
Last update: root/ged:$Name: $:$Id: TGraphEditor.cxx,
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.