QWebEngineHistoryItem¶
The
QWebEngineHistoryItem
class represents one item in the history of a web engine page. More…

Synopsis¶
Functions¶
def
iconUrl
()def
isValid
()def
lastVisited
()def
originalUrl
()def
swap
(other)def
title
()def
url
()
Detailed Description¶
Each web engine history item represents an entry in the history stack of a web page, containing information about the page, its location, and the time when it was last visited.
See also
QWebEngineHistory
history()
-
class
QWebEngineHistoryItem
(other)¶ - param other
Constructs a history item from
other
. The new item andother
will share their data, and modifying either this item orother
will modify both instances.
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
iconUrl
()¶ - Return type
QUrl
Returns the URL of the icon associated with the history item.
See also
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
isValid
()¶ - Return type
bool
Returns whether this is a valid history item.
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
lastVisited
()¶ - Return type
QDateTime
Returns the date and time when the page associated with the item was last visited.
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
originalUrl
()¶ - Return type
QUrl
Returns the original URL associated with the history item.
See also
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
swap
(other)¶ - Parameters
other –
QWebEngineHistoryItem
Swaps the history item with the
other
item.
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
title
()¶ - Return type
unicode
Returns the title of the page associated with the history item.
See also
-
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
url
()¶ - Return type
QUrl
Returns the URL associated with the history item.
See also