vst::ControlPortItem Struct Referencefinal
Inheritance diagram for vst::ControlPortItem:
Dataflow::AutomatablePortItem Dataflow::PortItem

Public Member Functions

void setupMenu (QMenu &menu, const score::DocumentContext &ctx) override
 
bool on_createAutomation (const Scenario::IntervalModel &cst, std::function< void(score::Command *)> macro, const score::DocumentContext &ctx) override
 
- Public Member Functions inherited from Dataflow::AutomatablePortItem
void on_createAutomation (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::Portport () 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 PortItemclickedPort
 
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::Contextm_context
 
std::vector< QPointer< CableItem > > cables
 
const Process::Portm_port
 

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