Window system touch event. More...
#include <Radiant/TouchEvent.hpp>
Public Types | |
|
typedef QList < QTouchEvent::TouchPoint > | TouchPointList |
| List of touchpoints. | |
| enum | Type { TOUCH_BEGIN, TOUCH_UPDATE, TOUCH_END } |
| Possible touch event types. More... | |
Public Member Functions | |
| TouchEvent () | |
| Constructor. Type of the event is set as TOUCH_BEGIN. | |
| TouchEvent (const TouchEvent &te) | |
| Copy constructor. More... | |
| TouchEvent (const QTouchEvent &qte) | |
| Construct TouchEvent from QTouchEvent. More... | |
| const TouchPointList & | touchPoints () const |
| Single event can contain multiple touch points attached to it. More... | |
| TouchPointList & | touchPoints () |
| Single event can contain multiple touch points attached to it. More... | |
| Type | type () const |
| Returns the event type. More... | |
| virtual | ~TouchEvent () |
| Destructor. | |
Window system touch event.
These are not Cornerstone touch events, but can be converted to such.
MultiWidgets::Application listens to these events and uses them.
| Radiant::TouchEvent::TouchEvent | ( | const TouchEvent & | te | ) |
Copy constructor.
| te | TouchEvent to copy |
| Radiant::TouchEvent::TouchEvent | ( | const QTouchEvent & | qte | ) |
Construct TouchEvent from QTouchEvent.
| qte | TouchEvent to duplicate |
| const TouchPointList& Radiant::TouchEvent::touchPoints | ( | ) | const |
Single event can contain multiple touch points attached to it.
| TouchPointList& Radiant::TouchEvent::touchPoints | ( | ) |
Single event can contain multiple touch points attached to it.
| Type Radiant::TouchEvent::type | ( | ) | const |
Returns the event type.