rocs/VisualEditor
#include <DeleteHandAction.h>
Public Slots | |
bool | executeKeyRelease (QKeyEvent *keyEvent) |
Public Slots inherited from AbstractAction | |
bool | eventFilter (QObject *watched, QEvent *event) |
virtual bool | executeDoubleClick (QPointF pos) |
virtual bool | executeKeyPress (QKeyEvent *keyEvent) |
virtual bool | executeKeyRelease (QKeyEvent *keyEvent) |
virtual bool | executeMove (QPointF pos) |
virtual bool | executeRelease (QPointF pos) |
virtual bool | executeWheelEvent (QGraphicsSceneWheelEvent *wEvent) |
void | sendExecuteBit () |
Public Member Functions | |
DeleteHandAction (GraphScene *scene, QObject *parent) | |
bool | executePress (QPointF pos) |
Public Member Functions inherited from AbstractAction | |
AbstractAction (GraphScene *scene, QObject *parent) | |
const QString & | name () const |
Additional Inherited Members | |
Protected Attributes inherited from AbstractAction | |
GraphScene * | _graphScene |
QString | _name |
Detailed Description
Activation this action enables the Delete Mode for the GraphScene.
Definition at line 32 of file DeleteHandAction.h.
Constructor & Destructor Documentation
DeleteHandAction::DeleteHandAction | ( | GraphScene * | scene, |
QObject * | parent | ||
) |
default constructor scene
the graph scene parent
the mainwindow
Definition at line 34 of file DeleteHandAction.cpp.
Member Function Documentation
|
slot |
when somebody press the delete key, the system will try to delete all selected nodes. keyEvent
the key to be processed.
Definition at line 64 of file DeleteHandAction.cpp.
|
virtual |
start the node deletion algorithm on the specified point. pos
the position of the click.
Reimplemented from AbstractAction.
Definition at line 44 of file DeleteHandAction.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.