Obsolete Members for TestCase

QML 型TestCaseの以下のメンバは非推奨です。これらは古いソースコードを動作させるために用意されています。新しいコードでは使用しないことを強くお勧めします。

メソッド

メソッド・ドキュメンテーション

[deprecated in 6.5] bool waitForItemPolished(object item, int timeout = 5000)

このメソッドは QtTest 6.5 から非推奨です。新しいコードでは使用しないことを強くお勧めします。

代わりにwaitForPolish() を使用してください。

timeout ミリ秒、またはupdatePolish() がitem で呼び出されるまで待ちます。

updatePolish()itemtimeout ミリ秒以内に呼び出された場合はtrue を返し、そうでない場合はfalse を返す。

isPolishScheduled()、QQuickItem::polish()、およびQQuickItem::updatePolish()も参照


© 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.