Obsolete Members for QQuickTest
Los siguientes miembros de la clase ` QQuickTest ` están obsoletos. Se incluyen para garantizar que el código fuente antiguo siga funcionando. Recomendamos encarecidamente no utilizarlos en código nuevo.
Funciones
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
Documentación de funciones
[deprecated in 6.4] bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
Esta función está obsoleta desde la versión 6.4. Recomendamos encarecidamente no utilizarla en código nuevo.
Utiliza en su lugar ` qWaitForPolish()`.
Espera timeout milisegundos o hasta que se haya llamado a updatePolish() sobre item.
Devuelve true si se ha llamado a updatePolish() en item en un plazo de timeout milisegundos; en caso contrario, devuelve false.
El equivalente en QML de esta función es ` waitForItemPolished()`.
Véase también QQuickItem::polish(), QQuickItem::updatePolish() y 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.