Obsolete Members for QQuickPaintedItem
QQuickPaintedItem 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
속성
(deprecated)
contentsScale : qreal(deprecated)
contentsSize : QSize
공공 기능
(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
이 속성은 더 이상 사용되지 않습니다. 새 코드에서 사용하지 않는 것이 좋습니다.
콘텐츠 크기를 설정하는 더 이상 사용되지 않는 메서드입니다.
이 함수는 호환성을 위해 제공되며, textureSize 와 함께 크기를 사용하여 그리려는 콘텐츠의 크기를 결정하세요.
액세스 기능:
QSize | contentsSize() const |
void | setContentsSize(const QSize &) |
알림 신호:
void | contentsSizeChanged() |
width(), height(), textureSize()도 참조하세요 .
멤버 함수 문서
[deprecated]
QRectF QQuickPaintedItem::contentsBoundingRect() const
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
이 함수는 호환성을 위해 제공되며, textureSize 와 함께 크기를 사용하여 그리려는 그림의 크기를 결정하세요.
width(), height() 및 textureSize()도 참조하세요 .
[deprecated]
void QQuickPaintedItem::resetContentsSize()
이 함수는 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
이 편의 함수는 setContentsSize(QSize())를 호출하는 것과 동일합니다.
© 2025 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.