diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-31 22:55:45 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-31 22:55:45 +0200 |
| commit | 45813562e266cf8e58ea9cb04f655bbb542a555e (patch) | |
| tree | c8864c50a1bd84ec8f2e8e527e71c9825fabf92a /polygon.h | |
| parent | 16cdefa1a8546d23efc357010e62c7c031319e56 (diff) | |
| download | GUI_SS2015-45813562e266cf8e58ea9cb04f655bbb542a555e.tar.gz GUI_SS2015-45813562e266cf8e58ea9cb04f655bbb542a555e.zip | |
Make every line subclass editable
Diffstat (limited to 'polygon.h')
| -rw-r--r-- | polygon.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,8 +14,9 @@ public: public: virtual bool isHit(const QPoint &clickPoint); virtual void draw(QPainter *painter); + virtual void move(const QPoint &oldPoint, const QPoint &newPoint); -private: +protected: QPolygon m_polygon; }; |
