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

GraphL.h

Go to the documentation of this file.
00001 //LabPlot : GraphL.h
00002 
00003 #ifndef GRAPHL_H
00004 #define GRAPHL_H
00005 
00006 #include <qpixmap.h>
00007 #include <qtextstream.h>
00008 #include <qprogressdialog.h>
00009 #include "Graph.h"
00010 #include "PointL.h"
00011 
00012 class GraphL: public Graph
00013 {
00014 public:
00015         GraphL(QString n="", QString l="", LRange r=0, LSource src=SFUNCTION, PType t=PSURFACE, Style *st=0, 
00016                 Symbol *sy=0, PointL *p=0, int nr=0, bool s=true);
00017         ~GraphL();
00018         GraphL *Clone();                // clone this graph
00019         LRange Range() { return range; }
00020         void setRange(LRange r) { range=r; }
00021         PointL *Data() { return ptr; }
00022         void setData(PointL *data) { ptr = data; }
00023         QStringList Info();
00024         void save(QTextStream *t, QProgressDialog *progress);
00025         void open(QTextStream *t, int version, QProgressDialog *progress);
00026         void saveXML(QDomDocument doc, QDomElement graphtag);
00027         void openXML(QDomNode node);
00028 private:
00029         PointL *ptr;
00030         LRange range;
00031 };
00032 
00033 #endif // GRAPHL_H

Generated on Sat Oct 13 21:55:01 2007 for LabPlot by  doxygen 1.4.4