Go to the documentation of this file.
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 QMap< pqProxy *, QMetaObject::Connection > SelectedProxyConnections
Containers storing all instances of pipeline paster / copier.
void onTriggered() override
Called when the action is triggered.
static QSet< pqCopyReaction * > CopyPipelineContainer
Containers storing all instances of pipeline paster / copier.
proxy for a VTK object(s) on a server
static QSet< QPointer< pqProxy > > FilterSelection
Used for copy/paste pipeline.
This class represents any registered Server Manager proxy.
virtual void updateEnableState()
static pqProxy * SelectionRoot
Used for copy/paste pipeline.
static QSet< pqCopyReaction * > PastePipelineContainer
Containers storing all instances of pipeline paster / copier.