Obsolete Members for QQuickTest
Los siguientes miembros de la clase QQuickTest son obsoletos. Se proporcionan para que el código fuente antiguo siga funcionando. Desaconsejamos su uso 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. Desaconsejamos su uso en código nuevo.
Utilice qWaitForPolish() en su lugar.
Espera timeout milisegundos o hasta que updatePolish() haya sido llamado en item.
Devuelve true si se ha llamado a updatePolish() en item en timeout milisegundos, en caso contrario devuelve false.
El equivalente 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.