以下成员源于类 QQuickTest 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated (6.4))
bool
|
qWaitForItemPolished (const QQuickItem * item , int timeout = defaultTimeout) |
This function is deprecated since 6.4. We strongly advise against using it in new code.
使用 qWaitForPolish () 代替。
等待 timeout milliseconds or until updatePolish () has been called on item .
返回
true
if
updatePolish()
was called on
item
在
timeout
milliseconds, otherwise returns
false
.
The QML equivalent of this function is waitForItemPolished ().
另请参阅 QQuickItem::polish (), QQuickItem::updatePolish (),和 QQuickTest::qIsPolishScheduled ().