Workspace scene item for connection anchors.
#include <Workspace/Presentation/connectionanchor.h>
Inherits QObject, and QGraphicsPathItem.
|
enum | { Type = WorkspaceScene::ConnectionAnchorT
} |
|
◆ anonymous enum
◆ ConnectionAnchor()
- Parameters
-
wsScene | The workspace scene this connection anchor will be in. |
id | The id to associate with this anchor. |
◆ ~ConnectionAnchor()
◆ add()
This only adds the connection to this anchor's internal data. It does not attempt to update anything else nor trigger any redrawing of its own.
◆ contextMenuEvent()
void contextMenuEvent |
( |
QGraphicsSceneContextMenuEvent * |
event | ) |
|
|
overrideprotected |
◆ getAngle()
◆ getId()
const QUuid & getId |
( |
| ) |
const |
◆ getWorkspaceScene()
◆ hoverEnterEvent()
void hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ itemChange()
QVariant itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotected |
◆ mouseDoubleClickEvent()
void mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ remove()
This only removes the connection from this anchor's internal data. It does not attempt to update anything else nor trigger any redrawing of its own.
◆ removeAnchor()
Causes the anchor to be deleted via an undoable command. It will ensure any connections using the anchor are updated via undoable commands first before the anchor is deleted.
◆ setAngle()
void setAngle |
( |
int |
angle | ) |
|
◆ setDefaultZValue()
void setDefaultZValue |
( |
| ) |
|
◆ type()
◆ wheelEvent()
void wheelEvent |
( |
QGraphicsSceneWheelEvent * |
event | ) |
|
|
overrideprotected |