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
- class PySide2.QtWebEngineWidgets.QWebEngineHistoryItem(other)¶
- Parameters:
- PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.iconUrl()¶
- Return type:
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:
Returns the date and time when the page associated with the item was last visited.
- PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.originalUrl()¶
- Return type:
Returns the original URL associated with the history item.
See also
- PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.swap(other)¶
- Parameters:
Swaps the history item with the
other
item.
- PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.title()¶
- Return type:
str
Returns the title of the page associated with the history item.
See also
- PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.url()¶
- Return type:
Returns the URL associated with the history item.
See also
© 2022 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.