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;
58 virtual void moveTo(
const QPoint& position) = 0;
72 void cursorNameChanged(QString name);
73 void themeNameChanged(QString name);
The QML mouse pointer.
Definition: MirMousePointerInterface.h:29
MirMousePointerInterface(QQuickItem *parent=nullptr)
The constructor.
Definition: MirMousePointerInterface.h:49
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.