Workspace scene item for connections.
More...
#include <Workspace/Presentation/connectionview.h>
Inherits QObject, and QGraphicsPathItem.
◆ anonymous enum
◆ FadedState
Enumerator |
---|
Default | |
Faded | |
Unfaded | |
◆ Side
Enumerator |
---|
Left | |
Top | |
Right | |
Bottom | |
UndefinedSide | |
◆ ConnectionView()
- Parameters
-
connection | The connection this view will be associated with. |
wsScene | The workspace scene this connection view will be in. |
◆ ~ConnectionView()
◆ contextMenuEvent()
void contextMenuEvent |
( |
QGraphicsSceneContextMenuEvent * |
event | ) |
|
|
overrideprotected |
◆ getConnection()
- Returns
- The connection this view is associated with.
◆ getConstConnection()
- Returns
- A const reference to the connection this view is associated with.
◆ getDestinationOpView()
◆ getDestinationSide()
◆ getPath()
const QPainterPath & getPath |
( |
| ) |
const |
◆ getSourceOpView()
◆ getSourceSide()
◆ hoverEnterEvent()
void hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ hoverLeaveEvent()
void hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ hoverMoveEvent()
void hoverMoveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ isConnectedToExpandedMiniOperationRack()
bool isConnectedToExpandedMiniOperationRack |
( |
| ) |
const |
◆ itemChange()
QVariant itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotected |
◆ mouseDoubleClickEvent()
void mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ populateCopiesSourceMenu()
QAction * populateCopiesSourceMenu |
( |
| ) |
|
◆ populateEnableMenu()
QAction * populateEnableMenu |
( |
| ) |
|
◆ populateRemoveMenu()
QAction * populateRemoveMenu |
( |
| ) |
|
◆ saveViewExtras()
void saveViewExtras |
( |
| ) |
const |
◆ selectionChanged
◆ setFadedState()
◆ setFadeLevel()
void setFadeLevel |
( |
double |
fadeLevel | ) |
|
◆ setHighlighted()
void setHighlighted |
( |
bool |
highlight, |
|
|
bool |
applyToAllConnectionsFromOutput |
|
) |
| |
- Parameters
-
highlight | Set to false to remove highlighting |
applyToAllConnectionsFromOutput | If true, all connections from the same output as this will also have highlighting applied/removed |
◆ setZValue()
void setZValue |
( |
qreal |
z | ) |
|
◆ type()
◆ updatePath
◆ usesAnchor()
◆ usesAnchorId()
bool usesAnchorId |
( |
const QUuid & |
id | ) |
const |
◆ wheelEvent()
void wheelEvent |
( |
QGraphicsSceneWheelEvent * |
event | ) |
|
|
overrideprotected |
◆ DEFAULT_FADE_LEVEL
constexpr const double DEFAULT_FADE_LEVEL = 0.8 |
|
staticconstexpr |