Workspace 6.21.5
|
Creates graphics effects that differ depending on the provided difference information.
#include <Tools/WorkflowComparison/Application/diffgraphicseffectfactory.h>
Public Member Functions | |
DiffGraphicsEffectFactory (const DataExecution::ObjectArray &differenceArray, ComparisonRole role) | |
DiffGraphicsEffectFactory (const DiffGraphicsEffectFactory &)=delete | |
~DiffGraphicsEffectFactory () | |
Presentation::WorkspaceGraphicsEffect * | createEffect (const Presentation::ConnectionAnchor &anchor, QObject *parent) const override |
Presentation::WorkspaceGraphicsEffect * | createEffect (const Presentation::WorkspaceNoteItem ¬e, QObject *parent=nullptr) const override |
Presentation::WorkspaceGraphicsEffect * | createEffect (const QGraphicsTextItem &label, const DataExecution::IOBase &iobase, QObject *parent=nullptr) const override |
Presentation::WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Connection &connPort, QObject *parent=nullptr) const override |
Presentation::WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::IOBase &io, QObject *parent=nullptr) const override |
Presentation::WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Operation &opView, QObject *parent=nullptr) const override |
void | flagAnchorUpdated (const QString &anchorId, ComparisonRole desc) |
void | flagConnectionUpdated (const DataExecution::Connection &connPort, ComparisonRole desc) |
void | flagInputUpdated (const QString &opId, const QString &inputName, int index, ComparisonRole desc) |
void | flagNoteUpdated (const QString ¬eId, ComparisonRole desc) |
void | flagOperationUpdated (const QString &opId, ComparisonRole desc) |
void | flagOutputUpdated (const QString &opId, const QString &outputName, ComparisonRole desc) |
DiffGraphicsEffectFactory & | operator= (const DiffGraphicsEffectFactory)=delete |
void | setSuppressConnectionAnnotation (const QString &id, ComparisonRole desc, bool val) |
virtual WorkspaceGraphicsEffect * | createEffect (const ConnectionAnchor &anchor, QObject *parent=nullptr) const =0 |
virtual WorkspaceGraphicsEffect * | createEffect (const QGraphicsTextItem &label, const DataExecution::IOBase &ioBase, QObject *parent=nullptr) const =0 |
virtual WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Connection &conn, QObject *parent=nullptr) const =0 |
virtual WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::IOBase &ioBase, QObject *parent=nullptr) const =0 |
virtual WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Operation &op, QObject *parent=nullptr) const =0 |
virtual WorkspaceGraphicsEffect * | createEffect (const WorkspaceNoteItem &path, QObject *parent=nullptr) const =0 |
Static Public Member Functions | |
static void | setAnnotationHues (const QColor &inWorkflowA, const QColor &inWorkflowB, const QColor ¬InWorkflowA, const QColor ¬InWorkflowB, const QColor &inBothWorkflows, const QColor &inFlux) |
static void | setAnnotationHues (int inWorkflowA, int inWorkflowB, int notInWorkflowA, int notInWorkflowB, int inBothWorkflows, int inFlux) |
DiffGraphicsEffectFactory | ( | const DataExecution::ObjectArray & | differenceArray, |
ComparisonRole | role | ||
) |
differenceArray | Array of differences between operations |
role | Which workflow role this effect is being applied to, A or B. E.g. if we are A, we would expect operations that exist in A but not B would show up as green. |
|
delete |
|
default |
|
overridevirtual |
anchor | The anchor from which the PainterPath of the effect will be obtained |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
|
overridevirtual |
note | The note from which the painterpath of the effect will be obtained |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
|
overridevirtual |
label | The label from which the painterpath of the effect will be obtained |
iobase | The iobase we are creating the effect for. |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
|
overridevirtual |
path | The painterpath of the effect. |
conn | The connection we are creating the effect for. |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
|
overridevirtual |
path | The painterpath of the effect. |
io | The iobase we are creating the effect for. |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
|
overridevirtual |
path | The painterpath of the effect. |
op | The operation we are creating the effect for. |
parent | The (optional) parent of this effect which will take ownership of it. |
Implements WorkspaceGraphicsEffectFactory.
void flagAnchorUpdated | ( | const QString & | anchorId, |
ComparisonRole | desc | ||
) |
void flagConnectionUpdated | ( | const DataExecution::Connection & | connPort, |
ComparisonRole | desc | ||
) |
void flagInputUpdated | ( | const QString & | opId, |
const QString & | inputName, | ||
int | index, | ||
ComparisonRole | desc | ||
) |
void flagNoteUpdated | ( | const QString & | noteId, |
ComparisonRole | desc | ||
) |
void flagOperationUpdated | ( | const QString & | opId, |
ComparisonRole | desc | ||
) |
void flagOutputUpdated | ( | const QString & | opId, |
const QString & | outputName, | ||
ComparisonRole | desc | ||
) |
|
delete |
|
static |
|
static |
void setSuppressConnectionAnnotation | ( | const QString & | id, |
ComparisonRole | desc, | ||
bool | val | ||
) |