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

Reaction to toggle the use of separated color map for an array in a representation. More...

#include <pqUseSeparateColorMapReaction.h>

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

Public Slots

void querySelectedUseSeparateColorMap ()
 Query the currently selected use separate color map from the property. More...
 
void setRepresentation (pqDataRepresentation *, int selectedPropertiesType)
 Set the active representation. More...
 
void setRepresentation (pqDataRepresentation *repr)
 Set the active representation. More...
 
void setActiveRepresentation ()
 Set the active representation. More...
 

Public Member Functions

 pqUseSeparateColorMapReaction (QAction *parent, pqDisplayColorWidget *colorWidget, bool track_active_objects=true)
 if track_active_objects is false, then the reaction will not track pqActiveObjects automatically. More...
 
 ~pqUseSeparateColorMapReaction () override
 
pqDataRepresentationrepresentation () const
 Returns the representation currently being used by the reaction. 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...
 
void onTriggered () override
 Called when the action is triggered. More...
 
- Protected Slots inherited from pqReaction
virtual void onTriggered ()
 Called when the action is triggered. More...
 
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Additional Inherited Members

- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction to toggle the use of separated color map for an array in a representation.

Definition at line 21 of file pqUseSeparateColorMapReaction.h.

Constructor & Destructor Documentation

◆ pqUseSeparateColorMapReaction()

pqUseSeparateColorMapReaction::pqUseSeparateColorMapReaction ( QAction *  parent,
pqDisplayColorWidget colorWidget,
bool  track_active_objects = true 
)

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

colorWidget is used to force a representation update

◆ ~pqUseSeparateColorMapReaction()

pqUseSeparateColorMapReaction::~pqUseSeparateColorMapReaction ( )
override

Member Function Documentation

◆ representation()

pqDataRepresentation* pqUseSeparateColorMapReaction::representation ( ) const

Returns the representation currently being used by the reaction.

◆ setRepresentation [1/2]

void pqUseSeparateColorMapReaction::setRepresentation ( pqDataRepresentation ,
int  selectedPropertiesType 
)
slot

Set the active representation.

◆ setRepresentation [2/2]

void pqUseSeparateColorMapReaction::setRepresentation ( pqDataRepresentation repr)
inlineslot

Set the active representation.

Definition at line 47 of file pqUseSeparateColorMapReaction.h.

◆ setActiveRepresentation

void pqUseSeparateColorMapReaction::setActiveRepresentation ( )
slot

Set the active representation.

◆ querySelectedUseSeparateColorMap

void pqUseSeparateColorMapReaction::querySelectedUseSeparateColorMap ( )
slot

Query the currently selected use separate color map from the property.

◆ updateEnableState

void pqUseSeparateColorMapReaction::updateEnableState ( )
overrideprotectedslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered

void pqUseSeparateColorMapReaction::onTriggered ( )
overrideprotectedslot

Called when the action is triggered.


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