Type Conversions

Many of Qt's basic data types, such as QString, QPoint, or QImage, provide conversions to and from the native equivalent types.

The following list enumerates all of the available type conversions:

QByteArray::fromEcmaUint8Array()

QImage::fromHBITMAP()

Returns a QImage that is equivalent to the given hbitmap

QImage::fromHICON()

Returns a QImage that is equivalent to the given icon

QRectF::fromDOMRect()

QByteArray::toEcmaUint8Array()

QImage::toCGImage()

Creates a CGImage equivalent to this QImage

QImage::toHBITMAP()

Creates a HBITMAP equivalent of the QImage

QImage::toHICON()

Creates a HICON equivalent of the QPixmap, applying the mask mask

QRectF::toDOMRect()