QWebEngineHistoryItem露

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

Inheritance diagram of PySide2.QtWebEngineWidgets.QWebEngineHistoryItem

Synopsis露

Functions露

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.

class PySide2.QtWebEngineWidgets.QWebEngineHistoryItem(other)露
Parameters:

other 鈥� PySide2.QtWebEngineWidgets.QWebEngineHistoryItem

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.iconUrl()露
Return type:

PySide2.QtCore.QUrl

Returns the URL of the icon associated with the history item.

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.isValid()露
Return type:

bool

Returns whether this is a valid history item.

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.lastVisited()露
Return type:

PySide2.QtCore.QDateTime

Returns the date and time when the page associated with the item was last visited.

See also

title() url()

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.originalUrl()露
Return type:

PySide2.QtCore.QUrl

Returns the original URL associated with the history item.

See also

url()

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.swap(other)露
Parameters:

other 鈥� PySide2.QtWebEngineWidgets.QWebEngineHistoryItem

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

url() lastVisited()

PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.url()露
Return type:

PySide2.QtCore.QUrl

Returns the URL associated with the history item.