Obsolete Members for QQuickTest
QQuickTest 클래스의 다음 멤버는 더 이상 사용되지 않습니다. 이들은 이전 소스 코드의 작동을 유지하기 위해 제공됩니다. 새 코드에서는 사용하지 않는 것이 좋습니다.
함수
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
함수 문서
[deprecated in 6.4]
bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
이 함수는 6.4부터 더 이상 사용되지 않습니다. 새 코드에서 이 함수를 사용하지 않는 것이 좋습니다.
대신 qWaitForPolish()를 사용하세요.
timeout 밀리초 동안 또는 updatePolish()가 item 에서 호출될 때까지 기다립니다.
updatePolish()
이 item 에서 timeout 밀리초 이내에 호출된 경우 true
을 반환하고, 그렇지 않으면 false
을 반환합니다.
이 함수에 해당하는 QML 함수는 waitForItemPolished()입니다.
QQuickItem::polish(), QQuickItem::updatePolish() 및 QQuickTest::qIsPolishScheduled()도 참조하세요 .
© 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.