![]() |
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции | ![]() |
Описанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде.
This 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::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.
Constructs a pixmap from the QImage image.
Use the static fromImage() function instead.
Use the static fromImage() function instead.
Это перегруженная функция, предоставленная для удобства.
Use the static fromImage() function instead.
Use the toImage() function instead.
Это перегруженная функция, предоставленная для удобства.
Use the load() function that takes a Qt::ImageConversionFlag instead.
Это перегруженная функция, предоставленная для удобства.
Use the loadFromData() function that takes a Qt::ImageConversionFlag instead.
Use the QPixmap constructor that takes two ints (width and height) instead.
Например, если у вас есть код
pixmap.resize(10, 20);
вы можете записать его в виде
pixmap = QPixmap(10, 20);
Это перегруженная функция, предоставленная для удобства.
Use the QPixmap constructor that takes a QSize (size) instead.
Например, если у вас есть код
pixmap.resize(size);
вы можете записать его в виде
pixmap = QPixmap(size);
Returns 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.
Use transformed() instead.
Returns the pixmap as a QImage.
Use the toImage() function instead.
Это перегруженная функция, предоставленная для удобства.
Converts the given image to a pixmap that is assigned to this pixmap.
Use the static fromImage() function instead.
Copyright © 2008 Trolltech | Торговые марки | Qt 4.3.5 |