Reaction for creating selections on chart views.
More...
#include <pqChartSelectionReaction.h>
|
static void | startSelection (pqContextView *view, int selectionType, int selectionModifier) |
| start selection on the view where selectionType is one of vtkChart::SELECT_POLYGON, vtkChart::SELECT_RECTANGLE, etc., and selectionModifier is one of vtkContextScene::SELECTION_DEFAULT, vtkContextScene::SELECTION_ADDITION, etc. More...
|
|
Reaction for creating selections on chart views.
Definition at line 45 of file pqChartSelectionReaction.h.
§ pqChartSelectionReaction()
pqChartSelectionReaction::pqChartSelectionReaction |
( |
QAction * |
parent, |
|
|
pqContextView * |
view, |
|
|
QActionGroup * |
modifierGroup |
|
) |
| |
Constructor.
parent
is expected to have data() that indicates the selection type e.g. vtkChart::SELECT_RECTANGLE or vtkChart::SELECT_POLYGON. QActionGroup modifierGroup
is used to determine selection modifier. If there's a non-null checkedAction() in the group, we use that action's data() to determine the selection mode e.g. vtkContextScene::SELECTION_ADDITION, vtkContextScene::SELECTION_SUBTRACTION etc. If no QActionGroup is specified or no checked action is present, then the default mode of vtkContextScene::SELECTION_DEFAULT is used.
§ startSelection()
static void pqChartSelectionReaction::startSelection |
( |
pqContextView * |
view, |
|
|
int |
selectionType, |
|
|
int |
selectionModifier |
|
) |
| |
|
static |
start selection on the view where selectionType is one of vtkChart::SELECT_POLYGON, vtkChart::SELECT_RECTANGLE, etc., and selectionModifier is one of vtkContextScene::SELECTION_DEFAULT, vtkContextScene::SELECTION_ADDITION, etc.
§ triggered
virtual void pqChartSelectionReaction::triggered |
( |
bool |
| ) |
|
|
protectedvirtualslot |
Called when the action is triggered.
§ stopSelection
void pqChartSelectionReaction::stopSelection |
( |
| ) |
|
|
protectedslot |
stops selecting on the view
§ modifiersChanged
virtual void pqChartSelectionReaction::modifiersChanged |
( |
| ) |
|
|
protectedvirtualslot |
called when modifier group is changed.
§ getSelectionModifier
int pqChartSelectionReaction::getSelectionModifier |
( |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following file: