Inherits QGraphicsSceneEvent.
List of all members.
Public Member Functions |
| MCancelEvent () |
Static Public Member Functions |
static QEvent::Type | eventNumber () |
Protected Attributes |
MCancelEventPrivate *const | d_ptr |
Detailed Description
Class instantiated when the result of previously sent event should be cancelled. The cancel event can for example be sent when the user presses the touchscreen and starts to move his/her finger to pan the view. At the moment of first press event the mousePressEvent is sent to the widgets below pannable viewport, but it needs to be "cancelled" if the user wanted to pan the viewport.
Constructor & Destructor Documentation
MCancelEvent::MCancelEvent |
( |
|
) |
[explicit] |
Default constructor, no need for any parameters.
Member Function Documentation
QEvent::Type MCancelEvent::eventNumber |
( |
|
) |
[static] |
Member Data Documentation