The following members of QML type TestCase 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated in 6.5)
|
This method is deprecated since QtTest 6.5. We strongly advise against using it in new code.
使用 waitForPolish () 代替。
等待 timeout milliseconds or until updatePolish () has been called on item .
返回
true
if
updatePolish()
was called on
item
在
timeout
milliseconds, otherwise returns
false
.
另请参阅 isPolishScheduled (), QQuickItem::polish (),和 QQuickItem::updatePolish ().