Generric reaction for creating selections on views.
More...
#include <pqSelectionReaction.h>
Generric reaction for creating selections on views.
Definition at line 16 of file pqSelectionReaction.h.
◆ pqSelectionReaction()
pqSelectionReaction::pqSelectionReaction |
( |
QAction * |
parent, |
|
|
QActionGroup * |
modifierGroup = nullptr |
|
) |
| |
Constructor.
modifierGroup
is used to determine selection modifier. If there's a non-nullptr checkedAction() in the group, we use that action's data() to determine the selection mode e.g. pqView::PVSELECTION_ADDITION, pqView::PVSELECTION_SUBTRACTION etc. If no QActionGroup is specified or no checked action is present, then the default mode of pqView::PVSELECTION_DEFAULT is used.
◆ modifiersChanged
virtual void pqSelectionReaction::modifiersChanged |
( |
| ) |
|
|
inlineprotectedvirtualslot |
◆ getSelectionModifier()
virtual int pqSelectionReaction::getSelectionModifier |
( |
| ) |
|
|
protectedvirtual |
◆ uncheckSelectionModifiers()
virtual void pqSelectionReaction::uncheckSelectionModifiers |
( |
| ) |
|
|
protectedvirtual |
Uncheck selection modifiers, if any.
◆ disableSelectionModifiers()
virtual void pqSelectionReaction::disableSelectionModifiers |
( |
bool |
disable | ) |
|
|
protectedvirtual |
Disable/Enable selection modifiers, if any.
◆ ModifierGroup
QPointer<QActionGroup> pqSelectionReaction::ModifierGroup |
|
protected |
The documentation for this class was generated from the following file: