pqObjectPickingBehavior is used to add support for picking "source" by clicking on it in a view.
More...
#include <pqObjectPickingBehavior.h>
Inherits QObject.
|
bool | eventFilter (QObject *caller, QEvent *e) override |
| event filter to capture the left-click. More...
|
|
pqObjectPickingBehavior is used to add support for picking "source" by clicking on it in a view.
This currently only supports render-view. But we can add support for other views as needed.
Definition at line 20 of file pqObjectPickingBehavior.h.
◆ pqObjectPickingBehavior()
pqObjectPickingBehavior::pqObjectPickingBehavior |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~pqObjectPickingBehavior()
pqObjectPickingBehavior::~pqObjectPickingBehavior |
( |
| ) |
|
|
override |
◆ eventFilter()
bool pqObjectPickingBehavior::eventFilter |
( |
QObject * |
caller, |
|
|
QEvent * |
e |
|
) |
| |
|
overrideprotected |
event filter to capture the left-click.
◆ onViewAdded
void pqObjectPickingBehavior::onViewAdded |
( |
pqView * |
| ) |
|
|
protectedslot |
Called when a new view is added.
We install event-filter to get click events.
The documentation for this class was generated from the following file: