4 #ifndef pqCopyReaction_h 5 #define pqCopyReaction_h 27 pqCopyReaction(QAction* parent,
bool paste_mode =
false,
bool pipeline_mode =
false);
38 static void copyPipeline();
39 static void pastePipeline();
40 static pqProxy* getSelectedPipelineRoot();
41 static bool canPastePipeline();
50 void pipelineCopied();
58 if (this->Paste && !this->CreatePipeline)
62 else if (this->Paste && this->CreatePipeline)
64 this->pastePipeline();
66 else if (!this->Paste && !this->CreatePipeline)
73 Q_EMIT this->pipelineCopied();
static pqProxy * SelectionRoot
Used for copy/paste pipeline.
static QSet< pqCopyReaction * > CopyPipelineContainer
Containers storing all instances of pipeline paster / copier.
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
void onTriggered() override
Called when the action is triggered.
static QMap< pqProxy *, QMetaObject::Connection > SelectedProxyConnections
Containers storing all instances of pipeline paster / copier.
This is a superclass just to make it easier to collect all such reactions.
static QSet< pqCopyReaction * > PastePipelineContainer
Containers storing all instances of pipeline paster / copier.
static QSet< QPointer< pqProxy > > FilterSelection
Used for copy/paste pipeline.
This class represents any registered Server Manager proxy.
proxy for a VTK object(s) on a server
Reaction for copying sources/filters.