OpendTect  7.0
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
uiMouseEventBlockerByGestures Class Reference
Inheritance diagram for uiMouseEventBlockerByGestures:
[legend]

Public Member Functions

 uiMouseEventBlockerByGestures (int delay_ms=-1)
 
 ~uiMouseEventBlockerByGestures ()
 
void attach (uiBaseObject *)
 
void attachToQObj (QObject *)
 
bool isGestureHappening ()
 
bool updateFromEvent (const QEvent *)
 Blocks events coming from other source. More...
 
- 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. More...
 
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. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Private Types

enum  GestureStatus { Inactive , Active , Finished }
 

Private Member Functions

void qtEventCB (CallBacker *)
 

Private Attributes

od_int64 delaytime_
 
uiEventFilter eventfilter_
 
QDateTime & gestureendtime_
 
GestureStatus gesturestatus_
 

Additional Inherited Members

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

Detailed Description

<>

Member Enumeration Documentation

◆ GestureStatus

Enumerator
Inactive 
Active 
Finished 

Constructor & Destructor Documentation

◆ uiMouseEventBlockerByGestures()

uiMouseEventBlockerByGestures::uiMouseEventBlockerByGestures ( int  delay_ms = -1)

◆ ~uiMouseEventBlockerByGestures()

uiMouseEventBlockerByGestures::~uiMouseEventBlockerByGestures ( )

Member Function Documentation

◆ attach()

void uiMouseEventBlockerByGestures::attach ( uiBaseObject )

◆ attachToQObj()

void uiMouseEventBlockerByGestures::attachToQObj ( QObject *  )

◆ isGestureHappening()

bool uiMouseEventBlockerByGestures::isGestureHappening ( )

◆ qtEventCB()

void uiMouseEventBlockerByGestures::qtEventCB ( CallBacker )
private

◆ updateFromEvent()

bool uiMouseEventBlockerByGestures::updateFromEvent ( const QEvent *  )

Blocks events coming from other source.

Member Data Documentation

◆ delaytime_

od_int64 uiMouseEventBlockerByGestures::delaytime_
private

◆ eventfilter_

uiEventFilter uiMouseEventBlockerByGestures::eventfilter_
private

◆ gestureendtime_

QDateTime& uiMouseEventBlockerByGestures::gestureendtime_
private

◆ gesturestatus_

GestureStatus uiMouseEventBlockerByGestures::gesturestatus_
private

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