Workspace 6.21.5
|
Creates graphics effects that differ depending on the provided difference information (for the three-way merge tool). More...
#include <Tools/WorkflowMerge/Application/mergegraphicseffectfactory.h>
Public Member Functions | |
MergeGraphicsEffectFactory (const DataExecution::ObjectArray &differenceArray1, const DataExecution::ObjectArray &differenceArray2, const DataExecution::ObjectArray &differenceArrayFinal) | |
MergeGraphicsEffectFactory (const DataExecution::ObjectArray &differenceArray1, const DataExecution::ObjectArray &differenceArray2, MergeRole mergeRole) | |
MergeGraphicsEffectFactory (const MergeGraphicsEffectFactory &)=delete | |
~MergeGraphicsEffectFactory () override | |
Presentation::WorkspaceGraphicsEffect * | createEffect (const Presentation::ConnectionAnchor &anchor, QObject *parent=nullptr) 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 |
MergeGraphicsEffectFactory & | operator= (const MergeGraphicsEffectFactory)=delete |
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 | setColours (const QColor &shared, const QColor &shadow, const QColor &query, const QColor &common, const QColor &modify, const QColor &base, const QColor &workflow1, const QColor &workflow2) |
Sets the colours to be used in annotating differences between workflows. | |
MergeGraphicsEffectFactory | ( | const DataExecution::ObjectArray & | differenceArray1, |
const DataExecution::ObjectArray & | differenceArray2, | ||
MergeRole | mergeRole | ||
) |
differenceArray1 | Array of differences between the base and modified workflow 1 |
differenceArray2 | Array of differences between the base and modified workflow 2 |
mergeRole | Which workflow merge role_ this effect is being applied to: 1 or 2, based or merged |
MergeGraphicsEffectFactory | ( | const DataExecution::ObjectArray & | differenceArray1, |
const DataExecution::ObjectArray & | differenceArray2, | ||
const DataExecution::ObjectArray & | differenceArrayFinal | ||
) |
differenceArray1 | Array of differences between the base and modified workflow 1 |
differenceArray2 | Array of differences between the base and modified workflow 2 |
differenceArrayFinal | Array of differences between the base and merged workflow |
|
delete |
|
overridedefault |
|
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.
|
delete |
|
static |
shared | Item present identically in workflows 1 and 2, but not the base |
shadow | Ghost element |
query | Item in unknown state |
common | Item common to all 3 input workflows |
modify | Item present in 1 or more input workflows, but changed in some way |
base | Item present in the base workflow, possibly identically in Workflow 1 or 2 (but not both) |
workflow1 | Item only present in Workflow1 |
workflow2 | Item only present in Workflow2 |