#include <SALOME_EventFilter.h>
Static Public Member Functions | |
static void | Init () |
static void | Destroy () |
Protected Member Functions | |
SALOME_EventFilter () | |
virtual | ~SALOME_EventFilter () |
Private Member Functions | |
virtual bool | eventFilter (QObject *o, QEvent *e) |
void | processEvent (SALOME_Event *) |
Static Private Attributes | |
static SALOME_EventFilter * | myFilter = NULL |
Event filter class for QApplication object that handles custom events posted by SALOME_Event objects. It assumes that such custom events are alwys posted, not sent. This event filter can be installed by any application that intends to use SALOME_Event mechanism asynchronously. This class replaced SalomeApp_EventFilter.
|
protected |
Constructor.
|
protectedvirtual |
Destructor.
|
static |
Destroy filter.
References myFilter.
global event filter for qapplication
Custom event filter
References processEvent(), and SALOME_EVENT.
|
static |
Create new instance of SALOME_EventFilter
References myFilter, and SALOME_EventFilter().
|
private |
Process event.
References SALOME_Event::ExecutePostedEvent().
|
staticprivate |