FunctionalEventFilter Class Reference

#include <armarx/navigation/gui-plugins/LocationGraphEditor/FunctionalEventFilter.h>

+ Inheritance diagram for FunctionalEventFilter:

Public Types

using Function = std::function< bool(QObject *obj, QEvent *event)>
 

Public Member Functions

 FunctionalEventFilter (Function &&function)
 

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event) override
 

Protected Attributes

Function function
 

Detailed Description

Definition at line 12 of file FunctionalEventFilter.h.

Member Typedef Documentation

◆ Function

using Function = std::function<bool(QObject* obj, QEvent* event)>

Definition at line 15 of file FunctionalEventFilter.h.

Constructor & Destructor Documentation

◆ FunctionalEventFilter()

FunctionalEventFilter ( Function &&  function)

Definition at line 7 of file FunctionalEventFilter.cpp.

Member Function Documentation

◆ eventFilter()

bool eventFilter ( QObject *  obj,
QEvent *  event 
)
overrideprotected

Definition at line 13 of file FunctionalEventFilter.cpp.

Member Data Documentation

◆ function

Function function
protected

Definition at line 24 of file FunctionalEventFilter.h.


The documentation for this class was generated from the following files: