Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
dom Namespace Reference

Classes

struct  DataTransfer
 

Functions

void syncCSSClassWith (emscripten::val element, std::string cssClassName, bool flag)
 
QPointF mapPoint (emscripten::val source, emscripten::val target, const QPointF &point)
 
void drawImageToWebImageDataArray (const QImage &sourceImage, emscripten::val destinationImageData, const QRect &sourceRect)
 
emscripten::val document ()
 

Function Documentation

◆ document()

emscripten::val dom::document ( )
inline

Definition at line 49 of file qwasmdom.h.

Referenced by TitleBar::TitleBar().

+ Here is the caller graph for this function:

◆ drawImageToWebImageDataArray()

void dom::drawImageToWebImageDataArray ( const QImage & sourceImage,
emscripten::val destinationImageData,
const QRect & sourceRect )

Definition at line 261 of file qwasmdom.cpp.

References drawImageToWebImageDataArray(), QRect::height(), Q_ASSERT_X, Q_FUNC_INFO, QRect::width(), QRect::x(), and QRect::y().

Referenced by drawImageToWebImageDataArray(), and QWasmBackingStore::updateTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mapPoint()

QPointF dom::mapPoint ( emscripten::val source,
emscripten::val target,
const QPointF & point )

Definition at line 250 of file qwasmdom.cpp.

References mapPoint().

Referenced by mapPoint(), QWasmDrag::onNativeDrop(), and QWasmWindow::onNonClientEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ syncCSSClassWith()

void dom::syncCSSClassWith ( emscripten::val element,
std::string cssClassName,
bool flag )

Definition at line 240 of file qwasmdom.cpp.

References syncCSSClassWith().

Referenced by QWasmWindow::onActivationChanged(), WebImageButton::setCallbacks(), QWasmWindow::setWindowFlags(), and syncCSSClassWith().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: