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)¶ - Parameters
other –
QWebEngineHistoryItem
-
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
© 2018 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.