Obsolete Members for QQuickTest
Die folgenden Mitglieder der Klasse „ QQuickTest “ sind veraltet. Sie werden bereitgestellt, damit alter Quellcode weiterhin funktioniert. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Funktionen
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
Funktionsdokumentation
[deprecated in 6.4] bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
Diese Funktion ist seit Version 6.4 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Verwenden Sie stattdessen ` qWaitForPolish()`.
Wartet timeout Millisekunden oder so lange, bis updatePolish() für item aufgerufen wurde.
Gibt ` true ` zurück, wenn ` updatePolish() ` innerhalb von ` timeout ` Millisekunden auf ` item ` aufgerufen wurde, andernfalls wird ` false` zurückgegeben.
Das QML-Äquivalent dieser Funktion ist ` waitForItemPolished()`.
Siehe auch QQuickItem::polish(), QQuickItem::updatePolish() und 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.