|
Developer Documentation
|
#include <Plugin-VSI/scene/connectionPoint.hh>
Public Types | |
| enum | State { NoValue = 0, Optional = 1, RuntimeInput = 2, UserInput = 3, Connected = 4, OutputNotConnected = 5 } |
| State of the connection point. | |
Public Member Functions | |
| ConnectionPoint (ElementInOut *_e, QGraphicsItem *_parent) | |
| Constructor. | |
| ~ConnectionPoint () | |
| Destructor. | |
| ElementInOut * | inOut () const |
| Input/output element. | |
| QPointF | connectPos () |
| Position for connections. | |
| virtual void | setGeometry (const QRectF &_rect) |
| Sets the geometry. | |
| void | setState (State _state) |
| sets the state | |
| void | setWidth (int _width) |
| Sets the diameter. | |
| void | paint (QPainter *_painter, const QStyleOptionGraphicsItem *_option, QWidget *_widget=0) |
Private Attributes | |
| ElementInOut * | inout_ |
| int | width_ |
Widget that represents the point where connection can be connected to/from. It also displays the current status of its input/output in a different color
Definition at line 73 of file connectionPoint.hh.