#include </home/clem/local/src/opie/noncore/graphics/drawpad/shapetool.h>
Inheritance diagram for ShapeTool:


Public Member Functions | |
| ShapeTool (DrawPad *drawPad, DrawPadCanvas *drawPadCanvas) | |
| ~ShapeTool () | |
| void | mousePressEvent (QMouseEvent *e) |
| void | mouseReleaseEvent (QMouseEvent *e) |
| void | mouseMoveEvent (QMouseEvent *e) |
Protected Member Functions | |
| virtual void | drawFinalShape (QPainter &p)=0 |
| virtual void | drawTemporaryShape (QPainter &p)=0 |
Protected Attributes | |
| QPointArray | m_polyline |
Private Attributes | |
| bool | m_mousePressed |
|
||||||||||||
|
Definition at line 21 of file shapetool.cpp. References m_mousePressed, and m_polyline. |
|
|
Definition at line 28 of file shapetool.cpp. |
|
|
Implemented in EllipseTool, FilledEllipseTool, FilledRectangleTool, LineTool, and RectangleTool. Referenced by mouseReleaseEvent(). |
|
|
Implemented in EllipseTool, FilledEllipseTool, FilledRectangleTool, LineTool, and RectangleTool. Referenced by mouseMoveEvent(). |
|
|
Implements Tool. Definition at line 67 of file shapetool.cpp. References bitBlt(), DrawPadCanvas::currentPage(), drawTemporaryShape(), m_mousePressed, Tool::m_pDrawPad, Tool::m_pDrawPadCanvas, m_polyline, and DrawPad::pen(). |
|
|
Implements Tool. Definition at line 32 of file shapetool.cpp. References DrawPadCanvas::backupPage(), m_mousePressed, Tool::m_pDrawPadCanvas, and m_polyline. |
|
|
Implements Tool. Definition at line 40 of file shapetool.cpp. References bitBlt(), DrawPadCanvas::currentPage(), drawFinalShape(), m_mousePressed, Tool::m_pDrawPad, Tool::m_pDrawPadCanvas, m_polyline, and DrawPad::pen(). |
|
|
Definition at line 38 of file shapetool.h. Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and ShapeTool(). |
|
1.4.2