Qt 3 Support Members for QPixmapОписанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде. Открытые типы
Открытые функции
Описание типов-членовenum QPixmap::ColorModeThis enum type defines the color modes that exist for converting QImage objects to QPixmap. It is provided here for compatibility with earlier versions of Qt. Use Qt::ImageConversionFlags instead.
Описание функций-членовQPixmap::QPixmap ( const QString & fileName, const char * format, ColorMode mode )Use the constructor that takes a Qt::ImageConversionFlag instead. QPixmap::QPixmap ( const QImage & image )Constructs a pixmap from the QImage image. Use the static fromImage() function instead. bool QPixmap::convertFromImage ( const QImage & image, ColorMode mode )Use the static fromImage() function instead. bool QPixmap::convertFromImage ( const QImage & image, Qt::ImageConversionFlags flags = Qt::AutoColor )Use the static fromImage() function instead. QImage QPixmap::convertToImage () constUse the toImage() function instead. bool QPixmap::load ( const QString & fileName, const char * format, ColorMode mode )Use the load() function that takes a Qt::ImageConversionFlag instead. bool QPixmap::loadFromData ( const uchar * buf, uint len, const char * format, ColorMode mode )Use the loadFromData() function that takes a Qt::ImageConversionFlag instead. void QPixmap::resize ( int width, int height )Use QPixmap::copy() instead to get the pixmap with the new size. Например, если у вас есть код pixmap.resize(10, 20); вы можете записать его в виде pixmap = pixmap.copy(0, 0, 10, 20); void QPixmap::resize ( const QSize & size )Это перегруженная функция. Use QPixmap::copy() instead to get the pixmap with the new size. Например, если у вас есть код pixmap.resize(size); вы можете записать его в виде pixmap = pixmap.copy(QRect(QPoint(0, 0), size)); bool QPixmap::selfMask () constReturns whether the pixmap is its own mask or not. This function is no longer relevant since the concept of self masking doesn't exists anymore. QPixmap QPixmap::xForm ( const QMatrix & matrix ) constUse transformed() instead. QPixmap::operator QImage () constReturns the pixmap as a QImage. Use the toImage() function instead. QPixmap & QPixmap::operator= ( const QImage & image )Это перегруженная функция. Converts the given image to a pixmap that is assigned to this pixmap. Use the static fromImage() function instead.
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |