QWebEngineHistoryItemclass represents one item in the history of a web engine page. 更多 …
def
iconUrl
()
def
isValid
()
def
lastVisited
()
def
originalUrl
()
def
swap
(other)
def
title
()
def
url
()
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.
另请参阅
QWebEngineHistoryhistory()
QWebEngineHistoryItem
(
other
)
¶
other
–
QWebEngineHistoryItem
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
iconUrl
(
)
¶
QUrl
Returns the URL of the icon associated with the history item.
另请参阅
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
isValid
(
)
¶
bool
Returns whether this is a valid history item.
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
lastVisited
(
)
¶
QDateTime
Returns the date and time when the page associated with the item was last visited.
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
originalUrl
(
)
¶
QUrl
Returns the original URL associated with the history item.
另请参阅
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
swap
(
other
)
¶
other
–
QWebEngineHistoryItem
Swaps the history item with the
other
项。
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
title
(
)
¶
unicode
Returns the title of the page associated with the history item.
另请参阅
PySide2.QtWebEngineWidgets.QWebEngineHistoryItem.
url
(
)
¶
QUrl
Returns the URL associated with the history item.