Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

Qt 3 Support Members for QBitmap

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.

Public Functions

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 )

Member Function Documentation

QBitmap::QBitmap ( int width, int height, bool clear )

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.

QBitmap::QBitmap ( const QSize & size, bool clear )

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.

QBitmap::QBitmap ( int width, int height, const uchar * bits, bool isXbitmap = false )

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.

QBitmap::QBitmap ( const QImage & image )

Constructs a bitmap that is a copy of the given image.

Use the static fromImage() function instead.

QBitmap::QBitmap ( const QSize & size, const uchar * bits, bool isXbitmap = false )

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.

QBitmap QBitmap::xForm ( const QMatrix & matrix ) const

Returns a copy of this bitmap, transformed according to the given matrix.

Use transformed() instead.

QBitmap & QBitmap::operator= ( const QImage & image )

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.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.8
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web