7#include <QtCore/qtconfigmacros.h>
8#include <QtCore/QPointF>
9#include <private/qstdweb_p.h>
10#include <QtCore/qnamespace.h>
12#include <emscripten/val.h>
51 return emscripten::val::global(
"document");
59 const QRect &sourceRect);
\inmodule QtCore\reentrant
emscripten::val getUpdatedWebImage(QWasmWindow *window)
void beginPaint(const QRegion &) override
This function is called before painting onto the surface begins, with the region in which the paintin...
void resize(const QSize &size, const QRegion &staticContents) override
void updateTexture(QWasmWindow *window)
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
const QImage & getImageRef() const
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
static QWasmIntegration * get()
friend class QWasmCompositor
void setBackingStore(QWasmBackingStore *store)
Combined button and popup list for selecting options.
void drawImageToWebImageDataArray(const QImage &source, emscripten::val destinationImageData, const QRect &sourceRect)
void syncCSSClassWith(emscripten::val element, std::string cssClassName, bool flag)
QPointF mapPoint(emscripten::val source, emscripten::val target, const QPointF &point)
emscripten::val document()
DataTransfer(emscripten::val webDataTransfer)
DataTransfer(DataTransfer &&other)
void toMimeDataWithFile(std::function< void(QMimeData *)> callback)
void setDragImage(emscripten::val element, const QPoint &hotspot)
DataTransfer(const DataTransfer &other)
void setDataFromMimeData(const QMimeData &mimeData)
QMimeData * toMimeDataPreview()
DataTransfer & operator=(const DataTransfer &other)
emscripten::val webDataTransfer
DataTransfer & operator=(DataTransfer &&other)
void setData(std::string format, std::string data)
void setDropAction(Qt::DropAction dropAction)