OpendTect-6_4  6.4
Public Types | 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...

Inheritance diagram for uiEventFilter:
[legend]

Public Types

enum  EventType {
  None, ActionAdded, ActionChanged, ActionRemoved,
  ActivationChange, ApplicationActivate, ApplicationActivated, ApplicationFontChange,
  ApplicationLayoutDirectionChange, ApplicationPaletteChange, ApplicationStateChange, ApplicationWindowIconChange,
  ChildAdded, ChildPolished, ChildRemoved, Clipboard,
  Close, CloseSoftwareInputPanel, ContentsRectChange, ContextMenu,
  CursorChange, DeferredDelete, DragEnter, DragLeave,
  DragMove, Drop, DynamicPropertyChange, EnabledChange,
  Enter, EnterEditFocus, EnterWhatsThisMode, Expose,
  FileOpen, FocusIn, FocusOut, FocusAboutToChange,
  FontChange, Gesture, GestureOverride, GrabKeyboard,
  GrabMouse, GraphicsSceneContextMenu, GraphicsSceneDragEnter, GraphicsSceneDragLeave,
  GraphicsSceneDragMove, GraphicsSceneDrop, GraphicsSceneHelp, GraphicsSceneHoverEnter,
  GraphicsSceneHoverLeave, GraphicsSceneHoverMove, GraphicsSceneMouseDoubleClick, GraphicsSceneMouseMove,
  GraphicsSceneMousePress, GraphicsSceneMouseRelease, GraphicsSceneMove, GraphicsSceneResize,
  GraphicsSceneWheel, Hide, HideToParent, HoverEnter,
  HoverLeave, HoverMove, IconDrag, IconTextChange,
  InputMethod, InputMethodQuery, KeyboardLayoutChange, KeyPress,
  KeyRelease, LanguageChange, LayoutDirectionChange, LayoutRequest,
  Leave, LeaveEditFocus, LeaveWhatsThisMode, LocaleChange,
  NonClientAreaMouseButtonDblClick, NonClientAreaMouseButtonPress, NonClientAreaMouseButtonRelease, NonClientAreaMouseMove,
  MacSizeChange, MetaCall, ModifiedChange, MouseButtonDblClick,
  MouseButtonPress, MouseButtonRelease, MouseMove, MouseTrackingChange,
  Move, OrientationChange, Paint, PaletteChange,
  ParentAboutToChange, ParentChange, PlatformPanel, Polish,
  PolishRequest, QueryWhatsThis, RequestSoftwareInputPanel, Resize,
  ScrollPrepare, Scroll, Shortcut, ShortcutOverride,
  Show, ShowToParent, SockAct, StateMachineSignal,
  StateMachineWrapped, StatusTip, StyleChange, TabletMove,
  TabletPress, TabletRelease, OkRequest, TabletEnterProximity,
  TabletLeaveProximity, ThreadChange, Timer, ToolBarChange,
  ToolTip, ToolTipChange, TouchBegin, TouchCancel,
  TouchEnd, TouchUpdate, UngrabKeyboard, UngrabMouse,
  UpdateLater, UpdateRequest, WhatsThis, WhatsThisClicked,
  Wheel, WinEventAct, WindowActivate, WindowBlocked,
  WindowDeactivate, WindowIconChange, WindowStateChange, WindowTitleChange,
  WindowUnblocked, WinIdChange, ZOrderChange
}
 

Public Member Functions

 uiEventFilter ()
 
virtual ~uiEventFilter ()
 
void addEventType (EventType)
 
void removeEventType (EventType)
 
EventType getCurrentEventType () const
 Only set when notifier is triggered. More...
 
QEvent * getCurrentEvent ()
 Only set when notifier is triggered. More...
 
const QEvent * getCurrentEvent () const
 Only set when notifier is triggered. More...
 
void setBlockEvent (bool yn)
 
bool getBlockEvent () const
 
void attachToQObj (QObject *)
 
void attach (uiBaseObject *)
 
void detach ()
 
- 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...
 

Public Attributes

Notifier< uiEventFiltereventhappened
 

Protected Attributes

uiEventFilterImpl * impl_
 

Additional Inherited Members

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

Detailed Description

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

Member Enumeration Documentation

