##// END OF EJS Templates
Removes PIMPL for now...
Removes PIMPL for now * removes wrongly implmented qchartprivate * removes wrongly implemented qchart * pimpl will be done before release

File last commit:

r30:ef99599d15b7
r53:c6b7296833b8
Show More
axis_p.h
29 lines | 584 B | text/x-c | CLexer
#ifndef AXIS_H_
#define AXIS_H_
#include <qchartglobal.h>
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class Axis: public QGraphicsItem
{
public:
Axis(QGraphicsItem* parent = 0);
virtual ~Axis();
//from QGraphicsItem
virtual QPainterPath shape() const;
virtual QRectF boundingRect() const;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void setLength(int length);
void setWidth(int width);
private:
QPainterPath m_path;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* AXIS_H_ */