KeyEventTransition Class Reference

#include <transition.hh>

Inherits ost::gui::TransitionBase.


Public Member Functions

 KeyEventTransition (QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, State *target, bool swallow_event=true, TransitionGuard *guard=new TransitionGuard())
virtual std::pair< bool, bool > checkEvent (QKeyEvent *event)

Protected Attributes

QEvent::Type type_
int key_
Qt::KeyboardModifiers modifiers_
bool swallow_


Detailed Description

Definition at line 49 of file transition.hh.


Constructor & Destructor Documentation

KeyEventTransition ( QEvent::Type  type,
int  key,
Qt::KeyboardModifiers  modifiers,
State target,
bool  swallow_event = true,
TransitionGuard guard = new TransitionGuard() 
)


Member Function Documentation

virtual std::pair<bool,bool> checkEvent ( QKeyEvent *  event  )  [virtual]


Field Documentation

int key_ [protected]

Definition at line 56 of file transition.hh.

Qt::KeyboardModifiers modifiers_ [protected]

Definition at line 57 of file transition.hh.

bool swallow_ [protected]

Definition at line 58 of file transition.hh.

QEvent::Type type_ [protected]

Definition at line 55 of file transition.hh.


The documentation for this class was generated from the following file:

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8