Standard implementation of the WorkspaceGraphicsEffectFactory for use with the regular Workspace-GUI.
#include <Workspace/Presentation/workspacegraphicseffectfactory.h>
|
WorkspaceGraphicsEffect * | createEffect (const ConnectionAnchor &anchor, QObject *parent=nullptr) const override |
|
WorkspaceGraphicsEffect * | createEffect (const QGraphicsTextItem &label, const DataExecution::IOBase &ioBase, QObject *parent=nullptr) const override |
|
WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Connection &conn, QObject *parent=nullptr) const override |
|
WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::IOBase &ioBase, QObject *parent=nullptr) const override |
|
WorkspaceGraphicsEffect * | createEffect (const QPainterPath &path, const DataExecution::Operation &op, QObject *parent=nullptr) const override |
|
WorkspaceGraphicsEffect * | createEffect (const WorkspaceNoteItem ¬e, QObject *parent=nullptr) const override |
|
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 |
|
◆ StandardWorkspaceGraphicsEffectFactory()
◆ createEffect() [1/6]
◆ createEffect() [2/6]
- Parameters
-
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. |
- Returns
- A new WorkspaceGraphicsEffect object with the specified path and parent.
Implements WorkspaceGraphicsEffectFactory.
◆ createEffect() [3/6]
- Parameters
-
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. |
- Returns
- A new WorkspaceGraphicsEffect object with the specified path and parent.
Implements WorkspaceGraphicsEffectFactory.
◆ createEffect() [4/6]
- Parameters
-
path | The painterpath of the effect. |
iobase | The iobase we are creating the effect for. |
parent | The (optional) parent of this effect which will take ownership of it. |
- Returns
- A new WorkspaceGraphicsEffect object with the specified path and parent.
Implements WorkspaceGraphicsEffectFactory.
◆ createEffect() [5/6]
- Parameters
-
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. |
- Returns
- A new WorkspaceGraphicsEffect object with the specified path and parent.
Implements WorkspaceGraphicsEffectFactory.
◆ createEffect() [6/6]
◆ getInstance()