OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
uiEventFilter Class Reference

is a class that is able to recieve events from Qt and trigger an OD-style notification/callback. More...

#include <uieventfilter.h>

Inheritance diagram for uiEventFilter:
[legend]

Public Member Functions

 uiEventFilter ()
 
 ~uiEventFilter ()
 
void addEventType (EventType)
 
void attach (uiBaseObject *)
 
void attachToQObj (QObject *)
 
void detach ()
 
bool getBlockEvent () const
 
QEvent * getCurrentEvent ()
 Only set when notifier is triggered.
 
const QEvent * getCurrentEvent () const
 Only set when notifier is triggered.
 
EventType getCurrentEventType () const
 Only set when notifier is triggered.
 
 mOD_DisableCopy (uiEventFilter) enum EventType
 
void removeEventType (EventType)
 
void setBlockEvent (bool yn)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object.
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use.
 
CallBackeroperator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Public Attributes

Notifier< uiEventFiltereventhappened
 

Protected Attributes

uiEventFilterImpl * impl_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

is a class that is able to recieve events from Qt and trigger an OD-style notification/callback.

<>

Constructor & Destructor Documentation

◆ uiEventFilter()

uiEventFilter::uiEventFilter ( )

◆ ~uiEventFilter()

uiEventFilter::~uiEventFilter ( )

Member Function Documentation

◆ addEventType()

void uiEventFilter::addEventType ( EventType )

◆ attach()

void uiEventFilter::attach ( uiBaseObject * )

◆ attachToQObj()

void uiEventFilter::attachToQObj ( QObject * )

◆ detach()

void uiEventFilter::detach ( )

◆ getBlockEvent()

bool uiEventFilter::getBlockEvent ( ) const

◆ getCurrentEvent() [1/2]

QEvent * uiEventFilter::getCurrentEvent ( )

Only set when notifier is triggered.

◆ getCurrentEvent() [2/2]

const QEvent * uiEventFilter::getCurrentEvent ( ) const

Only set when notifier is triggered.

◆ getCurrentEventType()

EventType uiEventFilter::getCurrentEventType ( ) const

Only set when notifier is triggered.

◆ mOD_DisableCopy()

uiEventFilter::mOD_DisableCopy ( uiEventFilter )
inline

◆ removeEventType()

void uiEventFilter::removeEventType ( EventType )

◆ setBlockEvent()

void uiEventFilter::setBlockEvent ( bool yn)

Member Data Documentation

◆ eventhappened

Notifier<uiEventFilter> uiEventFilter::eventhappened

◆ impl_

uiEventFilterImpl* uiEventFilter::impl_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025