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.
QBitmap ( int width, int height, bool clear ) | |
QBitmap ( const QSize & size, bool clear ) | |
QBitmap ( int width, int height, const uchar * bits, bool isXbitmap = false ) | |
QBitmap ( const QImage & image ) | |
QBitmap ( const QSize & size, const uchar * bits, bool isXbitmap = false ) | |
QBitmap | xForm ( const QMatrix & matrix ) const |
QBitmap & | operator= ( const QImage & image ) |
Constructs a bitmap with the given width and height. If clear is true, the bits are initialized to Qt::color0.
Use the corresponding QBitmap() constructor instead, and then call the clear() function if the clear parameter is true.
Constructs a bitmap with the given size. If clear is true, the bits are initialized to Qt::color0.
Use the corresponding QBitmap() constructor instead, and then call the clear() function if the clear parameter is true.
Constructs a bitmap with the given width and height, and sets the contents to the bits supplied. The isXbitmap flag should be true if bits was generated by the X11 bitmap program.
Use the static fromData() function instead. If isXbitmap is true, use the default bit order(QImage_FormatMonoLSB) otherwise use QImage::Format_Mono.
Constructs a bitmap that is a copy of the given image.
Use the static fromImage() function instead.
This is an overloaded function.
Constructs a bitmap with the given size, and sets the contents to the bits supplied. The isXbitmap flag should be true if bits was generated by the X11 bitmap program.
Use the static fromData() function instead. If isXbitmap is true, use the default bit order(QImage_FormatMonoLSB) otherwise use QImage::Format_Mono.
Returns a copy of this bitmap, transformed according to the given matrix.
Use transformed() instead.
This is an overloaded function.
Converts the given image to a bitmap, and assigns the result to this bitmap. Returns a reference to the bitmap.
Use the static fromImage() function instead.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.