OpendTect-6_4  6.4
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 attachToQObj (QObject *)
 
void attach (uiBaseObject *)
 
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 (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Private Types

enum  GestureStatus { Inactive, Active, Finished }
 

Private Member Functions

void qtEventCB (CallBacker *)
 

Private Attributes

uiEventFilter eventfilter_
 
int nractivegestures_
 
QDateTime & gestureendtime_
 
GestureStatus gesturestatus_
 
od_int64 delaytime_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Member Enumeration Documentation

Enumerator
Inactive 
Active 
Finished 

Constructor & Destructor Documentation

uiMouseEventBlockerByGestures::uiMouseEventBlockerByGestures ( int  delay_ms = -1)
uiMouseEventBlockerByGestures::~uiMouseEventBlockerByGestures ( )

Member Function Documentation

void uiMouseEventBlockerByGestures::attach ( uiBaseObject *  )
void uiMouseEventBlockerByGestures::attachToQObj ( QObject *  )
bool uiMouseEventBlockerByGestures::isGestureHappening ( )
void uiMouseEventBlockerByGestures::qtEventCB ( CallBacker )
private
bool uiMouseEventBlockerByGestures::updateFromEvent ( const QEvent *  )

Blocks events coming from other source.

Member Data Documentation

od_int64 uiMouseEventBlockerByGestures::delaytime_
private
uiEventFilter uiMouseEventBlockerByGestures::eventfilter_
private
QDateTime& uiMouseEventBlockerByGestures::gestureendtime_
private
GestureStatus uiMouseEventBlockerByGestures::gesturestatus_
private
int uiMouseEventBlockerByGestures::nractivegestures_
private

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