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

Reaction to allow editing of scalar bar properties using a pqProxyWidgetDialog. More...

#include <pqEditScalarBarReaction.h>

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

Public Slots

void setRepresentation (pqDataRepresentation *)
 Set the active representation. More...
 
bool editScalarBar ()
 Show the editor dialog for editing scalar bar properties. More...
 

Public Member Functions

 pqEditScalarBarReaction (QAction *parent=nullptr, bool track_active_objects=true)
 
 ~pqEditScalarBarReaction () 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...
 

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 allow editing of scalar bar properties using a pqProxyWidgetDialog.

Reaction allows editing of scalar bar properties using a pqProxyWidgetDialog. Internally, it uses pqScalarBarVisibilityReaction to track the visibility state for the scalar to enable/disable the parent action.

Definition at line 23 of file pqEditScalarBarReaction.h.

Constructor & Destructor Documentation

◆ pqEditScalarBarReaction()

pqEditScalarBarReaction::pqEditScalarBarReaction ( QAction *  parent = nullptr,
bool  track_active_objects = true 
)

◆ ~pqEditScalarBarReaction()

pqEditScalarBarReaction::~pqEditScalarBarReaction ( )
override

Member Function Documentation

◆ setRepresentation

void pqEditScalarBarReaction::setRepresentation ( pqDataRepresentation )
slot

Set the active representation.

This should only be used when track_active_objects is false. If used when track_active_objects is true, the representation will get replaced whenever the active representation changes.

◆ editScalarBar

bool pqEditScalarBarReaction::editScalarBar ( )
slot

Show the editor dialog for editing scalar bar properties.

◆ updateEnableState

void pqEditScalarBarReaction::updateEnableState ( )
overrideprotectedslot

Updates the enabled state.

Applications need not explicitly call this.

◆ onTriggered

void pqEditScalarBarReaction::onTriggered ( )
overrideprotectedslot

Called when the action is triggered.


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