Enumerator
None 
ActionAdded 
ActionChanged 
ActionRemoved 
ActivationChange 
ApplicationActivate 
ApplicationActivated 
ApplicationFontChange 
ApplicationLayoutDirectionChange 
ApplicationPaletteChange 
ApplicationStateChange 
ApplicationWindowIconChange 
ChildAdded 
ChildPolished 
ChildRemoved 
Clipboard 
Close 
CloseSoftwareInputPanel 
ContentsRectChange 
ContextMenu 
CursorChange 
DeferredDelete 
DragEnter 
DragLeave 
DragMove 
Drop 
DynamicPropertyChange 
EnabledChange 
Enter 
EnterEditFocus 
EnterWhatsThisMode 
Expose 
FileOpen 
FocusIn 
FocusOut 
FocusAboutToChange 
FontChange 
Gesture 
GestureOverride 
GrabKeyboard 
GrabMouse 
GraphicsSceneContextMenu 
GraphicsSceneDragEnter 
GraphicsSceneDragLeave 
GraphicsSceneDragMove 
GraphicsSceneDrop 
GraphicsSceneHelp 
GraphicsSceneHoverEnter 
GraphicsSceneHoverLeave 
GraphicsSceneHoverMove 
GraphicsSceneMouseDoubleClick 
GraphicsSceneMouseMove 
GraphicsSceneMousePress 
GraphicsSceneMouseRelease 
GraphicsSceneMove 
GraphicsSceneResize 
GraphicsSceneWheel 
Hide 
HideToParent 
HoverEnter 
HoverLeave 
HoverMove 
IconDrag 
IconTextChange 
InputMethod 
InputMethodQuery 
KeyboardLayoutChange 
KeyPress 
KeyRelease 
LanguageChange 
LayoutDirectionChange 
LayoutRequest 
Leave 
LeaveEditFocus 
LeaveWhatsThisMode 
LocaleChange 
NonClientAreaMouseButtonDblClick 
NonClientAreaMouseButtonPress 
NonClientAreaMouseButtonRelease 
NonClientAreaMouseMove 
MacSizeChange 
MetaCall 
ModifiedChange 
MouseButtonDblClick 
MouseButtonPress 
MouseButtonRelease 
MouseMove 
MouseTrackingChange 
Move 
OrientationChange 
Paint 
PaletteChange 
ParentAboutToChange 
ParentChange 
PlatformPanel 
Polish 
PolishRequest 
QueryWhatsThis 
RequestSoftwareInputPanel 
Resize 
ScrollPrepare 
Scroll 
Shortcut 
ShortcutOverride 
Show 
ShowToParent 
SockAct 
StateMachineSignal 
StateMachineWrapped 
StatusTip 
StyleChange 
TabletMove 
TabletPress 
TabletRelease 
OkRequest 
TabletEnterProximity 
TabletLeaveProximity 
ThreadChange 
Timer 
ToolBarChange 
ToolTip 
ToolTipChange 
TouchBegin 
TouchCancel 
TouchEnd 
TouchUpdate 
UngrabKeyboard 
UngrabMouse 
UpdateLater 
UpdateRequest 
WhatsThis 
WhatsThisClicked 
Wheel 
WinEventAct 
WindowActivate 
WindowBlocked 
WindowDeactivate 
WindowIconChange 
WindowStateChange 
WindowTitleChange 
WindowUnblocked 
WinIdChange 
ZOrderChange 

Constructor & Destructor Documentation

uiEventFilter::uiEventFilter ( )
virtual uiEventFilter::~uiEventFilter ( )
virtual

Member Function Documentation

void uiEventFilter::addEventType ( EventType  )
void uiEventFilter::attach ( uiBaseObject *  )
void uiEventFilter::attachToQObj ( QObject *  )
void uiEventFilter::detach ( )
bool uiEventFilter::getBlockEvent ( ) const
QEvent* uiEventFilter::getCurrentEvent ( )

Only set when notifier is triggered.

const QEvent* uiEventFilter::getCurrentEvent ( ) const

Only set when notifier is triggered.

EventType uiEventFilter::getCurrentEventType ( ) const

Only set when notifier is triggered.

void uiEventFilter::removeEventType ( EventType  )
void uiEventFilter::setBlockEvent ( bool  yn)

Member Data Documentation

Notifier<uiEventFilter> uiEventFilter::eventhappened
uiEventFilterImpl* uiEventFilter::impl_
protected

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