This class describes a (Wacom) tablet event. More...
#include <Radiant/TabletEvent.hpp>
Public Member Functions | |
| const Nimble::Vector2f & | location () const |
| Get location of the event. More... | |
| void | setLocation (Nimble::Vector2f location) |
| Sets event's location. More... | |
| TabletEvent () | |
| Default constructor, members are initilized by default values. | |
| TabletEvent (QTabletEvent &event) | |
| Initializes event based on corresponding http://qt-project.org/doc/qt-4.8/qtabletevent.html "QTabletEvent". More... | |
| QEvent::Type | type () const |
| Type of the event (TabletMove, TabletPress, TabletRelease) More... | |
This class describes a (Wacom) tablet event.
Tablet events behave similar to mouse events. They are created when the application has input focus and a stylus is pressed, released or moved on a tablet.
| Radiant::TabletEvent::TabletEvent | ( | QTabletEvent & | event | ) |
Initializes event based on corresponding http://qt-project.org/doc/qt-4.8/qtabletevent.html "QTabletEvent".
| const Nimble::Vector2f& Radiant::TabletEvent::location | ( | ) | const |
Get location of the event.
| void Radiant::TabletEvent::setLocation | ( | Nimble::Vector2f | location | ) |
Sets event's location.
| location | New location to set |
| QEvent::Type Radiant::TabletEvent::type | ( | ) | const |
Type of the event (TabletMove, TabletPress, TabletRelease)