Obsolete Members for QQuickPaintedItem

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

속성

공개 함수

(deprecated) QRectF contentsBoundingRect() const
(deprecated) qreal contentsScale() const
(deprecated) QSize contentsSize() const
(deprecated) void resetContentsSize()
(deprecated) void setContentsScale(qreal)
(deprecated) void setContentsSize(const QSize &)

신호

(deprecated) void contentsScaleChanged()
(deprecated) void contentsSizeChanged()

속성 설명서

[deprecated] contentsScale : qreal

이 열거형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이를 사용하지 않는 것이 좋습니다.

콘텐츠 크기를 조정하는 구식 메서드입니다.

이 함수는 호환성을 위해 제공되는 것이므로, 그리려는 대상의 크기를 결정할 때는 ` size()`를 ` textureSize()`와 함께 사용하십시오.

액세스 함수:

qreal contentsScale() const
void setContentsScale(qreal)

알림 신호:

void contentsScaleChanged()

width(), height(), textureSize()도 참조하십시오 .

[deprecated] contentsSize : QSize

이 열거형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이를 사용하지 말 것을 강력히 권장합니다.

콘텐츠 크기를 설정하는 구식 메서드입니다.

이 함수는 호환성을 위해 제공되는 것이므로, 그리려는 객체의 크기를 결정할 때는 size를 textureSize 와 함께 사용하십시오.

액세스 함수:

QSize contentsSize() const
void setContentsSize(const QSize &)

알림 신호:

void contentsSizeChanged()

width(), height(), textureSize()도 참조하십시오 .

멤버 함수 설명서

[deprecated] QRectF QQuickPaintedItem::contentsBoundingRect() const

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

이 함수는 호환성을 위해 제공되는 것이므로, 그리는 대상의 크기를 결정할 때는 size 함수와 textureSize 함수를 함께 사용하십시오.

width(), height(), textureSize()도 참조하십시오 .

[deprecated] void QQuickPaintedItem::resetContentsSize()

이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것이 좋습니다.

이 편의 함수는 ` setContentsSize`(`QSize()`)를 호출하는 것과 동일합니다.

© 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.