DeleteAction Class Reference

#include <DeleteAction.h>

Inheritance diagram for DeleteAction:
AbstractAction

List of all members.

Signals

void deleteSceneItem (QString, QString)

Public Member Functions

 DeleteAction (GraphScene *scene, QObject *parent)
void executePress (QPointF pos)
void executeKeyRelease (QKeyEvent *keyEvent)

Detailed Description

this class defines the delete button on the pallete.

Definition at line 27 of file DeleteAction.h.


Constructor & Destructor Documentation

DeleteAction::DeleteAction ( GraphScene scene,
QObject parent 
)

default constructor scene the graph scene parent the mainwindow

Definition at line 32 of file DeleteAction.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:41 2010 for Gluon by  doxygen 1.6.3