pqRenderViewSelectionReaction handles various selection modes available on RenderViews. More...
#include <pqRenderViewSelectionReaction.h>
Signals | |
void | selectedCustomBox (int xmin, int ymin, int xmax, int ymax) |
void | selectedCustomBox (const int region[4]) |
void | selectedCustomPolygon (vtkIntArray *polygon) |
Public Member Functions | |
pqRenderViewSelectionReaction (QAction *parentAction, pqRenderView *view, SelectionMode mode, QActionGroup *modifierGroup=NULL) | |
If view is NULL, this reaction will track the active-view maintained by pqActiveObjects. More... | |
~pqRenderViewSelectionReaction () override | |
Public Member Functions inherited from pqSelectionReaction | |
pqSelectionReaction (QAction *parent, QActionGroup *modifierGroup=NULL) | |
Constructor. 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... | |
Additional Inherited Members | |
Protected Slots inherited from pqSelectionReaction | |
virtual void | modifiersChanged () |
called when modifier group is changed. More... | |
Protected Slots inherited from pqReaction | |
virtual void | onTriggered () |
Called when the action is triggered. More... | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Member Functions inherited from pqSelectionReaction | |
virtual void | uncheckSelectionModifiers () |
Uncheck selection modifiers, if any. More... | |
virtual void | disableSelectionModifiers (bool disable) |
Disable/Enable selection modifiers, if any. More... | |
Protected Attributes inherited from pqSelectionReaction | |
QPointer< QActionGroup > | ModifierGroup |
Protected Attributes inherited from pqReaction | |
bool | IsMaster |
pqRenderViewSelectionReaction handles various selection modes available on RenderViews.
Simply create multiple instances of pqRenderViewSelectionReaction to handle selection modes for that RenderView. pqRenderViewSelectionReaction uses internal static members to ensure that at most 1 view (and 1 type of selection) is in selection-mode at any given time.
Definition at line 56 of file pqRenderViewSelectionReaction.h.
Definition at line 62 of file pqRenderViewSelectionReaction.h.
pqRenderViewSelectionReaction::pqRenderViewSelectionReaction | ( | QAction * | parentAction, |
pqRenderView * | view, | ||
SelectionMode | mode, | ||
QActionGroup * | modifierGroup = NULL |
||
) |
If view
is NULL, this reaction will track the active-view maintained by pqActiveObjects.
|
override |
|
signal |
|
signal |