Obsolete Members for QBitmap

QBitmap 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 유지하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

공개 함수

(deprecated in 6.0) QBitmap(const QPixmap &pixmap)
(deprecated in 6.0) QBitmap &operator=(const QPixmap &pixmap)

멤버 함수 설명

[explicit, deprecated in 6.0] QBitmap::QBitmap(const QPixmap &pixmap)

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` fromPixmap `를 사용하십시오. 지정된 ` pixmap`의 복사본인 비트맵을 생성합니다.

pixmap의 비트 심도가 1보다 크면, 결과 비트맵은 자동으로 디더링 처리됩니다.

QPixmap::depth(), fromImage() 및 fromData()도 참조하십시오 .

[deprecated in 6.0] QBitmap &QBitmap::operator=(const QPixmap &pixmap)

이 함수는 6.0 버전부터 사용이 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 말 것을 강력히 권장합니다.

대신 ` fromPixmap `를 사용하십시오.

지정된 pixmap 를 이 비트맵에 할당하고 이 비트맵에 대한 참조를 반환합니다.

pixmap의 깊이가 1보다 크면, 결과 비트맵은 자동으로 디더링됩니다.

QPixmap::depth()도 참조하십시오 .

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.