#include <Workspace/Presentation/ConnectionRacks/minioperationrack.h>
Inherits QObject, and QGraphicsItem.
|
enum | { Type = WorkspaceScene::MiniOperationRackT
} |
|
◆ anonymous enum
◆ MiniOperationRack()
◆ ~MiniOperationRack()
◆ appendOperation()
◆ boundingRect()
QRectF boundingRect |
( |
| ) |
const |
|
override |
◆ containsOperation()
◆ createDropTargets()
Spawns a series of drop target boxes for this rack. When another operation is dropped into one or more target boxes, the target box with the most overlap is selected as an insertion point into the mini operation rack.
- See also
- removeDropTargets
◆ dragEnterEvent()
void dragEnterEvent |
( |
QGraphicsSceneDragDropEvent * |
event | ) |
|
|
overrideprotected |
◆ getBoundingBoxForOps()
QRectF getBoundingBoxForOps |
( |
bool |
collapsed | ) |
const |
◆ getCenterPos()
QPointF getCenterPos |
( |
| ) |
const |
◆ getCenterPosOnOperationMousePressed()
QPointF getCenterPosOnOperationMousePressed |
( |
| ) |
const |
◆ getId()
◆ getIndex()
◆ getLabelText()
QString getLabelText |
( |
| ) |
const |
◆ getMiniOperationViews()
◆ getSize()
◆ getTargetIndex()
◆ getType()
◆ getWorkspaceScene()
◆ hoverEnterEvent()
void hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ hoverLeaveEvent()
void hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotected |
◆ insertOperations()
◆ isCollapsed()
bool isCollapsed |
( |
| ) |
const |
◆ isPinned()
◆ isSingular()
bool isSingular |
( |
| ) |
const |
◆ itemChange()
QVariant itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotected |
◆ mouseMoveEvent()
void mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ paint()
void paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
override |
◆ removeDropTargets()
void removeDropTargets |
( |
| ) |
|
◆ removeOperation()
◆ repositionRackItems()
void repositionRackItems |
( |
| ) |
|
◆ resetHovering()
◆ setCenterPos()
void setCenterPos |
( |
const QPointF & |
pos, |
|
|
bool |
updateBoundingBox = true |
|
) |
| |
◆ setCollapsed()
void setCollapsed |
( |
bool |
collapse | ) |
|
◆ setLabelText()
void setLabelText |
( |
const QString & |
text | ) |
|
◆ setVisibilityForPortRacks()
void setVisibilityForPortRacks |
( |
bool |
show | ) |
|
◆ setZValue()
void setZValue |
( |
qreal |
z | ) |
|
◆ type()
◆ updateZOrder()
Updates the Z order of the the rack and operation's contained within.