Dataflow::AutomatablePortItem Class Reference
Inheritance diagram for Dataflow::AutomatablePortItem:
Public Member Functions | |
void | setupMenu (QMenu &, const score::DocumentContext &ctx) override |
void | on_createAutomation (const score::DocumentContext &m_context) |
virtual bool | on_createAutomation (const Scenario::IntervalModel &parent, std::function< void(score::Command *)> macro, const score::DocumentContext &m_context) |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | dropEvent (QGraphicsSceneDragDropEvent *event) override |
PortItem (const Process::Port &p, const Process::Context &ctx, QGraphicsItem *parent) | |
Public Member Functions inherited from Dataflow::PortItem | |
PortItem (const Process::Port &p, const Process::Context &ctx, QGraphicsItem *parent) | |
const Process::Port & | port () const |
void | setPortVisible (bool b) |
void | resetPortVisible () |
void | setHighlight (bool b) |
int | type () const final override |
void | createCable (PortItem *src, PortItem *snk) |
void | contextMenuRequested (QPointF scenepos, QPoint pos) |
Additional Inherited Members | |
Static Public Member Functions inherited from Dataflow::PortItem | |
static const QPixmap & | portImage (Process::PortType t, bool inlet, bool smol, bool light, bool addr) noexcept |
Public Attributes inherited from Dataflow::PortItem | |
double | m_diam = 8. |
bool | m_visible {true} |
bool | m_inlet {true} |
bool | m_highlight {true} |
Static Public Attributes inherited from Dataflow::PortItem | |
static PortItem * | clickedPort |
static constexpr const int | Type = QGraphicsItem::UserType + 700 |
Protected Member Functions inherited from Dataflow::PortItem | |
QRectF | boundingRect () const override |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) final override |
void | hoverMoveEvent (QGraphicsSceneHoverEvent *event) final override |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) final override |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) final override |
void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) final override |
void | dragLeaveEvent (QGraphicsSceneDragDropEvent *event) final override |
void | keyPressEvent (QKeyEvent *event) override |
void | keyReleaseEvent (QKeyEvent *event) override |
QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
Protected Attributes inherited from Dataflow::PortItem | |
const Process::Context & | m_context |
std::vector< QPointer< CableItem > > | cables |
const Process::Port & | m_port |
The documentation for this class was generated from the following files:
- score-plugin-dataflow/Dataflow/PortItem.hpp
- score-plugin-dataflow/Dataflow/PortItem.cpp