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 ().