OSCAR-code/Graphs/gpiechart.h

20 lines
390 B
C
Raw Normal View History

2011-06-28 15:25:20 +00:00
#ifndef GPIECHART_H
#define GPIECHART_H
#include "graphlayer.h"
class gPieChart : public gLayer
{
public:
2011-07-27 09:21:53 +00:00
gPieChart(MachineCode code=MC_UNKNOWN,QColor col=Qt::black);
2011-06-28 15:25:20 +00:00
virtual ~gPieChart();
virtual void Plot(gGraphWindow & w,float scrx,float scry);
2011-07-27 09:21:53 +00:00
void AddName(QString name) { m_names.push_back(name); }
2011-06-28 15:25:20 +00:00
protected:
vector<QString> m_names;
};
#endif // GPIECHART_H