rocs/VisualEditor
#include <SelectMoveHandAction.h>
Public Slots | |
bool | executeKeyPress (QKeyEvent *keyEvent) |
bool | executeKeyRelease (QKeyEvent *keyEvent) |
bool | executeMove (QPointF pos) |
bool | executePress (QPointF pos) |
bool | executeRelease (QPointF pos) |
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 | executePress (QPointF pos) |
virtual bool | executeRelease (QPointF pos) |
virtual bool | executeWheelEvent (QGraphicsSceneWheelEvent *wEvent) |
void | sendExecuteBit () |
Public Member Functions | |
SelectMoveHandAction (GraphScene *scene, QObject *parent=0) | |
~SelectMoveHandAction () | |
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
This action holds the 'Move Node' icon and tooltips, and when it's executed, it will move the selected node around the screen.
Definition at line 38 of file SelectMoveHandAction.h.
Constructor & Destructor Documentation
|
explicit |
Default constructor.
- Parameters
-
scene is the graphics scene that contains the data elements parent the parent QObject that holds this action
Definition at line 36 of file SelectMoveHandAction.cpp.
SelectMoveHandAction::~SelectMoveHandAction | ( | ) |
Default Destructor.
Definition at line 50 of file SelectMoveHandAction.cpp.
Member Function Documentation
|
slot |
Executed when a key is pressed.
- Parameters
-
keyEvent the key press event
Definition at line 131 of file SelectMoveHandAction.cpp.
|
slot |
Executed when a key is released.
- Parameters
-
keyEvent the key press event
Definition at line 188 of file SelectMoveHandAction.cpp.
|
slot |
Executed when the mouse is moved at the scene scene.
- Parameters
-
pos the current onscreen position of the mouse
Definition at line 92 of file SelectMoveHandAction.cpp.
|
slot |
Executed when the left mouse button is pressed at the scene.
- Parameters
-
pos the onscreen position of the click
Definition at line 54 of file SelectMoveHandAction.cpp.
|
slot |
Executed when the left mouse button is released.
- Parameters
-
pos the onscreen position of the mouse
Definition at line 109 of file SelectMoveHandAction.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.