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

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

class Line : public QLine
{
public:
    Line();
    Line(const Line &other);

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

private:
    bool m_selected;
};

#endif // LINE_H