summaryrefslogtreecommitdiffstats
path: root/line.h
blob: 41b02adbb334d6ae180e6724f8585bfefb14b7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef LINE_H
#define LINE_H

#include <QLine>
#include <QPainter>
#include <QVector3D>

class Line : public QLine
{
public:
    Line();

    virtual bool isHit(const QPoint & clickPoint);
    void setSelected(bool selected);
    virtual void draw(QPainter * painter);

protected:
    bool m_selected;
};

#endif // LINE_H