Sur cette page

WebEngineHistoryModel QML Type

Modèle de données représentant l'historique d'une page de moteur web. Plus d'informations...

Import Statement: import QtWebEngine
Since: QtWebEngine 1.1
In C++: QWebEngineHistoryModel

Description détaillée

Le type WebEngineHistoryModel expose les rôles title, url, icon et offset. Le titre, l'url et l'icône spécifient le titre, l'URL et le favicon de la page visitée. Le décalage spécifie la position de la page par rapport à la page actuelle (0). Un nombre positif indique que la page a été visitée après la page actuelle, tandis qu'un nombre négatif indique que la page a été visitée avant la page actuelle.

Ce type n'est pas créable, mais il est possible d'y accéder en utilisant la propriété WebEngineView.history.

Voir aussi WebEngineHistory.

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