WebEngineHistoryModel QML Type

表示网络引擎页面历史的数据模型。更多

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

详细说明

WebEngineHistoryModel 类型公开了titleurliconoffset角色。标题URL图标指定访问页面的标题、URL 和 favicon。偏移量指定页面相对于当前页面(0)的位置。正数表示该页面在当前页面之后被访问,而负数表示该页面在当前页面之前被访问。

该类型不可创建,但可通过WebEngineView.history 属性访问。

另请参阅 WebEngineHistory

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