以下成員源於類 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 ().