KeyEventTransition Class Reference

#include <transition.hh>

Inherits ost::gui::TransitionBase.

Public Member Functions

 KeyEventTransition (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

int key_
Qt::KeyboardModifiers modifiers_
bool swallow_

Detailed Description

Definition at line 68 of file transition.hh.


Constructor & Destructor Documentation

KeyEventTransition ( 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 74 of file transition.hh.

Qt::KeyboardModifiers modifiers_ [protected]

Definition at line 75 of file transition.hh.

bool swallow_ [protected]

Definition at line 76 of file transition.hh.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1