##// END OF EJS Templates
Adds rubberband for zooming...
Adds rubberband for zooming * adds qchartview class * implements mouse events for handling rubberband

File last commit:

r30:ef99599d15b7
r58:1c099f3b0fd1
Show More
axis_p.h
29 lines | 584 B | text/x-c | CLexer
Michal Klocek
adds missing files form previous commit
r12 #ifndef AXIS_H_
#define AXIS_H_
Tero Ahola
Renamed to QtCommercialChart
r30 #include <qchartglobal.h>
Michal Klocek
adds missing files form previous commit
r12 #include <QGraphicsItem>
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
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;
};
Tero Ahola
Renamed to QtCommercialChart
r30 QTCOMMERCIALCHART_END_NAMESPACE
Michal Klocek
adds missing files form previous commit
r12
#endif /* AXIS_H_ */