#include <mythgesture.h>
Definition at line 39 of file mythgesture.h.
Public Types | |
| enum | Gesture { Up, Down, Left, Right, UpLeft, UpRight, DownLeft, DownRight, UpThenLeft, UpThenRight, DownThenLeft, DownThenRight, LeftThenUp, LeftThenDown, RightThenUp, RightThenDown, Click, MaxGesture } |
| The types of gestures supported by myth. More... | |
Public Member Functions | |
| MythGestureEvent (size_t gesture) | |
| Create a myth gesture. | |
| int | gesture (void) const |
| Get the gesture type. | |
| operator QString () const | |
| Get the symbolic name of the gesture. | |
Private Attributes | |
| size_t | _gesture |
The types of gestures supported by myth.
| Up | |
| Down | |
| Left | |
| Right | |
| UpLeft | |
| UpRight | |
| DownLeft | |
| DownRight | |
| UpThenLeft | |
| UpThenRight | |
| DownThenLeft | |
| DownThenRight | |
| LeftThenUp | |
| LeftThenDown | |
| RightThenUp | |
| RightThenDown | |
| Click | |
| MaxGesture |
Definition at line 45 of file mythgesture.h.
| MythGestureEvent::MythGestureEvent | ( | size_t | gesture | ) | [inline] |
Create a myth gesture.
| type | The gesture type, as per the Type enumeration. |
Definition at line 81 of file mythgesture.h.
| int MythGestureEvent::gesture | ( | void | ) | const [inline] |
Get the gesture type.
Definition at line 91 of file mythgesture.h.
Referenced by MythMainWindow::eventFilter(), MythThemedMenuPrivate::gestureEvent(), MythListButton::gestureEvent(), and MythMainWindow::mouseTimeout().
| MythGestureEvent::operator QString | ( | ) | const |
Get the symbolic name of the gesture.
Definition at line 357 of file mythgesture.cpp.
size_t MythGestureEvent::_gesture [private] |
Definition at line 101 of file mythgesture.h.
Referenced by gesture(), MythGestureEvent(), and operator QString().
1.5.5