Obsolete Members for QQuickTest

I seguenti membri della classe ` QQuickTest ` sono deprecati. Sono forniti per garantire il funzionamento del codice sorgente esistente. Si sconsiglia vivamente di utilizzarli nel nuovo codice.

Funzioni

(deprecated in 6.4) bool qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)

Documentazione delle funzioni

[deprecated in 6.4] bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)

Questa funzione è deprecata a partire dalla versione 6.4. Si sconsiglia vivamente di utilizzarla nel codice nuovo.

Utilizzare invece ` qWaitForPolish()`.

Attende per timeout millisecondi o fino a quando non viene chiamata la funzione updatePolish() su item.

Restituisce true se updatePolish() è stato chiamato su item entro timeout millisecondi, altrimenti restituisce false.

L'equivalente QML di questa funzione è ` waitForItemPolished()`.

Vedi anche QQuickItem::polish(), QQuickItem::updatePolish() e QQuickTest::qIsPolishScheduled().

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