Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
VSI::Connection Class Reference

`#include <Plugin-VSI/scene/connection.hh>`

Inheritance diagram for VSI::Connection:

## Public Member Functions
| Connection (ConnectionPoint *_start, QGraphicsScene *_scene)
| Constructor.
| Connection (ConnectionPoint *_start, ConnectionPoint *_end, QGraphicsScene *_scene)
| Constructor.
| ~Connection ()
| Destructor.
void | updatePositions ()
| called to update position on element movement
ElementInput * | input ()
| Input of this connection.
ElementOutput * | output ()
| Output of this connection.
const QPolygonF & | way () const
| way of the connection
void | invalidate ()
| invalidate way

## Protected Member Functions
void | mouseMoveEvent (QGraphicsSceneMouseEvent *_event)
void | mousePressEvent (QGraphicsSceneMouseEvent *_event)
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *_event)

## Private Member Functions
ConnectionPoint * | cPointAt (QPointF _pnt)
void | updateLine ()

## Private Attributes
QGraphicsItem * | elementArea_
GraphicsScene * | scene_
ConnectionPoint * | p1_
ConnectionPoint * | p2_
ConnectionPoint * | old_
QPolygonF | way_

## Friends
class | GraphicsScene

## Detailed Description

Represents a connection between input and output

Definition at line 72 of file connection.hh.

The documentation for this class was generated from the following files:

- Plugin-VSI/scene/connection.hh
- Plugin-VSI/scene/connection.cc