Skip to content

WebEngineHistoryItem

Base classes

Name Children Inherits
QWebEngineHistoryItem
PySide6.QtWebEngineCore
QWebEngineHistoryItem(self, other: PySide6.QtWebEngineCore.QWebEngineHistoryItem, /) -> None

⋔ Inheritance diagram

graph TD
  418080721["webenginecore.WebEngineHistoryItem"]
  3937749206["QtWebEngineCore.QWebEngineHistoryItem"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  3937749206 --> 418080721
  37984305 --> 3937749206
  2751680898 --> 37984305

🛈 DocStrings

Bases: QWebEngineHistoryItem

Source code in prettyqt/webenginecore/webenginehistoryitem.py
class WebEngineHistoryItem(QtWebEngineCore.QWebEngineHistoryItem):
    def get_url(self) -> core.Url:
        return core.Url(self.url())

    def get_icon_url(self) -> core.Url:
        return core.Url(self.iconUrl())

    def get_last_visited(self) -> core.DateTime:
        return core.DateTime(self.lastVisited())

:fa-brands-github: Show source on GitHub