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 i) { return 0; } 00014 void saveAxes(QTextStream *t) {} 00015 void openAxes(QTextStream *t,int version) {} 00016 void enableGrid(int index,bool b) { } 00017 bool gridEnabled(int index) { return false; } 00018 void enableBorder(int index,bool b) { } 00019 bool borderEnabled(int index) { return false; } 00020 void draw(QPainter* p,int w, int h); 00021 /* void drawBorder(QPainter* p,bool hide);*/ 00022 void drawCurves(QPainter* p, int w, int h); 00023 /* void drawAxes(QPainter* p,bool hide);*/ 00024 void setBorder(int item, bool on) {} 00025 void setRanges(LRange* r) {range[0]=r[0];range[1]=r[1];range[2]=r[2];} 00026 void setActRanges(LRange* r) {actrange[0]=r[0];actrange[1]=r[1];actrange[2]=r[2];} 00027 private: 00028 //Axis axis[12]; // x, y, z, x2, y2, z2, x3, y3, z3, x4, y4, z4 00029 //bool borderenabled[12]; // x, y, z, x2, y2, z2, x3, y3, z3, x4, y4, z4 00030 //bool gridenabled[24]; 00031 // x, xmin, y, ymin, z, zmin, x2, x2min, y2, y2min , z2, z2min, 00032 // x3, x3min, y3, y3min, z3, z3min, x4, x4min, y4, y4min, z4, z4min 00033 }; 00034 00035 #endif // PLOTPIE_H