Reaction to toggle scalar bar visibility. More...
#include <pqScalarBarVisibilityReaction.h>
Public Slots | |
void | setScalarBarVisibility (bool visible) |
set scalar bar visibility. More... | |
void | updateEnableState () override |
Updates the enabled state. More... | |
void | setRepresentation (pqDataRepresentation *, int selectedPropertiesType) |
Set the representation. More... | |
void | setRepresentation (pqDataRepresentation *repr) |
Set the representation. More... | |
void | setActiveRepresentation () |
Set the representation. 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 | |
pqDataRepresentation * | representation () const |
Returns the representation currently being used by the reaction. More... | |
std::vector< vtkSMProxy * > | scalarBarProxies () const |
Returns the scalar bar for the current representation, if any. More... | |
vtkSMProxy * | scalarBarProxy () 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 Member Functions | |
void | onTriggered () override |
Called when the action is triggered. More... | |
Additional Inherited Members | |
Protected Slots inherited from pqReaction | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Attributes inherited from pqReaction | |
bool | IsMaster |
Reaction to toggle scalar bar visibility.
Definition at line 24 of file pqScalarBarVisibilityReaction.h.
pqScalarBarVisibilityReaction::pqScalarBarVisibilityReaction | ( | QAction * | parent, |
bool | track_active_objects = true |
||
) |
if track_active_objects
is false, then the reaction will not track pqActiveObjects automatically.
|
override |
pqDataRepresentation* pqScalarBarVisibilityReaction::representation | ( | ) | const |
Returns the representation currently being used by the reaction.
std::vector<vtkSMProxy*> pqScalarBarVisibilityReaction::scalarBarProxies | ( | ) | const |
Returns the scalar bar for the current representation, if any.
|
inline |
Returns the scalar bar for the current representation, if any.
Definition at line 47 of file pqScalarBarVisibilityReaction.h.
|
slot |
Set the representation.
|
inlineslot |
Set the representation.
Definition at line 60 of file pqScalarBarVisibilityReaction.h.
|
slot |
Set the representation.
|
slot |
set scalar bar visibility.
|
overrideslot |
Updates the enabled state.
Applications need not explicitly call this.
|
inlineoverrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
Definition at line 81 of file pqScalarBarVisibilityReaction.h.