Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqObjectPickingBehavior Class Reference

pqObjectPickingBehavior is used to add support for picking "source" by clicking on it in a view. More...

#include <pqObjectPickingBehavior.h>

Inherits QObject.

Public Member Functions

 pqObjectPickingBehavior (QObject *parent=nullptr)
 
 ~pqObjectPickingBehavior () override
 

Protected Slots

void onViewAdded (pqView *)
 Called when a new view is added. More...
 

Protected Member Functions

bool eventFilter (QObject *caller, QEvent *e) override
 event filter to capture the left-click. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ pqObjectPickingBehavior()

pqObjectPickingBehavior::pqObjectPickingBehavior ( QObject *  parent = nullptr)

◆ ~pqObjectPickingBehavior()

pqObjectPickingBehavior::~pqObjectPickingBehavior ( )
override

Member Function Documentation

◆ 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: