#include <boxtool.h>

Public Member Functions | |
| BoxTool (PDFScene *scene) | |
| void | activate () |
| Activate this Tool: set it to the current one in the Scene, set an appropriate cursor, emit activated(), etc. | |
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *ev) |
| void | mousePressEvent (QGraphicsSceneMouseEvent *ev) |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *ev) |
| void | mouseLeftClickEvent (QGraphicsSceneMouseEvent *) |
Private Attributes | |
| Rectangle * | box |
Definition at line 11 of file boxtool.h.
| BoxTool::BoxTool | ( | PDFScene * | scene | ) |
Definition at line 5 of file boxtool.cpp.
| void BoxTool::activate | ( | ) | [virtual] |
Activate this Tool: set it to the current one in the Scene, set an appropriate cursor, emit activated(), etc.
Implements Tool.
Definition at line 11 of file boxtool.cpp.
References Tool::scene, and PDFScene::setTool().
Referenced by MainWindow::on_actionBox_toggled().


| void BoxTool::mouseLeftClickEvent | ( | QGraphicsSceneMouseEvent * | ) | [inline, virtual] |
| void BoxTool::mouseMoveEvent | ( | QGraphicsSceneMouseEvent * | ev | ) | [virtual] |
Implements Tool.
Definition at line 28 of file boxtool.cpp.
References box.
| void BoxTool::mousePressEvent | ( | QGraphicsSceneMouseEvent * | ev | ) | [virtual] |
| void BoxTool::mouseReleaseEvent | ( | QGraphicsSceneMouseEvent * | ev | ) | [virtual] |
Rectangle* BoxTool::box [private] |
Definition at line 19 of file boxtool.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
1.5.8