My Project
|
The QML mouse pointer. More...
#include <unity/shell/application/MirMousePointerInterface.h>
Public Member Functions | |
MirMousePointerInterface (QQuickItem *parent=nullptr) | |
The constructor. | |
virtual void | setCustomCursor (const QCursor &)=0 |
Sets the custom cursor. More... | |
Properties | |
QString | cursorName |
Name of the cursor Defines the look of the mouse pointer along with themeName. | |
QString | themeName |
Name of the cursor theme Defines the look of the mouse pointer along with cursorName Its default value is "default". | |
The QML mouse pointer.
FIXME: Get this out of unity-api
This QML item drives the position of the Mir mouse pointer on the scene
|
pure virtual |
Sets the custom cursor.
If it's not a pixmap cursor it will be ignored.
To use it, cursorName must be set to "custom". themeName is ignored in this case.