|
| PortItem (const Process::Port &p, const Process::Context &ctx, QGraphicsItem *parent) |
|
const Process::Port & | port () const |
|
virtual void | setupMenu (QMenu &, const score::DocumentContext &ctx) |
|
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) |
|
|
static const QPixmap & | portImage (Process::PortType t, bool inlet, bool smol, bool light, bool addr) noexcept |
|
|
double | m_diam = 8. |
|
bool | m_visible {true} |
|
bool | m_inlet {true} |
|
bool | m_highlight {true} |
|
|
static PortItem * | clickedPort |
|
static constexpr const int | Type = QGraphicsItem::UserType + 700 |
|
|
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 |
|
|
class | Dataflow::CableItem |
|
The documentation for this class was generated from the following files: