Reaction for copying sources/filters.
More...
#include <pqCopyReaction.h>
Reaction for copying sources/filters.
Definition at line 21 of file pqCopyReaction.h.
◆ pqCopyReaction()
pqCopyReaction::pqCopyReaction |
( |
QAction * |
parent, |
|
|
bool |
paste_mode = false , |
|
|
bool |
pipeline_mode = false |
|
) |
| |
◆ ~pqCopyReaction()
pqCopyReaction::~pqCopyReaction |
( |
| ) |
|
|
override |
◆ copy() [1/2]
Copy all properties from source to dest.
Uses the property names as the key for matching properties.
◆ copy() [2/2]
static void pqCopyReaction::copy |
( |
| ) |
|
|
static |
◆ paste()
static void pqCopyReaction::paste |
( |
| ) |
|
|
static |
◆ copyPipeline()
static void pqCopyReaction::copyPipeline |
( |
| ) |
|
|
static |
◆ pastePipeline()
static void pqCopyReaction::pastePipeline |
( |
| ) |
|
|
static |
◆ getSelectedPipelineRoot()
static pqProxy* pqCopyReaction::getSelectedPipelineRoot |
( |
| ) |
|
|
static |
◆ canPastePipeline()
static bool pqCopyReaction::canPastePipeline |
( |
| ) |
|
|
static |
◆ updateEnableState
void pqCopyReaction::updateEnableState |
( |
| ) |
|
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
◆ pipelineCopied
void pqCopyReaction::pipelineCopied |
( |
| ) |
|
|
signal |
◆ onTriggered()
void pqCopyReaction::onTriggered |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ Paste
bool pqCopyReaction::Paste |
|
protected |
◆ CreatePipeline
bool pqCopyReaction::CreatePipeline |
|
protected |
◆ FilterSelection
QSet<QPointer<pqProxy> > pqCopyReaction::FilterSelection |
|
staticprotected |
Used for copy/paste pipeline.
pqApplicationCore::registerManager() requires a QObject, but we need to track potentially multiple pipeline sources. Also using QPointer, so that way if any pqPipelineSource in this selection is deleted between Copy Pipeline and Paste Pipeline, we will be able to easily determine this.
Definition at line 87 of file pqCopyReaction.h.
◆ SelectionRoot
pqProxy* pqCopyReaction::SelectionRoot |
|
staticprotected |
Used for copy/paste pipeline.
pqApplicationCore::registerManager() requires a QObject, but we need to track potentially multiple pipeline sources. Also using QPointer, so that way if any pqPipelineSource in this selection is deleted between Copy Pipeline and Paste Pipeline, we will be able to easily determine this.
Definition at line 88 of file pqCopyReaction.h.
◆ PastePipelineContainer
Containers storing all instances of pipeline paster / copier.
They enable to trigger updateEnableState
of pasters once a pipeline has been copied in the clipboard.
Definition at line 97 of file pqCopyReaction.h.
◆ CopyPipelineContainer
Containers storing all instances of pipeline paster / copier.
They enable to trigger updateEnableState
of pasters once a pipeline has been copied in the clipboard.
Definition at line 98 of file pqCopyReaction.h.
◆ SelectedProxyConnections
QMap<pqProxy*, QMetaObject::Connection> pqCopyReaction::SelectedProxyConnections |
|
staticprotected |
Containers storing all instances of pipeline paster / copier.
They enable to trigger updateEnableState
of pasters once a pipeline has been copied in the clipboard.
Definition at line 99 of file pqCopyReaction.h.
The documentation for this class was generated from the following file: