Obsolete Members for QQuickTest
Die folgenden Mitglieder der Klasse QQuickTest sind veraltet. Sie werden bereitgestellt, um alten Quellcode funktionsfähig zu halten. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Funktionen
(deprecated in 6.4) bool | qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout) |
Dokumentation der Funktionen
[deprecated in 6.4]
bool QQuickTest::qWaitForItemPolished(const QQuickItem *item, int timeout = defaultTimeout)
Diese Funktion ist seit 6.4 veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Verwenden Sie stattdessen qWaitForPolish().
Wartet auf timeout Millisekunden oder bis updatePolish() auf item aufgerufen wurde.
Gibt true
zurück, wenn updatePolish()
innerhalb von timeout Millisekunden auf item aufgerufen wurde, andernfalls gibt sie false
zurück.
Das QML-Äquivalent zu dieser Funktion ist waitForItemPolished().
Siehe auch QQuickItem::polish(), QQuickItem::updatePolish(), und 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.