8#include <QtCore/qdebug.h>
9#include <QtGui/qwindow.h>
11#include <emscripten/emscripten.h>
12#include <emscripten/bind.h>
69 "New cursor type added, handle it");
70 qWarning() <<
"QWasmCursor: " << shape <<
" unsupported";
81 wasmWindow->setWindowCursor(windowCursor ? cursorShapeToCss(windowCursor->
shape()) :
"default");
The QCursor class provides a mouse cursor with an arbitrary shape.
Qt::CursorShape shape() const
Returns the cursor shape identifier.
void changeCursor(QCursor *windowCursor, QWindow *window) override
This method is called by Qt whenever the cursor graphic should be changed.
Combined button and popup list for selecting options.