rocs/VisualEditor
#include <AddConnectionHandAction.h>
Public Slots | |
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 () |
Signals | |
void | addConnection (Data *from, Data *to) |
Public Member Functions | |
AddConnectionHandAction (GraphScene *scene, QObject *parent=0) | |
AddConnectionHandAction (GraphScene *scene, PointerTypePtr dataType, QObject *parent=0) | |
~AddConnectionHandAction () | |
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
The 'Add Connection' Action.
Definition at line 37 of file AddConnectionHandAction.h.
Constructor & Destructor Documentation
|
explicit |
Default constructor Creates add-edge action that adds data elements of default.
- See also
- PointerType 0.
- Parameters
-
scene is the graph scene at which pointers shall be added parent the Parent QOBject that will hold this action.
Definition at line 35 of file AddConnectionHandAction.cpp.
|
explicit |
Default constructor Creates add-node action that adds nodes of default.
- See also
- DataType 0.
- Parameters
-
scene is the graph scene at which pointers shall be added dataType the type of that new connections shall be created parent the parent QObject that will hold this action
Definition at line 50 of file AddConnectionHandAction.cpp.
AddConnectionHandAction::~AddConnectionHandAction | ( | ) |
Definition at line 65 of file AddConnectionHandAction.cpp.
Member Function Documentation
|
signal |
|
slot |
will be executed when the mouse moves.
- Parameters
-
pos the current position of the cursor.
Definition at line 90 of file AddConnectionHandAction.cpp.
|
slot |
will be executed when the mouse press a button.
- Parameters
-
pos the position onscreen of the click.
Definition at line 69 of file AddConnectionHandAction.cpp.
|
slot |
will be executed when the mouse releases a click
- Parameters
-
pos the position of the cursor.
Definition at line 106 of file AddConnectionHandAction.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.