17#ifndef MIR_MOUSE_POINTER_INTERFACE_H
18#define MIR_MOUSE_POINTER_INTERFACE_H
52 virtual void setCursorName(
const QString &
cursorName) = 0;
55 virtual void setThemeName(
const QString &
themeName) = 0;
70 void cursorNameChanged(QString name);
71 void themeNameChanged(QString name);
87 virtual void handleMouseEvent(ulong timestamp, QPointF movement, Qt::MouseButtons buttons,
88 Qt::KeyboardModifiers modifiers) = 0;
94 virtual void handleWheelEvent(ulong timestamp, QPoint angleDelta, Qt::KeyboardModifiers modifiers) = 0;
The QML mouse pointer.
Definition MirMousePointerInterface.h:29
virtual void handleMouseEvent(ulong timestamp, QPointF movement, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)=0
Handler for Mir mouse events The implementation should respond to Mir mouse events by moving itself a...
virtual void handleWheelEvent(ulong timestamp, QPoint angleDelta, Qt::KeyboardModifiers modifiers)=0
Handler for Mir mouse wheel events This is called by Mir's platform cursor.
QString themeName
Name of the cursor theme Defines the look of the mouse pointer along with cursorName Its default valu...
Definition MirMousePointerInterface.h:43
QString cursorName
Name of the cursor Defines the look of the mouse pointer along with themeName.
Definition MirMousePointerInterface.h:36
virtual void setCustomCursor(const QCursor &)=0
Sets the custom cursor.