Public Slots |
Signals |
Public Member Functions |
Protected Member Functions |
Properties |
Private Attributes |
List of all members
dnai::views::Flow Class Reference
#include <flow.h>
Inheritance diagram for dnai::views::Flow:

Collaboration diagram for dnai::views::Flow:

Public Slots | |
| virtual void | setIsLink (bool isLink) override |
| virtual void | setIsHover (bool isHover) override |
| void | setCurveColor (const QColor &colorCurve) |
Signals | |
| void | typeFlowChanged (enums::FlowTypeRessouce::FlowType t) |
| void | linked (int outindex, const QVariant &instructionModel) |
| void | unlinked (int outindex, const QVariant &instructionModel) |
| void | isLinkChanged (bool isLink) |
| void | isHoverChanged (bool isHover) |
| void | curveColorChanged (const QColor &colorCurve) |
Signals inherited from dnai::views::CustomShape | |
| void | radiusChanged (qreal radius) |
| void | borderWidthChanged (qreal w) |
| void | fillColorChanged (const QColor &color) |
| void | borderColorChanged (const QColor &color) |
Public Member Functions | |
| Flow (QQuickItem *parent=nullptr) | |
| virtual QSGNode * | updatePaintNode (QSGNode *oldNode, UpdatePaintNodeData *) override |
| enums::FlowTypeRessouce::FlowType | typeFlow () const |
| void | setTypeFlow (enums::FlowTypeRessouce::FlowType t) |
| 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 |
| virtual GenericNode * | getNode () override |
| QPointF | getCanvasPos () const override |
| void | unlinkAll () override |
| void | asyncUnlinkAll () override |
| 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 | |
| void | mousePressEvent (QMouseEvent *event) override |
| Override mousePressEvent. More... | |
| 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 | mouseReleaseEvent (QMouseEvent *event) override |
| Override mouseReleaseEvent. More... | |
Properties | |
| dnai::enums::FlowTypeRessouce::FlowType | typeFlow |
| bool | isLink |
| bool | isHover |
| QColor | curveColor |
Properties inherited from dnai::views::CustomShape | |
| qreal | radius |
| qreal | borderWidth |
| QColor | fillColor |
| QColor | borderColor |
Private Attributes | |
| enums::FlowTypeRessouce::FlowType | m_typeFlow |
| GenericNode * | m_genericNode |
| bool | m_isLink |
| bool | m_isHover |
| QColor | m_colorCurve |
Additional Inherited Members | |
Protected Types inherited from dnai::views::LinkableBezierItem | |
| enum | LinkStatus { Normal, Hover, Linked } |
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 |
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 |
Implements dnai::views::LinkableBezierItem.
|
signal |
|
overridevirtual |
Override findIo, return the IO under the point p of the Node n.
- Parameters
-
n p
- Returns
- Io *
Implements dnai::views::LinkableBezierItem.
|
overridevirtual |
Implements dnai::views::LinkableBezierItem.
|
overridevirtual |
Implements dnai::views::LinkableBezierItem.
| bool dnai::views::Flow::isHover | ( | ) | const |
|
signal |
| bool dnai::views::Flow::isLink | ( | ) | const |
|
signal |
|
signal |
|
overrideprotectedvirtual |
|
slot |
|
overridevirtualslot |
|
overridevirtualslot |
| void dnai::views::Flow::setTypeFlow | ( | enums::FlowTypeRessouce::FlowType | t | ) |
|
inline |
|
signal |
|
overridevirtual |
Reimplemented from dnai::views::LinkableBezierItem.
|
signal |
|
overridevirtual |
Implements dnai::views::LinkableBezierItem.
|
overridevirtual |
Reimplemented from dnai::views::CustomShape.
Member Data Documentation
|
private |
|
private |
|
private |
|
private |
|
private |
Property Documentation
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
The documentation for this class was generated from the following files:
- Gui/app/include/dnai/views/flow.h
- Gui/app/GeneratedFiles/Debug/moc_flow.cpp
- Gui/app/src/dnai/views/flow.cpp

Signals inherited from
1.8.9