Obsolete Members for QQuickTest
クラスQQuickTest の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。
関数
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
関数のドキュメント
[deprecated in 6.4]
bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
この関数は6.4から非推奨となった。新しいコードでは使用しないことを強く推奨する。
代わりにqWaitForPolish() を使用すること。
timeout ミリ秒、またはupdatePolish() がitem で呼び出されるまで待つ。
updatePolish()
がitem でtimeout ミリ秒以内に呼び出された場合はtrue
を返し、そうでない場合はfalse
を返す。
この関数に相当するQMLはwaitForItemPolished()です。
QQuickItem::polish()、QQuickItem::updatePolish()、QQuickTest::qIsPolishScheduled()も参照 。
© 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.