diff options
Diffstat (limited to 'line.h')
| -rw-r--r-- | line.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,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 |
