Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqScalarBarVisibilityReaction Class Reference

Reaction to toggle scalar bar visibility. More...

#include <pqScalarBarVisibilityReaction.h>

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

Public Slots

void setRepresentation (pqDataRepresentation *)
 Set the active representation. More...
 
void setScalarBarVisibility (bool visible)
 set scalar bar visibility. More...
 

Public Member Functions

 pqScalarBarVisibilityReaction (QAction *parent, bool track_active_objects=true)
 if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More...
 
 ~pqScalarBarVisibilityReaction () override
 
pqDataRepresentationrepresentation () const
 Returns the representation currently being used by the reaction. More...
 
vtkSMProxyscalarBarProxy () const
 Returns the scalar bar for the current representation, if any. More...
 
- 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...
 

Protected Slots

void updateEnableState () override
 Updates the enabled state. More...
 
- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction to toggle scalar bar visibility.

Definition at line 18 of file pqScalarBarVisibilityReaction.h.

Constructor & Destructor Documentation

◆ pqScalarBarVisibilityReaction()

pqScalarBarVisibilityReaction::pqScalarBarVisibilityReaction ( QAction *  parent,
bool  track_active_objects = true 
)

if track_active_objects is false, then the reaction will not track pqActiveObjects automatically.

◆ ~pqScalarBarVisibilityReaction()

pqScalarBarVisibilityReaction::~pqScalarBarVisibilityReaction ( )
override

Member Function Documentation

◆ representation()

pqDataRepresentation* pqScalarBarVisibilityReaction::representation ( ) const

Returns the representation currently being used by the reaction.

◆ scalarBarProxy()

vtkSMProxy* pqScalarBarVisibilityReaction::scalarBarProxy ( ) const

Returns the scalar bar for the current representation, if any.

◆ setRepresentation

void pqScalarBarVisibilityReaction::setRepresentation ( pqDataRepresentation )
slot

Set the active representation.

◆ setScalarBarVisibility

void pqScalarBarVisibilityReaction::setScalarBarVisibility ( bool  visible)
slot

set scalar bar visibility.

◆ updateEnableState

void pqScalarBarVisibilityReaction::updateEnableState ( )
overrideprotectedslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered()

void pqScalarBarVisibilityReaction::onTriggered ( )
inlineoverrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 62 of file pqScalarBarVisibilityReaction.h.


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