Obsolete Members for QLabel
QLabel 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.
공개 함수
(deprecated) QPicture | picture(Qt::ReturnByValueConstant) const |
(deprecated) QPixmap | pixmap(Qt::ReturnByValueConstant) const |
멤버 함수 설명
[deprecated] QPicture QLabel::picture(Qt::ReturnByValueConstant) const
이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
대신 인수가 없는 오버로드를 사용하십시오.
레이블의 그림을 반환합니다.
이전에는 Qt XML에서 ` picture() `의 한 버전이 포인터 전달 방식으로 그림을 반환했습니다. 해당 버전은 이제 제거되었습니다. 이 오버로드는 포인터 전달 함수와 값 전달 함수를 명시적으로 구분할 수 있게 해주었습니다.
[deprecated] QPixmap QLabel::pixmap(Qt::ReturnByValueConstant) const
이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
대신 인수가 없는 오버로드를 사용하십시오.
라벨의 픽스맵을 반환합니다.
이전에는 Qt XML에서 ` pixmap() `의 한 버전이 포인터 전달 방식으로 픽스맵을 반환했습니다. 해당 버전은 현재 제거되었습니다. 이 오버로드는 포인터 전달 방식 함수와 값 전달 방식 함수를 명시적으로 구분할 수 있게 해 주었습니다.
QPixmap pixmapVal = label->pixmap(Qt::ReturnByValue);setPixmap()도 참조하십시오 .
© 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.