##// END OF EJS Templates
Piechart drafting
Piechart drafting

File last commit:

r1:e2b454419c47
r9:de2fd29c3347
Show More
chart.h
24 lines | 334 B | text/x-c | CLexer
#ifndef CHART_H
#define CHART_H
#include <QColor>
#include <QPainter>
#include <QRect>
class QPainter;
class Chart
{
public:
Chart();
virtual ~Chart();
QColor color() const;
void setColor(const QColor &color);
void drawChart(QPainter *painter, const QRectF& drawRect);
private:
QColor m_color;
};
#endif