Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pqCopyReaction Class Reference

Reaction for copying sources/filters. More...

#include <pqCopyReaction.h>

Inheritance diagram for pqCopyReaction:
Inheritance graph
[legend]
Collaboration diagram for pqCopyReaction:
Collaboration graph
[legend]

Public Slots

void updateEnableState () override
 Updates the enabled state. More...
 

Public Member Functions

 pqCopyReaction (QAction *parent, bool paste_mode=false)
 
 ~pqCopyReaction () override
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
 ~pqReaction () override
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Static Public Member Functions

static void copy (vtkSMProxy *dest, vtkSMProxy *source)
 Copy all properties from source to dest. More...
 
static void copy ()
 
static void paste ()
 

Protected Member Functions

void onTriggered () override
 Called when the action is triggered. More...
 

Protected Attributes

bool Paste
 
- Protected Attributes inherited from pqReaction
bool IsMaster
 

Additional Inherited Members

- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Detailed Description

Reaction for copying sources/filters.

Definition at line 42 of file pqCopyReaction.h.

Constructor & Destructor Documentation

◆ pqCopyReaction()

pqCopyReaction::pqCopyReaction ( QAction *  parent,
bool  paste_mode = false 
)

◆ ~pqCopyReaction()

pqCopyReaction::~pqCopyReaction ( )
override

Member Function Documentation

◆ copy() [1/2]

static void pqCopyReaction::copy ( vtkSMProxy dest,
vtkSMProxy source 
)
static

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

◆ updateEnableState

void pqCopyReaction::updateEnableState ( )
overrideslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqCopyReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 71 of file pqCopyReaction.h.

Member Data Documentation

◆ Paste

bool pqCopyReaction::Paste
protected

Definition at line 82 of file pqCopyReaction.h.


The documentation for this class was generated from the following file: