Version: 9.15.0
LightApp_EventFilter Class Reference

#include <LightApp_EventFilter.h>

Inheritance diagram for LightApp_EventFilter:
Inheritance graph

Static Public Member Functions

static void Init ()
 
static void Destroy ()
 

Protected Member Functions

 LightApp_EventFilter ()
 
virtual ~LightApp_EventFilter ()
 

Private Member Functions

virtual bool eventFilter (QObject *o, QEvent *e)
 
void processEvent (SALOME_Event *)
 

Static Private Attributes

static LightApp_EventFiltermyFilter = NULL
 

Detailed Description

Class provide event filter.

Constructor & Destructor Documentation

◆ LightApp_EventFilter()

LightApp_EventFilter::LightApp_EventFilter ( )
protected

Constructor.

◆ ~LightApp_EventFilter()

LightApp_EventFilter::~LightApp_EventFilter ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ Destroy()

void LightApp_EventFilter::Destroy ( )
static

Destroy filter.

References myFilter.

◆ eventFilter()

bool LightApp_EventFilter::eventFilter ( QObject o,
QEvent e 
)
privatevirtual

global event filter for qapplication

Custom event filter

References SUIT_Desktop::emitActivated(), processEvent(), and SALOME_EVENT.

◆ Init()

void LightApp_EventFilter::Init ( )
static

Create new instance of LightApp_EventFilter

References LightApp_EventFilter(), and myFilter.

◆ processEvent()

void LightApp_EventFilter::processEvent ( SALOME_Event theEvent)
private

Process event.

References SALOME_Event::ExecutePostedEvent().

Member Data Documentation

◆ myFilter

LightApp_EventFilter * LightApp_EventFilter::myFilter = NULL
staticprivate

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