#include <DeleteAction.h>
Signals | |
| void | deleteSceneItem (QString, QString) |
Public Member Functions | |
| DeleteAction (GraphScene *scene, QObject *parent) | |
| void | executePress (QPointF pos) |
| void | executeKeyRelease (QKeyEvent *keyEvent) |
this class defines the delete button on the pallete.
Definition at line 27 of file DeleteAction.h.
| DeleteAction::DeleteAction | ( | GraphScene * | scene, | |
| QObject * | parent | |||
| ) |
default constructor scene the graph scene parent the mainwindow
Definition at line 32 of file DeleteAction.cpp.
| void DeleteAction::deleteSceneItem | ( | QString | , | |
| QString | ||||
| ) | [signal] |
| void DeleteAction::executeKeyRelease | ( | QKeyEvent * | keyEvent | ) | [virtual] |
when somebody press the delete key, the system will try to delete all selected nodes. keyEvent the key to be processed.
Reimplemented from AbstractAction.
Definition at line 57 of file DeleteAction.cpp.
| void DeleteAction::executePress | ( | QPointF | pos | ) | [virtual] |
start the node deletion algorithm on the specified point. pos the position of the click.
Reimplemented from AbstractAction.
Definition at line 40 of file DeleteAction.cpp.
1.6.3