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

PlotPie.h

Go to the documentation of this file.
00001 //LabPlot : PlotPie.h
00002 
00003 #ifndef PLOTPIE_H
00004 #define PLOTPIE_H
00005 
00006 #include "Plot.h"
00007 
00008 class PlotPie:public Plot {
00009 public:
00010         PlotPie(Worksheet *p);
00011         ~PlotPie() {}
00012         QStringList Info();
00013         Axis *getAxis(int) { return 0; }
00014         void saveAxes(QTextStream *) {}
00015         void openAxes(QTextStream *, int) {}
00016         void enableGrid(int, bool) {}
00017         bool gridEnabled(int) { return false; }
00018         void enableBorder(int, bool) {}
00019         bool borderEnabled(int) { return false; }
00020         void draw(QPainter* p,int w, int h);
00021         void drawCurves(QPainter* p, int w, int h);
00022 /*      void drawAxes(QPainter* p,bool hide);*/
00023         void setBorder(int, bool) { }
00024         void setRange(LRange* r,int i) {range[i]=*r; }
00025         void setActRange(LRange* r,int i) {actrange[i]=*r; }
00026         void setRanges(LRange* r) {range[0]=r[0];range[1]=r[1];range[2]=r[2];}
00027         void setActRanges(LRange* r) {actrange[0]=r[0];actrange[1]=r[1];actrange[2]=r[2];}
00028 private:
00029         //Axis axis[12];                // x, y, z, x2, y2, z2, x3, y3, z3, x4, y4, z4
00030         //bool borderenabled[12];       // x, y, z, x2, y2, z2, x3, y3, z3, x4, y4, z4
00031         //bool gridenabled[24];
00032         // x, xmin, y, ymin, z, zmin, x2, x2min, y2, y2min , z2, z2min,
00033         // x3, x3min, y3, y3min, z3, z3min, x4, x4min, y4, y4min, z4, z4min
00034 };
00035 
00036 #endif // PLOTPIE_H

Generated on Fri Aug 19 21:34:45 2005 for LabPlot by doxygen 1.3.6