dnai::views::Input Class Reference
#include <input.h>
Inheritance diagram for dnai::views::Input:

Collaboration diagram for dnai::views::Input:

Public Member Functions | |
| Input (QQuickItem *parent=nullptr) | |
| virtual void | refreshBackendIo () override |
| Refresh BackendIO for Input. More... | |
| virtual void | componentComplete () override |
| Override componentComplete, and init some values. More... | |
| virtual LinkableBezierItem * | findLinkableBezierItem (GenericNode *n, const QPointF &p) override |
| Override findIo, return the IO under the point p of the Node n. More... | |
| virtual void | updateLink () override |
| void | unlinkAll () override |
| void | asyncUnlinkAll () override |
Public Member Functions inherited from dnai::views::Io | |
| Io (QQuickItem *parent=nullptr) | |
| ~Io () | |
| virtual QSGNode * | updatePaintNode (QSGNode *, UpdatePaintNodeData *) override |
| return the current BaseIO More... | |
| virtual QPointF | getCanvasPos () const override |
| virtual GenericNode * | getNode () override |
| virtual qreal | scaleFactor () const override |
| Return the current scale factor. More... | |
| virtual QPointF | scalePos () const override |
| Return the position with scale aplyed. More... | |
| virtual QPointF | realPos () const override |
| Return the position without the scale applyed. More... | |
| uint | nbSegments () const |
| int | type () const |
| void | setNbSegments (uint n) |
| void | setType (int type) |
| bool | isLink () const |
| bool | isHover () const |
| virtual const QColor & | curveColor () const override |
Public Member Functions inherited from dnai::views::LinkableBezierItem | |
| LinkableBezierItem (QQuickItem *parent=nullptr) | |
| interfaces::ALinkable * | getLinkable () const |
| void | connect (LinkableBezierItem *a) |
| virtual void | setIsLink (bool isLink)=0 |
| virtual void | setIsHover (bool isHover)=0 |
Public Member Functions inherited from dnai::views::CustomShape | |
| CustomShape (QQuickItem *parent=nullptr) | |
| qreal | radius () const |
| qreal | borderWidth () const |
| const QColor & | fillColor () const |
| const QColor & | borderColor () const |
| void | setRadius (qreal radius) |
| virtual void | setBorderWidth (qreal w) |
| virtual void | setFillColor (const QColor &color) |
| virtual void | setBorderColor (const QColor &color) |
| void | resetRadius () |
| void | resetBorderWidth () |
| void | resetBorderColor () |
| void | resetFillColor () |
| void | resetPos () |
| void | resetShape () |
Protected Member Functions | |
| virtual void | afterRealease (Link *l) override |
Protected Member Functions inherited from dnai::views::LinkableBezierItem | |
| virtual void | mouseMoveEvent (QMouseEvent *event) override |
| Override mouseMoveEvent. More... | |
| virtual void | mousePressEvent (QMouseEvent *event) override |
| Override mousePressEvent. More... | |
| virtual void | mouseReleaseEvent (QMouseEvent *event) override |
| Override mouseReleaseEvent. More... | |
Additional Inherited Members | |
Public Slots inherited from dnai::views::Io | |
| virtual void | setIsLink (bool isLink) override |
| virtual void | setIsHover (bool isHover) override |
| void | setCurveColor (const QColor &curveColor) |
| void | redrawLinks (const QColor &color) |
Signals inherited from dnai::views::Io | |
| void | nbSegmentsChanged (uint n) |
| void | typeChanged (int type) |
| void | linked (const QVariant &name, const QVariant &instructionModel) |
| void | unlinked (const QVariant &name, const QVariant &instructionModel) |
| void | isLinkChanged (bool isLink) |
| void | isHoverChanged (bool isHover) |
| void | curveColorChanged (const QColor &curveColor) |
Signals inherited from dnai::views::CustomShape | |
| void | radiusChanged (qreal radius) |
| void | borderWidthChanged (qreal w) |
| void | fillColorChanged (const QColor &color) |
| void | borderColorChanged (const QColor &color) |
Static Public Attributes inherited from dnai::views::Io | |
| static BaseIo * | CurrentHover = nullptr |
Protected Types inherited from dnai::views::LinkableBezierItem | |
| enum | LinkStatus { Normal, Hover, Linked } |
Protected Attributes inherited from dnai::views::Io | |
| uint | m_nbSegments |
| enums::IoTypeRessouce::IoType | m_type |
| GenericNode * | m_genericNode {} |
| bool | m_holdClick {} |
Protected Attributes inherited from dnai::views::LinkableBezierItem | |
| BezierCurve * | m_currentCurve |
| CanvasNode * | m_canvas |
| interfaces::ALinkable * | m_linkable |
| LinkStatus | m_status |
Protected Attributes inherited from dnai::views::CustomShape | |
| qreal | m_radius |
| qreal | m_borderWidth |
| QColor | m_fillColor |
| QColor | m_borderColor |
| qreal | m_saveRadius |
| qreal | m_saveBorderWidth |
| QColor | m_saveFillColor |
| QColor | m_saveBorderColor |
| QPointF | m_savePos |
Properties inherited from dnai::views::Io | |
| uint | nbSegments |
| int | type |
| bool | isLink |
| bool | isHover |
| QColor | curveColor |
Properties inherited from dnai::views::CustomShape | |
| qreal | radius |
| qreal | borderWidth |
| QColor | fillColor |
| QColor | borderColor |
Constructor & Destructor Documentation
|
explicit |
Member Function Documentation
|
overrideprotectedvirtual |
Reimplemented from dnai::views::LinkableBezierItem.
|
overridevirtual |
Reimplemented from dnai::views::LinkableBezierItem.
|
overridevirtual |
Override componentComplete, and init some values.
Implements dnai::views::LinkableBezierItem.
|
overridevirtual |
Override findIo, return the IO under the point p of the Node n.
- Parameters
-
n p
- Returns
- Io *
Implements dnai::views::LinkableBezierItem.
|
overridevirtual |
Refresh BackendIO for Input.
Reimplemented from dnai::views::Io.
|
overridevirtual |
Reimplemented from dnai::views::LinkableBezierItem.
|
overridevirtual |
Implements dnai::views::LinkableBezierItem.
The documentation for this class was generated from the following files:

Public Member Functions inherited from
1.8.9