Workspace 6.21.5
Namespaces | Functions | Variables
workspacesceneutils.h File Reference
#include <QGraphicsItem>
#include <QList>
#include <QUuid>
Include dependency graph for workspacesceneutils.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::DataExecution
 Base workspace functionality not requiring a user interface.
 
namespace  CSIRO::Presentation
 The graphical user interface layer for the workspace.
 
namespace  CSIRO::Presentation::Indicator
 
namespace  CSIRO::Presentation::Op
 
namespace  CSIRO::Presentation::PinButton
 
namespace  CSIRO::Presentation::Port
 
namespace  CSIRO::Presentation::ProgressBar
 
namespace  CSIRO::Presentation::Scaling
 
namespace  CSIRO::Presentation::Spacing
 
namespace  CSIRO::Presentation::Threshold
 

Functions

QList< MiniOperationView * > findMiniOperations (const QList< QGraphicsItem * > &items)
 
QList< OperationViewBase * > getConnectedOperationItems (MiniOperationRack &miniOpRack)
 
QList< QUuid > getMiniOperationViewOperationIds (const QList< MiniOperationView * > &viewBoxes)
 
QList< DataExecution::Operation * > getMiniOperationViewOperations (const QList< MiniOperationView * > &viewBoxes)
 
QList< MiniOperationRack * > getMiniOpRacks (const QList< OperationViewBase * > &operationItems)
 
QPointF getOperationPos (DataExecution::Operation &op)
 
QRectF getSceneBoundingBox (DataExecution::Operation &op)
 
bool isMiniOperation (const DataExecution::Operation &op)
 
bool miniOperationsShareRack (const QList< MiniOperationView * > &miniOps)
 
bool miniOperationTypesMatch (const QList< MiniOperationView * > &miniOps)
 
void setOperationPos (DataExecution::Operation &op, const QPointF &pos)
 

Variables

static constexpr double BETWEEN_OPERATION_INDICATORS = 3.0
 
static constexpr double BETWEEN_PORTS = 6.0
 
static constexpr double ELEMENT_HEIGHT = ELEMENT_WIDTH * 0.74
 
static constexpr double ELEMENT_WIDTH = 44.0
 
static constexpr double HEIGHT = 40.0
 
static constexpr double HEIGHT = 40.0
 
static constexpr double MINI_HEIGHT = MINI_WIDTH
 
static constexpr double MINI_HEIGHT = 9.0
 
static constexpr double MINI_OPERATION_COLLAPSED_DISTANCE = 10.0
 
static constexpr double MINI_PORT_RACK_MARGIN = 5.0
 
static constexpr double MINI_WIDTH = STANDARD_HEIGHT * 0.8
 
static constexpr double MINI_WIDTH = 90.0
 
static constexpr double MINI_WIDTH = MINI_HEIGHT
 
static constexpr double NESTED_WORKFLOW = 0.6
 
static constexpr double OPERATION = 0.5
 
static constexpr double PORT_AND_PORT_LABEL = 6.0
 
static constexpr double PORT_LABEL_OVERLAP = 0.05
 
static constexpr double RACK_AND_MINI_OPERATION = 6.0
 
static constexpr double RACK_AND_STANDARD_OPERATION = 14.0
 
static constexpr double STANDARD_HEIGHT = STANDARD_WIDTH * 0.74
 
static constexpr double STANDARD_HEIGHT = STANDARD_WIDTH * 0.766
 
static constexpr double STANDARD_WIDTH = 56.0
 
static constexpr double STANDARD_WIDTH = 200.0
 
static constexpr double WIDTH = HEIGHT
 
static constexpr double WIDTH = HEIGHT