MouseEventTransition Class Reference

#include <transition.hh>

Inherits ost::gui::TransitionBase.

Public Member Functions

 MouseEventTransition (QEvent::Type type, Qt::MouseButton button, Qt::KeyboardModifiers modifiers, State *target, bool swallow_event=true, TransitionGuard *guard=new TransitionGuard())
virtual std::pair< bool, bool > checkEvent (QMouseEvent *event)

Protected Attributes

QEvent::Type type_
Qt::MouseButton button_
Qt::KeyboardModifiers modifiers_
bool swallow_

Detailed Description

Definition at line 79 of file transition.hh.


Constructor & Destructor Documentation

MouseEventTransition ( QEvent::Type  type,
Qt::MouseButton  button,
Qt::KeyboardModifiers  modifiers,
State target,
bool  swallow_event = true,
TransitionGuard guard = new TransitionGuard() 
)

Member Function Documentation

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

Field Documentation

Qt::MouseButton button_ [protected]

Definition at line 86 of file transition.hh.

Qt::KeyboardModifiers modifiers_ [protected]

Definition at line 87 of file transition.hh.

bool swallow_ [protected]

Definition at line 88 of file transition.hh.

QEvent::Type type_ [protected]

Definition at line 85 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 6 Dec 2017 for OpenStructure by  doxygen 1.6.1