WebEngineHistoryListModel QML Type | Qt WebEngine 5.10

Qt 5.10 | Qt WebEngine | QML Types | WebEngineHistoryListModel QML Type

Qt 5.10.1 Reference Documentation

# WebEngineHistoryListModel QML Type

A data model that represents the history of a web engine page. More...

Import Statement: | import QtWebEngine 1.5
Since: | QtWebEngine 1.1

- List of all members, including inherited members

## Detailed Description

The WebEngineHistoryListModel type exposes the title, url, icon, and offset roles. The title, url and icon specify the title, URL, and favicon of the visited page. The offset specifies the position of the page in respect to the current page (0). A positive number indicates that the page was visited after the current page, whereas a negative number indicates that the page was visited before the current page.

This type is uncreatable, but it can be accessed by using the WebEngineView.navigationHistory property.

See also WebEngineHistory.