Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Graph Class Reference

#include <Graph.h>

Inheritance diagram for Graph:

Graph2D Graph3D Graph4D GraphIMAGE GraphL GraphM List of all members.

Public Member Functions

 Graph (QString n="", QString label="", LSource src=SFUNCTION, PType t=P2D, Style *st=0, Symbol *sy=0, int nr=0, bool s=true)
virtual ~Graph ()
void openGraph (QTextStream *t, int version)
void saveGraph (QTextStream *t)
virtual void saveXML (QDomDocument doc, QDomElement graphtag)=0
QDomElement saveGraphXML (QDomDocument doc, int gtype)
virtual void openXML (QDomNode node)=0
void openGraphXML (QDomElement e)
QString Name ()
LabelgetLabel ()
void setLabel (Label *l)
LSource Source ()
void setSource (LSource s)
int ReadAs ()
void setReadAs (int r)
PType Type ()
StylegetStyle ()
void setStyle (Style *s)
SymbolgetSymbol ()
void setSymbol (Symbol *s)
int Number ()
void setNumber (int n)
bool isShown ()
void setShown (bool b)
AnnotateValues getAnnotateValues ()
void setAnnotateValues (AnnotateValues a)
QString FitFunction ()
void setFitFunction (QString f)
void drawStyle (QPainter *p, int x, int y)
 draw style and symbol on QPainter

Protected Attributes

QString name
int number
PType type
Labellabel
LSource source
int readas
Stylestyle
Symbolsymbol
bool shown
AnnotateValues av
QString fitfunction

Constructor & Destructor Documentation

Graph::Graph QString  n = "",
QString  label = "",
LSource  src = SFUNCTION,
PType  t = P2D,
Style st = 0,
Symbol sy = 0,
int  nr = 0,
bool  s = true
 

virtual Graph::~Graph  )  [inline, virtual]
 


Member Function Documentation

void Graph::drawStyle QPainter *  p,
int  x,
int  y
 

draw style and symbol on QPainter

QString Graph::FitFunction  )  [inline]
 

AnnotateValues Graph::getAnnotateValues  )  [inline]
 

Label* Graph::getLabel  )  [inline]
 

Style* Graph::getStyle  )  [inline]
 

Symbol* Graph::getSymbol  )  [inline]
 

bool Graph::isShown  )  [inline]
 

QString Graph::Name  )  [inline]
 

int Graph::Number  )  [inline]
 

void Graph::openGraph QTextStream *  t,
int  version
 

void Graph::openGraphXML QDomElement  e  ) 
 

virtual void Graph::openXML QDomNode  node  )  [pure virtual]
 

Implemented in Graph2D, Graph3D, Graph4D, GraphIMAGE, GraphL, and GraphM.

int Graph::ReadAs  )  [inline]
 

void Graph::saveGraph QTextStream *  t  ) 
 

QDomElement Graph::saveGraphXML QDomDocument  doc,
int  gtype
 

virtual void Graph::saveXML QDomDocument  doc,
QDomElement  graphtag
[pure virtual]
 

Implemented in Graph2D, Graph3D, Graph4D, GraphIMAGE, GraphL, and GraphM.

void Graph::setAnnotateValues AnnotateValues  a  )  [inline]
 

void Graph::setFitFunction QString  f  )  [inline]
 

void Graph::setLabel Label l  )  [inline]
 

void Graph::setNumber int  n  )  [inline]
 

void Graph::setReadAs int  r  )  [inline]
 

void Graph::setShown bool  b  )  [inline]
 

void Graph::setSource LSource  s  )  [inline]
 

void Graph::setStyle Style s  )  [inline]
 

void Graph::setSymbol Symbol s  )  [inline]
 

LSource Graph::Source  )  [inline]
 

PType Graph::Type  )  [inline]
 


Member Data Documentation

AnnotateValues Graph::av [protected]
 

QString Graph::fitfunction [protected]
 

Label* Graph::label [protected]
 

QString Graph::name [protected]
 

int Graph::number [protected]
 

int Graph::readas [protected]
 

bool Graph::shown [protected]
 

LSource Graph::source [protected]
 

Style* Graph::style [protected]
 

Symbol* Graph::symbol [protected]
 

PType Graph::type [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Oct 13 21:55:02 2007 for LabPlot by  doxygen 1.4.4