Document Qt::NoFormatConversion

The Qt::ImageConversionFlag Qt::NoFormatConversion is necessary to
generate QPixmaps not in ARGB32PM which can be useful when not used
as a paint device.

Task-number: QTBUG-36031
Change-Id: Ic2d3ccd59285dd18890f07f3205a2a219ce3aa40
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
This commit is contained in:
Allan Sandfeld Jensen 2014-01-22 12:53:12 +01:00 committed by The Qt Project
parent fc24452fbf
commit 85fa39cf79

View File

@ -699,9 +699,10 @@
retain an alpha channel for some other reason. If the image has no
alpha channel this flag has no effect.
\omitvalue NoFormatConversion Don't do any format conversions on the image.
\value NoFormatConversion Don't do any format conversions on the image.
Can be useful when converting a QImage to a QPixmap for a one-time
rendering operation for example.
rendering operation for example. Note that a QPixmap not in the
preferred format will be much slower as a paint device.
*/
/*!