Home |
The QtMouseEventTransition class provides a transition for mouse events. More...
#include <QtMouseEventTransition>
Inherits QtEventTransition.
The QtMouseEventTransition class provides a transition for mouse events.
QtMouseEventTransition is part of The State Machine Framework.
See also QtState::addTransition().
Constructs a new mouse event transition with the given sourceState.
Constructs a new mouse event transition for events of the given type for the given object, with the given button and sourceState.
Constructs a new mouse event transition for events of the given type for the given object, with the given button, targets and sourceState.
Destroys this mouse event transition.
Returns the button that this mouse event transition checks for.
See also setButton().
Returns the path for this mouse event transition.
See also setPath().
Sets the button that this mouse event transition will check for.
See also button().
Sets the path for this mouse event transition. If a valid path has been set, the transition will only trigger if the mouse event position (QMouseEvent::pos()) is inside the path.
See also path() and QPainterPath::contains().
Copyright © 2009 Nokia | Trademarks | Qt Solutions |