• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/VisualEditor

Public Slots | Signals | Public Member Functions | List of all members
AddConnectionHandAction Class Reference

#include <AddConnectionHandAction.h>

Inheritance diagram for AddConnectionHandAction:
Inheritance graph
[legend]

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

AddConnectionHandAction::AddConnectionHandAction ( GraphScene *  scene,
QObject *  parent = 0 
)
explicit

Default constructor Creates add-edge action that adds data elements of default.

See also
PointerType 0.
Parameters
sceneis the graph scene at which pointers shall be added
parentthe Parent QOBject that will hold this action.

Definition at line 35 of file AddConnectionHandAction.cpp.

AddConnectionHandAction::AddConnectionHandAction ( GraphScene *  scene,
PointerTypePtr  dataType,
QObject *  parent = 0 
)
explicit

Default constructor Creates add-node action that adds nodes of default.

See also
DataType 0.
Parameters
sceneis the graph scene at which pointers shall be added
dataTypethe type of that new connections shall be created
parentthe 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

void AddConnectionHandAction::addConnection ( Data *  from,
Data *  to 
)
signal
bool AddConnectionHandAction::executeMove ( QPointF  pos)
slot

will be executed when the mouse moves.

Parameters
posthe current position of the cursor.

Definition at line 90 of file AddConnectionHandAction.cpp.

bool AddConnectionHandAction::executePress ( QPointF  pos)
slot

will be executed when the mouse press a button.

Parameters
posthe position onscreen of the click.

Definition at line 69 of file AddConnectionHandAction.cpp.

bool AddConnectionHandAction::executeRelease ( QPointF  pos)
slot

will be executed when the mouse releases a click

Parameters
posthe position of the cursor.

Definition at line 106 of file AddConnectionHandAction.cpp.


The documentation for this class was generated from the following files:
  • AddConnectionHandAction.h
  • AddConnectionHandAction.cpp
This file is part of the KDE documentation.
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.

rocs/VisualEditor

Skip menu "rocs/VisualEditor"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal