![]() |
Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions | ![]() |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
This enum type defines the color modes that exist for converting QImage objects to QPixmap.
Constant | Value | Description |
---|---|---|
QPixmap::Auto | 0 | Select Color or Mono on a case-by-case basis. |
QPixmap::Color | 1 | Always create colored pixmaps. |
QPixmap::Mono | 2 | Always create bitmaps. |
Use the constructor that takes a Qt::ImageConversionFlag instead.
See also ColorMode and Qt::ImageConversionFlag.
Use fromImage() instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use fromImage() instead.
Use toImage() instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use the load() function that takes a Qt::ImageConversionFlag instead.
See also ColorMode and Qt::ImageConversionFlag.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use the loadFromData() function that takes a Qt::ImageConversionFlag instead.
See also ColorMode and Qt::ImageConversionFlag.
Use transform() instead.
Returns the pixmap as a QImage.
This automatic conversion is disabled when QT3_SUPPORT is not defined. Use toImage() instead.
Copyright © 2005 Trolltech | Trademarks | Qt 4.0.0-b2 |