Skip to content

WebEngineHistoryItem

Qt Base Class: QWebEngineHistoryItem

Signature: QWebEngineHistoryItem(self, other: PySide6.QtWebEngineCore.QWebEngineHistoryItem) -> None

Base classes

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

⋔ Inheritance diagram

graph TD
  1473574737616["webenginecore.WebEngineHistoryItem"]
  1473574660512["QtWebEngineCore.QWebEngineHistoryItem"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473574660512 --> 1473574737616
  1473291690208 --> 1473574660512
  140713234304496 --> 1473291690208

🛈 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())