OpenStructure
|
#include <transition.hh>
Inherits 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) |
Public Member Functions inherited from TransitionBase | |
TransitionBase (State *target, TransitionGuard *guard=new TransitionGuard()) | |
Protected Attributes | |
int | key_ |
Qt::KeyboardModifiers | modifiers_ |
bool | swallow_ |
Protected Attributes inherited from TransitionBase | |
State * | target_ |
TransitionGuard * | guard_ |
Additional Inherited Members | |
Signals inherited from TransitionBase | |
void | triggered () |
Protected Member Functions inherited from TransitionBase | |
void | trigger_ () |
bool | is_active_ () |
Definition at line 68 of file transition.hh.
KeyEventTransition | ( | int | key, |
Qt::KeyboardModifiers | modifiers, | ||
State * | target, | ||
bool | swallow_event = true , |
||
TransitionGuard * | guard = new TransitionGuard() |
||
) |
|
virtual |
|
protected |
Definition at line 74 of file transition.hh.
|
protected |
Definition at line 75 of file transition.hh.
|
protected |
Definition at line 76 of file transition.hh.